io.github.tomyud1/godot-mcp MCP Server
io.github.tomyud1/godot-mcp
Control the Godot editor with AI — read, write, and manipulate scenes, scripts, and nodes directly.
What is the io.github.tomyud1/godot-mcp MCP server?
The Godot MCP server gives AI assistants like Claude and Cursor full access to the Godot game engine editor through 42 tools spanning file operations, scene manipulation, scripting, project management, and visualization. It enables game developers to build faster by letting AI read and modify project files, scenes, scripts, and settings without context switching.
Godot MCP bridges your AI assistant and the Godot editor, eliminating copy-pasting and context switching. The server exposes 42 tools across file operations, scene creation and editing, script management, project controls, and an interactive browser-based project visualizer. Use it to accelerate game development by having AI help debug, write scripts, create scenes, and explore your project structure in real time.
How to install io.github.tomyud1/godot-mcp
Copy-paste configuration for popular MCP clients.
Tools & capabilities
Tools this server exposes to the agent.
File Operations— Browse directories, read files, search project, create scriptsScene Operations— Create scenes, add/remove/move nodes, set properties, attach scripts, assign collision shapes and texturesScript Operations— Apply code edits, validate syntax, rename/move files with reference updatesProject Tools— Run/stop scenes, query ClassDB, read errors from Output and Debugger, manage project settings, input map, collision layers, scene tree dumps, rescan filesystemAsset Generation— Generate 2D sprites from SVGVisualization— Interactive browser-based project map and scene graph explorer with force-directed graph, script relationships, and real-time code editing
Use cases
- Accelerate game development by having AI write and debug GDScript code directly in your Godot project
- Create and manipulate scenes, nodes, and properties through AI without manual editor work
- Explore your entire project structure and script relationships using the interactive browser-based visualizer
- Generate 2D sprites from SVG and manage assets programmatically
- Refactor code with AI assistance while automatically updating all references across your project
io.github.tomyud1/godot-mcp MCP server FAQ
It's an MCP server that connects your AI assistant (Claude, Cursor, etc.) to the Godot game engine editor, giving AI 42 tools to read, write, and manipulate scenes, scripts, nodes, and project settings directly.
Yes, Godot MCP is open-source under the MIT license.
Install Node.js, then add the server config to your AI client's settings (Claude Desktop: Settings → Developer → Edit Config; Cursor: Settings → MCP → Add Server). Use `npx -y godot-mcp-server` as the command. Restart your client and Godot project.
No authentication required. The server runs locally on your machine and communicates with Godot via WebSocket on port 6505.
The server runs locally only (no remote connections), supports one Godot instance at a time, and changes save directly without undo. AI still struggles with complex UI layouts and some advanced node property manipulation.
Run the `map_project` tool to open a browser-based explorer at localhost:6510 showing a force-directed graph of your scripts and relationships, with the ability to view and edit code in real time.
README (reference)
Source of truth, from the repository.
Godot MCP
Give your AI assistant full access to the Godot editor.
Build games faster with Claude, Cursor, or any MCP-compatible AI — no copy-pasting, no context switching. AI reads, writes, and manipulates your scenes, scripts, nodes, and project settings directly.
Godot 4.x · 42 tools · Interactive project visualizer · MIT license
Quick Start
0. Install Node.js (one-time setup)
Download and run the installer from nodejs.org (LTS version). It's a standard installer — no terminal needed.
1. Install the Godot plugin
Inside the Godot editor, click the AssetLib tab at the top → search "mcp" → find "Godot AI Assistant tools MCP" → Install.
Then go to Project → Project Settings → Plugins and enable the Godot MCP plugin.
2. Add the server config to your AI client
Claude Desktop — Settings → Developer → Edit Config → open the config file and paste:
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 — run in terminal:
claude mcp add godot -- npx -y godot-mcp-server
Works with any MCP-compatible client (Cline, Windsurf, etc.)
3. Restart your AI client
Close and reopen Claude Desktop / Cursor / your client so it picks up the new config.
4. Restart your Godot project
Hit Restart Project in the Godot editor. Check the top-right corner — you should see MCP Connected in green. You're ready to go.
What Can It Do?
42 Tools Across 6 Categories
| Category | Tools | Examples |
|---|---|---|
| File Operations | 4 | Browse directories, read files, search project, create scripts |
| Scene Operations | 11 | Create scenes, add/remove/move nodes, set properties, attach scripts, assign collision shapes and textures |
| Script Operations | 6 | Apply code edits, validate syntax, rename/move files with reference updates |
| Project Tools | 14 | Run/stop scenes, query ClassDB, read errors from Output + Debugger, project settings, input map, collision layers, scene tree dumps, rescan filesystem |
| Asset Generation | 1 | Generate 2D sprites from SVG |
| Visualization | 6 | Interactive browser-based project map, scene graph explorer |
Interactive Visualizer
Run map_project and get a browser-based explorer at localhost:6510:
- Force-directed graph of all scripts and their relationships
- Click any script to see variables, functions, signals, and connections
- Edit code directly in the visualizer — changes sync to Godot in real time
- Scene view with node property editing
- Find usages before refactoring <img width="1710" height="1107" alt="image" src="https://github.com/user-attachments/assets/a9faf163-8b8b-43da-93ec-c7a651e8ac60" />
Limitations
AI cannot create 100% of a game by itself — it struggles with complex UI layouts, compositing scenes, and some node property manipulation. It's still in active development, so feedback is very welcome!
Architecture
┌─────────────┐ MCP (stdio) ┌──────────────┐ WebSocket ┌──────────────┐
│ AI Client │◄────────────────►│ MCP Server │◄─────────────►│ Godot Editor │
│ (Claude, │ │ (Node.js) │ port 6505 │ (Plugin) │
│ Cursor) │ │ │ │ │
└─────────────┘ │ Visualizer │ │ 42 tool │
│ HTTP :6510 │ │ handlers │
└──────┬───────┘ └──────────────┘
│
┌──────▼───────┐
│ Browser │
│ Visualizer │
└──────────────┘
Current Limitations
- Local only — runs on localhost, no remote connections
- Single connection — one Godot instance at a time
- No undo — changes save directly (use version control)
- AI is still limited in Godot knowledge — it can't create 100% of the game alone, but it can help debug, write scripts, and tag along for the journey
Development
To build from source instead of using npm:
cd mcp-server
npm install
npm run build
Then point your AI client at mcp-server/dist/index.js instead of using npx.
Release notes
Narrative write-ups of each release live in release-notes/ (starting with v0.5.0). For the full change history, see CHANGELOG.md.
License
MIT
Related MCP servers
Agentic sales commissions software

Agent JSON Reliability
Deterministic inspect, safe repair, and JSON Schema validation for agent JSON. No LLM.

Direct liteserver access to TON blockchain: balances, transactions, swaps and contract methods over native ADNL.

io.github.tono628develop/feed-reader
Fetch and read RSS/Atom feeds from any MCP client.
Private, permanent encrypted storage for AI agents. Paid per call in USDC via x402.
View repository →
Find verified global B2B buyers by category & country. Free anonymous discovery. SGX-listed.
