Godot MCP
MCP server for Godot Engine - AI assistant integration
Installation
npx godot-mcpAsk AI about Godot MCP
Powered by Claude · Grounded in docs
I know everything about Godot MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
godot-mcp
MCP server that connects Claude to your Godot editor. Less copy-paste, more creating.
Why This Exists
Using AI assistants for game dev means a lot of back-and-forth: copying error messages, describing what's on screen, pasting debug output, manually applying suggested changes. It works, but it's tedious.
This MCP gives Claude direct access to your Godot editor. It can see your scene tree, capture screenshots, read errors, and make changes directly. You stay focused on the creative work while the mechanical relay disappears. Faster iterations, less busywork, more time building the game you actually want to make.
Quick Start
1. Configure your AI assistant
Add godot-mcp to your MCP client. See the Installation Guide for config examples (Claude Desktop, Claude Code, VSCode/Copilot, and more).
2. Install the Godot addon
npx @satelliteoflove/godot-mcp --install-addon /path/to/your/godot/project
Enable in Godot: Project Settings > Plugins > Godot MCP
3. Go
Open your Godot project, restart your AI assistant, and start building.
What Claude Can Do
- See your editor, scenes, running game, errors, and performance
- Inspect nodes, resources, animations, tilemaps, 3D spatial data
- Modify scenes, nodes, scripts, animations, tilemaps directly
- Test by running the game and injecting input
- Learn by fetching Godot docs on demand
Works Well With
minimal-godot-mcp by @ryanmazzolini is another MCP server for Godot. It focuses on language server diagnostics and console output via DAP, with no addon required. This project focuses on runtime control, scene manipulation, and everything that needs a direct line into the editor.
They don't overlap much, and they don't conflict. Run them side by side for the best coverage.
Documentation
- Installation Guide - MCP client configs for Claude Desktop, Claude Code, VSCode/Copilot, and more
- Claude Code Setup Guide - CLAUDE.md template for Godot projects
- Tools Reference - All 11 tools with full API docs
- Resources Reference - MCP resources for reading project data
- Contributing - Dev setup, adding tools, release process
- Changelog - Release history
Architecture
[Claude/AI Assistant/MCP Client] <--stdio--> [MCP Server] <--WebSocket:6550--> [Godot MCP Bridge Addon]
WSL2 is supported (auto-detection, host IP discovery, configurable bind modes). See the Installation Guide for setup details.
CLI smoke test (paste-ready JSON-RPC)
If you run the server manually via CLI (for example: npx -y @satelliteoflove/godot-mcp), you can paste these stdio JSON-RPC frames to verify it responds and can reach Godot:
- Write in CLI
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"cli-test","version":"0"}}}
- Response
{"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{},"resources":{},"logging":{}},"serverInfo":{"name":"godot-mcp","version":"2.11.0"}},"jsonrpc":"2.0","id":1}
- Call a tool
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"editor","arguments":{"action":"get_state"}}}
- Response
{"result":{"content":[{"type":"text","text":"{\n \"current_scene\": null,\n \"godot_version\": \"4.5.1-stable (official)\",\n \"is_playing\": false,\n \"main_screen\": \"unknown\",\n \"open_scenes\": []\n}"}]},"jsonrpc":"2.0","id":2}
Tip: If you enabled Port override in the Godot MCP panel, start the server with matching env vars (or export as environment variable):
GODOT_HOST=... GODOT_PORT=... npm run start or GODOT_HOST=... GODOT_PORT=... npx -y @satelliteoflove/godot-mcp
Development
cd server
npm install && npm run build
npm test
npm run generate-docs
Requirements
- Node.js 20+
- Godot 4.5+
License
MIT
