accueil / serveurs / Dev & Code / io.github.TanerTalas/codecraft
io.github.TanerTalas/codecraft
serveur MCP (Model Context Protocol) · codecraft 0.1.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.TanerTalas/codecraft est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.TanerTalas/codecraft » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 9 outils
- check_feasibility≈ 194 tokens
Checks whether a user request can be built with a behavior pack and the @minecraft/server API. If it is blocked, returns why, the evidence behind that rule, and a workable alternative. Call this BEFORE writing any code or JSON: input simulation, file system access and network access do not exist in the Bedrock scripting API, and those are the most commonly hallucinated APIs.
Paramètres, retour & exemple (1)
Paramètresrequest· string · requis
The user request in their own words. Any language is accepted.
Exemple d'appel{"name": "check_feasibility", "arguments": {"request": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_schema≈ 358 tokens
Summarises the schema of a Bedrock document type: required fields, valid format_version values, and the name, type and description of every field on that node. It does not return the raw schema — that is far too large. When a node has many fields the summary narrows and says what was shortened in the truncated field; use path to descend into a child node for full detail. Call this before writing a file to learn which fields are required and what format_version must be.
Paramètres, retour & exemple (3)
Paramètrespath· string · optionnel
Path to descend into the schema, separated by "/". For example "minecraft:entity" or "minecraft:entity/components/minecraft:health". Omit it to get the root summary. An unresolvable path returns an error that lists the valid fields on that node.type· string · requis
Document type, e.g. "behavior/blocks", "behavior/entities", "behavior/spawn_rules". The full list is in the get_version_info output.version· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "get_schema", "arguments": {"type": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - get_version_info≈ 203 tokens
Returns which version number belongs where for this game version: min_engine_version (a three-part array), @minecraft/server module versions, the valid format_version values for every document type, and the list of recognised document types. format_version is an axis of its own and is unrelated to the game version. Call this before writing any behavior pack file.
Paramètres, retour & exemple (1)
Paramètresversion· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "get_version_info", "arguments": {"version": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - lookup_id≈ 259 tokens
Tells you whether a minecraft: identifier actually exists in this version and what kind it is (block, item, entity, biome, effect, enchantment, feature, dimension, camera preset, particle, potion). For a block it also returns the valid block states and the values they accept. An identifier without a namespace is treated as minecraft:. Verify every identifier here before writing it — an identifier that does not exist fails silently in the game.
Paramètres, retour & exemple (2)
Paramètresid· string · requis
Identifier, e.g. "minecraft:blaze" or just "blaze" without the namespace.version· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "lookup_id", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - review_pack≈ 340 tokens
Validates every file of a behavior or resource pack in one call: it applies the right validator to each file (JSON schema, script compilation, command syntax) and then runs the checks a schema structurally cannot do — identifier consistency, filename rules, manifest module type, texture keys, component names, Molang queries and loot/trade table paths. This is the LAST step before handing a pack to the user, and it is both faster and broader than validating each file separately.
Paramètres, retour & exemple (2)
Paramètresfiles· array · requis
The files in the pack. Include the manifest — several checks depend on it.version· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "review_pack", "arguments": {"files": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - validate_command≈ 264 tokens
Validates a single Bedrock command line against the official command index: does the command exist, does the argument count match, are the selectors and block states valid. When no overload matches it returns the valid usages, and it tells you whether the command requires cheats. Run every command through this before giving it to the user. `execute ... run <command>` chains are resolved: the command after run is validated too, including nested execute.
Paramètres, retour & exemple (2)
Paramètresline· string · requis
A single command line, e.g. "/give @p diamond 1". The leading / is optional.version· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "validate_command", "arguments": {"line": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - validate_json≈ 304 tokens
Validates a behavior or resource pack JSON file against the official schema and returns the JSON pointer, the violated rule and a readable message for every error. Unexpected property names and the valid enum values are included in the message. Run every JSON file you produce through this before handing it to the user.
Paramètres, retour & exemple (3)
Paramètrestype· string · requis
Document type. A canonical name ("behavior/blocks/blocks"), a short form ("behavior/blocks") or a file path ("BP/blocks/ruby.json") are all accepted. The list of recognised types is in the get_version_info output.content· string · requis
The complete file content as text. Parse errors are reported too.version· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "validate_json", "arguments": {"type": "texte", "content": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - validate_python≈ 308 tokens
Validates a Python automation script that runs OUTSIDE the game, on three axes: Python syntax (using the real interpreter), Minecraft commands embedded in the script (against the official command index), and the shape of the /connect WebSocket message envelope. For behavior pack scripts use validate_script instead — Python does not run inside a pack. The embedded command check is the most valuable one: a command written from memory can look syntactically fine and still do nothing in the game. Only strings starting with / are treated as commands. If syntax could not be checked, syntaxChecked is false in the result; ok:true alone does not mean the syntax is valid.
Paramètres, retour & exemple (2)
Paramètrescode· string · requis
The complete Python script content.version· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "validate_python", "arguments": {"code": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - validate_script≈ 322 tokens
Compiles a behavior pack script with the real TypeScript compiler against the actual @minecraft/server type definitions for that version. Returns diagnostics with line, column, TS error code and message, and reports which module versions it compiled against. Catch non-existent APIs and calls removed in later versions here — Bedrock scripting APIs written from memory are the most common source of output that fails silently.
Paramètres, retour & exemple (3)
Paramètrescode· string · requis
The complete script content. JavaScript or TypeScript.channel· string · optionnel · stable | beta
Module channel. Defaults to stable. If beta is requested but a module has no beta release it falls back to stable — the modules field in the result says which version each module was compiled against.version· string · optionnel
Game version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.
Exemple d'appel{"name": "validate_script", "arguments": {"code": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».