Godot MCP
Godot MCP
あなたのAIアシスタントにGodotエディタへの完全なアクセスを提供します。
Claude、Cursor、またはMCP互換のAIを使えば、ゲームをより速く開発できます。コピー&ペーストも、コンテキストの切り替えも不要です。AIはシーン、スクリプト、ノード、プロジェクト設定を直接読み取り、書き込み、操作します。
Godot 4.x · 42ツール · インタラクティブなプロジェクトビジュアライザー · MITライセンス
クイックスタート
0. Node.jsをインストール(初回セットアップ)
nodejs.org からインストーラーをダウンロードして実行します(LTS版)。標準のインストーラーなので、ターミナルは不要です。
1. Godotプラグインをインストール
Godotエディタ内で、上部のAssetLibタブをクリック → "mcp" を検索 → "Godot AI Assistant tools MCP" を見つけて → インストール。
次に Project → Project Settings → Plugins に移動し、Godot MCP プラグインを有効にします。
2. AIクライアントにサーバー設定を追加
Claude Desktop — Settings → Developer → Edit Config → 設定ファイルを開いて貼り付けます:
Mac / Linux:
{
"mcpServers": {
"godot": {
"command": "npx",
"args": ["-y", "godot-mcp-server"]
}
}
}Windows:
{
"mcpServers": {
"godot": {
"command": "cmd",
"args": ["/c", "npx", "-y", "godot-mcp-server"]
}
}
}Cursor — Settings → MCP → Add Server:
Mac / Linux:
{
"mcpServers": {
"godot": {
"command": "npx",
"args": ["-y", "godot-mcp-server"]
}
}
}Windows:
{
"mcpServers": {
"godot": {
"command": "cmd",
"args": ["/c", "npx", "-y", "godot-mcp-server"]
}
}
}Claude Code — ターミナルで実行:
claude mcp add godot -- npx -y godot-mcp-serverMCP互換の任意のクライアント(Cline、Windsurfなど)で動作します。
3. AIクライアントを再起動
Claude Desktop / Cursor / お使いのクライアントを閉じて再度開き、新しい設定を読み込ませます。
4. Godotプロジェクトを再起動
GodotエディタでRestart Projectをクリックします。右上隅を確認してください — MCP Connectedが緑色で表示されるはずです。準備完了です。
Related MCP server: Godot MCP
できること
6つのカテゴリにわたる42ツール
カテゴリ | ツール | 例 |
ファイル操作 | 4 | ディレクトリの閲覧、ファイルの読み取り、プロジェクトの検索、スクリプトの作成 |
シーン操作 | 11 | シーンの作成、ノードの追加・削除・移動、プロパティの設定、スクリプトのアタッチ、コリジョンシェイプとテクスチャの割り当て |
スクリプト操作 | 6 | コード編集の適用、構文の検証、参照を更新したファイルの名前変更・移動 |
プロジェクトツール | 14 | シーンの実行・停止、ClassDBのクエリ、Output + Debuggerからのエラー読み取り、プロジェクト設定、入力マップ、コリジョンレイヤー、シーンツリーダンプ、ファイルシステムの再スキャン |
アセット生成 | 1 | SVGから2Dスプライトを生成 |
ビジュアライゼーション | 6 | ブラウザベースのインタラクティブなプロジェクトマップ、シーングラフエクスプローラー |
インタラクティブビジュアライザー
map_project を実行すると、localhost:6510 でブラウザベースのエクスプローラーが開きます:
すべてのスクリプトとその関連性を表すフォースダイレクトグラフ
任意のスクリプトをクリックすると、変数、関数、シグナル、接続を確認できます
ビジュアライザーでコードを直接編集 — 変更はGodotにリアルタイムで同期されます
ノードプロパティ編集が可能なシーンビュー
リファクタリング前の使用箇所の検索
制限事項
AIは単独でゲームの100%を作成することはできません。複雑なUIレイアウト、シーンの合成、一部のノードプロパティ操作が苦手です。現在も活発に開発が進められているため、フィードバックを大歓迎します!
アーキテクチャ
┌─────────────┐ MCP (stdio) ┌──────────────┐ WebSocket ┌──────────────┐
│ AI Client │◄────────────────►│ MCP Server │◄─────────────►│ Godot Editor │
│ (Claude, │ │ (Node.js) │ port 6505 │ (Plugin) │
│ Cursor) │ │ │ │ │
└─────────────┘ │ Visualizer │ │ 42 tool │
│ HTTP :6510 │ │ handlers │
└──────┬───────┘ └──────────────┘
│
┌──────▼───────┐
│ Browser │
│ Visualizer │
└──────────────┘現在の制限事項
ローカルのみ — localhostで動作し、リモート接続は不可
単一接続 — 同時に接続できるGodotインスタンスは1つ
元に戻せない — 変更は直接保存されます(バージョン管理を使用してください)
AIのGodot知識にはまだ限界がある — ゲームを単独で100%作成することはできませんが、デバッグ、スクリプト作成、そして旅のお供にはなります
開発
npmを使用せずにソースからビルドする場合:
cd mcp-server
npm install
npm run build次に、npx の代わりにAIクライアントの設定を mcp-server/dist/index.js に向けてください。
リリースノート
各リリースの詳細な説明は release-notes/ にあります(v0.5.0 から始まります)。完全な変更履歴は CHANGELOG.md を参照してください。
ライセンス
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Run, debug and inspect Playwright E2E tests from any AI agent: diagnostics, live DOM, selectors.
Image and video AI tools and your own pipelines, run from any AI assistant.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables AI assistants to automate Godot 4 projects via headless tooling, live editor control, and runtime remote control, including scene building, testing, and observation.431MIT
- AlicenseCqualityBmaintenanceEnables AI assistants to interact with the Godot Engine editor and projects, including scene editing, script management, physics queries, and asset operations.1261MIT
- AlicenseBqualityBmaintenanceEnables AI agents to inspect, modify, run, and debug Godot projects, including scene and script analysis, editor and project management, and visual verification through screenshots.2213 npm14MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to build, run, and debug Godot projects by editing scenes and scripts, inspecting live game state, injecting input, capturing viewports, and examining native debugger state through 42 tools.European Union Public 1.2