Godot MCP について
Godot 4 のシーン、ノード、スクリプトを編集し、エディターまたはヘッドレスモードでゲームをリアルタイムに実行、テスト、デバッグ
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
mcp.json · 共通設定
起動コマンド
npx -y @shin2344234/godot-mcp設定が必要な環境変数
GODOT_PROJECT_PATHFolder of the Godot project (the one containing project.godot). Defaults to the folder the client starts the server in, so set it whenever that is not your project (e.g. in desktop apps).GODOT_PATHFull path of the Godot 4.x executable (GODOT_BIN is accepted too). If unset, the server looks for godot, godot4 or Godot_v4* on PATH. On Windows use the main Godot exe, not the _console.exe launcher.GODOT_MCP_MODEHow tools are exposed: 'full' lists every enabled operation as its own tool (best for clients with tool search); 'compact' lists only core tools plus router tools that reach the rest.GODOT_MCP_TOOLSETSComma-separated tool groups to enable, or 'all' (default). Groups: core, files, scene, node, script, run, editor, signal, resource, visual, anim, world, audio, project, import, export, code, docs, game, debug, test. 'core' is always on.GODOT_MCP_READ_ONLYSet to true to hide every tool that changes something (inspection only).GODOT_MCP_ALLOW_EVALSet to true to let godot_game_eval run GDScript inside the running game. Off by default: evaluated code can do anything the game can (files, OS calls).GODOT_MCP_CONFIRM'elicit' asks the user (through the client's elicitation dialog, when supported) before irreversible operations; 'never' skips asking, for unattended runs where nobody can answer.GODOT_MCP_LOG_LEVELVerbosity of the server's stderr log (use 'debug' when filing a bug report).GODOT_MCP_HEADLESS_TIMEOUT_MSAdvanced: timeout for one headless Godot invocation, in milliseconds.GODOT_MCP_BRIDGE_TIMEOUT_MSAdvanced: timeout for one request to the live editor bridge, in milliseconds.GODOT_MCP_LSP_PORTAdvanced: port of the Godot editor's GDScript language server on 127.0.0.1. Defaults to the port the editor plugin reports, else 6005.GODOT_MCP_LSP_TIMEOUT_MSAdvanced: timeout for one GDScript language server request, in milliseconds.GODOT_MCP_LSP_IDLE_MSAdvanced: stop the private headless language server after this many milliseconds without code tool calls.GODOT_MCP_CACHE_DIRAdvanced: folder for the server's cache (the Godot class docs index). Defaults to the per-user cache folder of the OS.ローカルサーバーにはマシン上の実行環境(Node.js 18 以上など)が必要です。設定ファイルの場所はクライアントごとに異なります。
ツール
91掲載時のツール一覧 · 2 週間前に更新
このツールにパラメーターはありません。
詳細
メンテナーはまだ詳細を追加していません。リポジトリの README をご覧ください。
コメント
Markdown 対応
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。