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 Bridge
できること
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides a comprehensive integration between LLMs and the Godot Engine, enabling AI assistants to intelligently manipulate project files, scripts, and the live editor. It supports advanced workflows including version-aware documentation querying, automated E2E game testing, and real-time visual context capture.3226MIT
- FlicenseCqualityFmaintenanceEnables AI assistants to control Godot game engine projects through a WebSocket bridge. Supports scene editing, node manipulation, script management, and project introspection via 163 registered tools.1001
- AlicenseCqualityDmaintenanceEnables AI assistants to interact with and manipulate Godot game engine projects, including creating projects, launching editor, managing scenes and nodes.122341MIT
- AlicenseAqualityBmaintenanceEnables AI agents to launch, edit, debug, and test Godot game projects with comprehensive scene and script manipulation tools.501MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tomyud1/godot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server