Godot Universal MCP
Connects MCP-capable AI clients to a running Godot 4 editor for scene, node, project, and debug runtime operations via a local-first architecture.
README
Godot Universal MCP
Godot Universal MCP is a local-first Model Context Protocol server and Godot addon pair for AI-assisted Godot 4 development. It connects MCP-capable clients such as GitHub Copilot to a running Godot editor and optional debug runtime bridge.
What is Godot Universal MCP?
The project provides:
- A Node.js MCP server that speaks stdio to your AI client.
- A Godot editor plugin that exposes scene, node, project, and play-mode operations.
- An optional runtime autoload for debug-time inspection during gameplay.
- Configuration, docs, and examples for reproducible setup.
Quick start
Windows PowerShell
git clone <repository-url>
cd GodotMCP
.\scripts\install.ps1
Then copy addons\godot_universal_mcp into your Godot project, enable the plugin, and point your MCP-compatible client at the generated .mcp.json.
Linux bash
git clone <repository-url>
cd GodotMCP
./scripts/install.sh
Then copy addons/godot_universal_mcp into your Godot project, enable the plugin, and configure your MCP client to launch npx -y godot-universal-mcp.
Architecture overview
AI client <-> MCP stdio server <-> localhost TCP <-> Godot editor/runtime
- The MCP server handles tool registration, request validation, and response formatting.
- The editor bridge exposes safe editor automation on
127.0.0.1:9500by default. - The runtime bridge exposes debug-only inspection on
127.0.0.1:9501by default.
For more detail, see docs/ARCHITECTURE.md.
VS Code / GitHub Copilot setup
Use either .mcp.example.json or .vscode/mcp.example.json as your starting point:
{
"servers": {
"godot-universal": {
"type": "stdio",
"command": "npx",
"args": ["-y", "godot-universal-mcp"]
}
}
}
See docs/COPILOT_SETUP.md for a guided flow.
How to enable the Godot plugin
- Copy
addons/godot_universal_mcpinto your Godot project'saddons/directory. - Open Project > Project Settings > Plugins.
- Enable Godot Universal MCP.
- Confirm the dock appears and the editor bridge starts.
- Optionally enable the runtime autoload for gameplay inspection.
More details: docs/GODOT_PLUGIN.md.
Safety model
Godot Universal MCP is designed for local development use:
- Bridges bind to
127.0.0.1by default. - Runtime inspection is intended for debug/editor builds only.
- Remote access and eval-style capabilities should remain disabled unless explicitly needed.
- AI-generated actions should be reviewed before applying destructive changes.
See SECURITY.md and docs/SECURITY.md.
Tool categories
| Category | Example tools | Notes |
|---|---|---|
| Editor inspection | editor.get_status, editor.get_scene_tree, editor.get_node |
Best for scene understanding and project context. |
| Editor actions | editor.set_node_property, editor.save_all, editor.open_scene |
Intended for local editor automation. |
| Project control | editor.run_project, editor.stop_project, editor.filesystem_scan |
Helps coordinate iteration loops. |
| Runtime inspection | runtime.get_status, runtime.get_tree, runtime.get_property |
Debug-only visibility into the running game. |
| Runtime control | runtime.set_property, runtime.pause, runtime.resume, runtime.screenshot |
Powerful tools; use conservatively. |
See docs/TOOL_REFERENCE.md for the full reference.
Troubleshooting
- Plugin missing in Godot: verify the addon path and re-scan the filesystem.
- MCP client cannot connect: confirm the plugin is enabled and the editor bridge port is available.
- Runtime tools unavailable: ensure the runtime autoload is enabled in a debug/editor build.
Full guide: docs/TROUBLESHOOTING.md.
FAQ
Does this bundle Godot?
No. You must install Godot separately.
Does it work in production builds?
The runtime bridge is intended for debug/editor builds, not production deployment.
Do I need VS Code?
No. Any MCP-compatible client can launch the stdio server.
Is remote access enabled by default?
No. The default posture is localhost-only and safety-first.
Additional documentation
License
Licensed under the MIT License. See LICENSE, NOTICE.md, and THIRD_PARTY_NOTICES.md.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。