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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.