AIをGodot 4に接続する
5分でMCP Proをセットアップし、ClaudeやCursorからGodotエディタを直接操作。プラグインのインストール、サーバーのビルド、AIクライアントの設定 — これだけで準備完了です。
get_project_info get_scene_treeGodot MCP Proは、ClaudeやCursorなどのAIアシスタントをWebSocket経由でGodot 4エディタに直接接続するMCPサーバーです。163のツールでシーン作成、GDScript記述、プレイヤー入力シミュレーション、実行中のゲーム解析、3D環境構築、物理・パーティクル・オーディオ設定が可能。$5買い切り、Windows・macOS・Linux対応。
$5 買い切り · 永久アップデートAI Assistant <--stdio/MCP--> Node.js Server <--WebSocket--> Godot Editor
リアルタイム双方向通信。ファイルポーリングなし。CLIサブプロセスなし。即座にフィードバック。
AIを活用した実践的なGodot 4ガイド。古いGodot 3の情報は一切なし — すべてGodot 4.4+で検証済みです。
5分でMCP Proをセットアップし、ClaudeやCursorからGodotエディタを直接操作。プラグインのインストール、サーバーのビルド、AIクライアントの設定 — これだけで準備完了です。
get_project_info get_scene_treeAIに完全な2Dゲームを作ってもらいましょう — シーン、スクリプト、シグナル、UIまで。空のプロジェクトからプレイ可能なリバーシゲームを、たった一回のAI会話で構築する手順を解説します。
create_scene add_node create_script connect_signal play_sceneMixamoアニメーション、AnimationTreeステートマシン、SpringArm3Dカメラ、地形をAIが構築。CharacterBody3D、物理レイヤー、Godot 4のアニメーションブレンドをカバーします。
add_mesh_instance setup_lighting create_animation_tree setup_physics_body setup_camera_3dGodot 4ではシグナルが3から大幅に変更されました。connect("signal", obj, "method")は廃止、signal.connect(callable)を使います。AIにシグナル設計の監査、未接続シグナルの検出、プロジェクト全体のシグナルフロー可視化を任せましょう。
analyze_signal_flow find_signal_connections get_signals connect_signalAIにプレイテストを任せましょう。ゲーム起動、キーボード/マウス入力のシミュレーション、スクリーンショット撮影、ゲーム状態の検証、ランダム入力によるストレステスト。テストフレームワーク不要 — MCP Proがエディタレベルで全て処理します。
play_scene simulate_key capture_frames assert_node_state run_stress_testGodot 4のAnimationTreeは強力ですが複雑です。AIがステートマシンの作成、トランジション設定、ブレンドツリー構築、条件とパラメータの配線を実行。Godot初心者が最もつまずくポイントを数分で解決します。
create_animation_tree add_state_machine_state add_state_machine_transition set_tree_parameterGodot 4ではPhysicsBodyがCharacterBody/RigidBodyに改名され、コリジョンレイヤーAPIも変更されました。AIにコリジョンシェイプの設定、物理レイヤーの適切な構成、レイキャストの追加、コリジョン設定の監査を任せて、よくある物理バグを回避しましょう。
setup_collision set_physics_layers setup_physics_body get_collision_infoGodot 4ではCPUParticlesからGPUParticles2D/3Dがデフォルトに。火、煙、雨、雪、火花をプリセットで即座に作成、またはエミッション形状、速度カーブ、カラーグラデーションを自然言語で細かく調整できます。
create_particles apply_particle_preset set_particle_color_gradient set_particle_material5分以内にAIアシスタントをGodotに接続。
addons/godot_mcp/ をGodotプロジェクトにコピー。プロジェクト > プロジェクト設定 > プラグインで有効化。エディタ内でWebSocketサーバーが自動起動します。
server/ ディレクトリで npm install && npm run build を実行。AIクライアントとGodotプラグインを橋渡しするTypeScript MCPサーバーをコンパイルします。
AIクライアントのMCP設定にサーバーを追加。Godotを開けば、AIアシスタントが163のツールにリアルタイムアクセス — シーン作成、スクリプト編集、入力シミュレーション、実行中のゲーム解析が可能に。
AIにGodotプロジェクトの構築・検査・テスト・修正を任せるために必要なすべて。2Dも3Dも対応。
get_project_info metadata & autoloadsget_filesystem_tree recursive file treesearch_files fuzzy/glob searchget/set_project_settings read & writeuid_to_project_path UID conversionproject_path_to_uid path conversionget_scene_tree live hierarchyget_scene_file_content raw .tscncreate_scene new scenesopen_scene delete_scene save_sceneadd_scene_instance prefab-like instancingplay_scene stop_sceneadd_node delete_node rename_nodeduplicate_node deep copymove_node reparentupdate_property smart type parsingget_node_properties inspect all propsadd_resource shapes, materialsset_anchor_preset UI anchorsconnect_signal disconnect_signallist_scripts project-wide overviewread_script create_scriptedit_script search/replace & insertattach_script attach to nodesget_open_scripts editor awarenessget_editor_errors errors & stack tracesget_editor_screenshot editor viewportget_game_screenshot running gamecompare_screenshots visual diff NEWexecute_editor_script run GDScriptget_signals inspect signal connectionsreload_plugin reload_projectclear_outputsimulate_key keyboard with modifierssimulate_mouse_click positioned clickssimulate_mouse_move absolute/relativesimulate_action Godot InputActionssimulate_sequence multi-event combosget_game_scene_tree live game hierarchyget/set_game_node_properties runtime inspection & tweakingexecute_game_script run code in live gamecapture_frames multi-frame screenshotsmonitor_properties property timelinestart/stop/replay_recording input recording & replay NEWfind_nodes_by_script get_autoloadfind_ui_elements click_button_by_text NEWwait_for_node batch_get_properties NEWlist_animations create_animationadd_animation_track value/position/bezierset_animation_keyframe insert keysget_animation_info tracks & keyframesremove_animationcreate_animation_tree with state machine rootget_animation_tree_structure full tree inspectionadd/remove_state_machine_state manage statesadd/remove_state_machine_transition with conditionsset_blend_tree_node Add2, Blend2, TimeScaleset_tree_parameter conditions & blendstilemap_set_cell place tilestilemap_fill_rect fill regionstilemap_get_cell read tile datatilemap_clear clear alltilemap_get_info tile set sourcestilemap_get_used_cells query used cellsadd_mesh_instance primitives & .glb/.gltf importsetup_lighting sun/indoor/dramatic presetsset_material_3d full PBR material setupsetup_environment sky, fog, glow, SSAO, SSRsetup_camera_3d projection, FOV, cull maskadd_gridmap GridMap with MeshLibrarysetup_collision auto-detect 2D/3D shapesset/get_physics_layers layer & mask managementadd_raycast RayCast2D/3Dsetup_physics_body CharacterBody & RigidBody configget_collision_info full collision auditcreate_particles GPUParticles 2D/3Dset_particle_material direction, velocity, emission shapeset_particle_color_gradient color ramp stopsapply_particle_preset fire, smoke, rain, snow, sparksget_particle_info full config inspectionsetup_navigation_region auto-detect 2D/3Dbake_navigation_mesh mesh baking & polygon gensetup_navigation_agent pathfinding & avoidanceset_navigation_layers layer managementget_navigation_info full nav auditget_audio_bus_layout full bus overviewadd_audio_bus set_audio_bus create & configureadd_audio_bus_effect reverb, delay, compressor, EQadd_audio_player 2D/3D audio playersget_audio_info subtree audio auditcreate_theme new Theme resourceset_theme_color color overridesset_theme_constant constant overridesset_theme_font_size font sizesset_theme_stylebox StyleBoxFlatget_theme_info inspect overridescreate_shader with templatesread_shader edit_shaderassign_shader_material to nodesset_shader_param set uniformsget_shader_params read all paramsread_resource inspect .tres propertiesedit_resource modify & savecreate_resource new .tres of any typefind_nodes_by_type search by classfind_signal_connections audit signalsbatch_set_property bulk changesfind_node_references cross-file searchget_scene_dependencies dependency graphcross_scene_set_property project-wide changes NEWrun_test_scenario automated test sequencesassert_node_state property assertionsassert_screen_text UI text verificationrun_stress_test random input fuzzingget_test_report pass/fail summaryfind_unused_resources dead asset detectionanalyze_signal_flow signal graph mappinganalyze_scene_complexity node count & depthfind_script_references cross-project searchdetect_circular_dependencies cycle detectionget_project_statistics full project overviewget_performance_monitors FPS, memory, physicsget_editor_performance quick summarylist_export_presets configured presetsexport_project build commandsget_export_info paths & templates無料版にはない機能。
ノード間のシグナルを接続・切断・検査。競合にはない機能。Godotのイベント駆動アーキテクチャに不可欠です。
すべての変更がGodotのUndoRedoシステムを経由。AIの操作もCtrl+Zで元に戻せます。無料版はシーンを直接変更するためUndoが効きません。
Vector2(100,200)、#ff0000、Color(1,0,0) — AIが文字列を送ると、適切なGodot型に自動変換します。
ハートビート付きWebSocket、自動再接続(指数バックオフ)、ポート自動スキャン。接続切れなし、手動再起動不要。
エラーには構造化コードと対処法が含まれます。AIが不明なエラーで停止せず、自己修正できます。
11のノードツール:追加、削除、リネーム、複製、移動/再配置、プロパティ更新、リソース追加、アンカー設定。すべてをカバーする競合はありません。
AIにゲームをプレイさせましょう。キーボード、マウス、InputActionをシミュレート。入力セッションを録画し、フレーム精度でリプレイしてリグレッションテスト。
実行中のゲームを検査する15のツール。ランタイムでプロパティの読み書き、フレームキャプチャ、プロパティ変更の監視、UI要素の検索、テキストボタンのクリック、ノード出現の待機。
アニメーション作成、トラック追加、キーフレーム挿入。トランジションと条件付きステートマシンの構築。Add2、Blend2、TimeScaleノードでブレンドツリーを構成。
メッシュ追加(プリミティブまたは.glb/.gltf)、プリセットでライティング設定、PBRマテリアル構成、sky/fog/SSAO/SSRで環境作成、カメラ配置、GridMap構築。
コリジョンシェイプの設定、物理ボディの構成、コリジョンレイヤー管理、レイキャスト追加。ナビゲーション領域の作成、ナビメッシュのベイク、パスファインディングエージェントの設定。
プリセット(火、煙、雨、雪)でGPUパーティクルシステムを作成。オーディオバス管理、エフェクト追加(リバーブ、ディレイ、コンプレッサー)、2D/3Dオーディオプレイヤーの配置。
テンプレートからシェーダー作成、GLSLコード編集、ShaderMaterial割り当て、ランタイムでuniform調整。AIチャットを離れることなく完全なシェーダーワークフロー。
入力シミュレーションとアサーションで自動テストシナリオを実行。画面上のUIテキストを検証。ランダム入力ファジングでストレステスト。合否テストレポートを生成。
未使用リソースの検出、シグナルフローのマッピング、シーン複雑度の分析、循環依存の検出、スクリプト参照の検索、プロジェクト全体の統計取得。
型でノード検索、シグナル接続の監査、シーン横断でプロパティ一括設定、全プロジェクトファイルの横断検索、依存関係分析。大規模リファクタリング。
AIアシスタントに頼める実例 — そのまま動きます。
AIがシーン作成、スクリプト記述、シグナル接続、UI構築、ゲーム実行まで — 一回の会話で完結。デモ動画をご覧ください。
AIがメッシュ追加、ライティングプリセット設定、PBRマテリアル構成、環境設定の調整まで — すべてエディタAPI経由でUndo/Redo付き。
AIがゲーム起動、キーボード入力シミュレーション、スクリーンショット撮影、ランタイムノードプロパティ検査、ゲーム状態検証まで — 自動QAワークフローを実現。
AIがエディタのエラー出力とスクリプトコンパイルエラーを読み取り、問題を特定、スクリプトを修正、修正を検証 — エラーメッセージのコピペ不要の高速フィードバックループ。
AIがGPUパーティクルを作成、エミッション形状と速度を設定、カラーグラデーションを適用。または内蔵プリセット(火、煙、雨、雪、火花)で即座に結果を表示。
AIが全シーンを横断検索、該当ノードを特定、プロパティを一括変更 — 手動クリックで数分かかる作業が数秒で完了。
Godot MCP Proと他ツールとの比較。
| 機能 | Godot MCP Pro | GDAI MCP ($19) | godot-mcp (free) |
|---|---|---|---|
| ツール数 | 163 | ~30 | 13 |
| カテゴリ | 23 | ~8 | 4 |
| 接続方式 | WebSocket + heartbeat | WebSocket | Headless CLI |
| Undo/Redo | Yes | Yes | No |
| シグナル管理 | Yes | No | No |
| ノード名変更/複製/移動 | Yes | No | No |
| スマート型変換 | Yes | Limited | No |
| 入力シミュレーション | Key / Mouse / Action / Sequence | No | No |
| ランタイム解析 | 15ツール(ツリー、プロパティ、フレーム、UI、録画) | No | No |
| 3Dシーンツール | Mesh, Lighting, PBR, Environment, Camera | No | No |
| 物理設定 | Collision, Layers, Raycasts, Bodies | No | No |
| パーティクル | GPU 2D/3D with presets | No | No |
| ナビゲーション | Region, Mesh baking, Agent | No | No |
| オーディオ | Buses, Effects, Players | No | No |
| AnimationTree | State machine, Blend tree | No | No |
| 自動テスト | シナリオ、アサーション、ストレステスト | No | No |
| コード解析 | 未使用リソース、シグナルフロー、複雑度 | No | No |
| スクリーンショット | エディタ + ゲーム + 画像差分 | Yes | No |
Godot MCP Proについてよくある質問。
Godot MCP Proは、Claude、Cursor、ClineなどのAIアシスタントをWebSocket経由でGodot 4エディタに直接接続するプレミアムMCP(Model Context Protocol)サーバーです。シーン操作、アニメーション、3Dモデリング、物理設定、パーティクル、オーディオ管理、シェーダー編集、入力シミュレーション、ランタイム解析、自動テストなど23カテゴリ163ツールを提供します。
プロジェクトにGodot MCP Proプラグインをインストール、プロジェクト設定 > プラグインで有効化、npm install && npm run buildでMCPサーバーをビルド、.mcp.jsonに追加。Claude(CodeまたはDesktop)がWebSocket経由でGodotエディタに自動接続し、163のツールすべてにアクセスできます。
Claude Code、Claude Desktop、Cursor、VS Code + Cline拡張、Windsurf等、MCP互換のAIクライアントすべてに対応。MCPプロトコルはオープン標準のため、新しいクライアントも随時追加されます。
はい。メッシュプリミティブの追加や.glb/.gltfモデルのインポート、プリセットでのライティング設定、PBRマテリアル構成、sky/fog/SSAO/SSRの環境作成、カメラ配置、GridMap構築のための専用3Dツールを搭載。物理、ナビゲーション、パーティクルツールと組み合わせて、AIが完全な3Dゲームシーンを構築できます。
はい。ランタイム解析スイートの15ツールで、AIがゲーム起動、キーボード/マウス/アクション入力のシミュレーション、スクリーンショット撮影、実行中のシーンツリー検査、ランタイムプロパティの読み書き、入力セッションの録画・リプレイ、UI要素の検索、テキストボタンのクリック、アサーション付き自動テストシナリオの実行が可能です。
はい。Cursor、VS Code + Cline、Windsurf、Claude Code CLI、Claude Desktop等、MCP互換クライアントすべてで動作します。エディタの設定でMCPサーバーを設定すればWebSocket経由で接続されます。
Godot 4.4以降(Godot 4.6でテスト済み)およびNode.js 18+。Windows、macOS、Linuxに対応。
Godot MCP Proは163ツール(無料版は13〜32)を提供。独自機能として完全なUndo/Redo、シグナル管理、録画・リプレイ付き入力シミュレーション、15ツールのランタイム解析、3Dシーン構築、物理設定、パーティクルシステム、オーディオバス管理、ナビゲーションメッシュ、AnimationTreeステートマシン、自動テスト、コード解析を備えています。
はい。GDScriptエディタプラグイン(addons/godot_mcp/)は完全オープンソースでGitHubで公開されています。購入前にプラグインの通信方法を確認できます。MCPサーバー(TypeScript)は有料ダウンロードに含まれています。
いいえ。Godot MCP Proは$5の買い切りで、v1.xの永久アップデート、プロジェクト数無制限、マシン数無制限、Discordサポート付き。月額料金なし、ライセンス制限なし。
5分以内にセットアップ完了。
ダウンロードした addons/godot_mcp/ フォルダをGodotプロジェクトのルートにコピー。プラグインを有効化:
Project > Project Settings > Plugins > Godot MCP Pro > Enable
server/ ディレクトリでターミナルを開き:
cd server npm install npm run build
AIクライアントのMCP設定ファイル(Claude Codeなら .mcp.json)にサーバーを追加:
{
"mcpServers": {
"godot-mcp-pro": {
"command": "node",
"args": ["/path/to/server/build/index.js"]
}
}
}
プラグインを有効にしたGodotプロジェクトを開きます。エディタドックのステータスパネルで接続状態を確認。AIアシスタントを起動して開発開始 — Godotエディタの163ツールに直接アクセスできます。
一度の支払いで永久に使用。v1.xの永久アップデート付き。