Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

Godot AI Assistant tools MCP

An asset by tomyud
The page banner background of a mountain and forest
Godot AI Assistant tools MCP hero image

Quick Information

0 ratings
Godot AI Assistant tools MCP icon image
tomyud
Godot AI Assistant tools MCP

Connect your Godot editor to AI assistants (Claude, Cursor, or any MCP client). Gives AI direct access to 32 tools: create and edit scenes, write and validate GDScript, read project settings, inspect errors, generate 2D assets, and explore your project with an interactive visualizer. No copy-pasting β€” AI works inside your editor.

Supported Engine Version
4.1
Version String
0.21
License Version
MIT
Support Level
community
Modified Date
1 day ago
Git URL
Issue URL

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 Β· 32 tools Β· Interactive project visualizer Β· MIT license


Quick Start

1. Add the MCP server to your AI client

The server is hosted on npm β€” no cloning or building required.

Claude Desktop β€” edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": ["-y", "godot-mcp-server"]
    }
  }
}

Cursor β€” add to MCP settings (Settings β†’ MCP β†’ Add Server):

{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": ["-y", "godot-mcp-server"]
    }
  }
}

Works with any MCP-compatible client.

2. Install the Godot plugin

Copy the godot-plugin/addons/godot_mcp/ folder into your Godot project's addons/ directory. Then enable it: Project β†’ Project Settings β†’ Plugins β†’ Godot MCP β†’ Enable.

3. Restart Godot

Check the top-right corner of the editor. You should see MCP Connected in green. You're ready to go β€” start talking to your AI about your game.


What Can It Do?

32 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 9 Read project settings, input map, collision layers, console errors, scene tree dumps
Asset Generation 4 Generate 2D sprites from SVG, ComfyUI node search, RunningHub workflow execution
Visualization 1 Interactive browser-based project map

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

What Developers Are Saying AI + Godot Is Missing

Problem Godot MCP
AI can't see my project β€” constant copy-pasting Solved β€” AI reads/writes directly
.tscn files are unreadable to AI Solved β€” structured scene tools
"What properties does this node have?" Solved β€” full property discovery
Debugging is slow β€” digging through console Solved β€” AI reads errors and dumps scene tree
Can't see the big picture of my project Solved β€” interactive visualizer
Need placeholder art to prototype Solved β€” SVG generation + AI art pipelines
Refactoring breaks things Partially solved β€” rename with references + find usages
AI hallucinates wrong Godot APIs Partially solved β€” AI sees your actual project context

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    MCP (stdio)    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   WebSocket    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  AI Client   │◄────────────────►│  MCP Server  │◄─────────────►│ Godot Editor β”‚
β”‚  (Claude,    β”‚                  β”‚  (Node.js)   β”‚   port 6505   β”‚  (Plugin)    β”‚
β”‚   Cursor)    β”‚                  β”‚              β”‚               β”‚              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                  β”‚  Visualizer  β”‚               β”‚  32 tool     β”‚
                                 β”‚  HTTP :6510  β”‚               β”‚  handlers    β”‚
                                 β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                        β”‚
                                 β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”
                                 β”‚   Browser     β”‚
                                 β”‚  Visualizer   β”‚
                                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Current Limitations

  • Local only β€” runs on localhost, no remote connections
  • Single connection β€” one Godot instance at a time
  • Editor only β€” works in the editor, not in exported games
  • No undo β€” changes save directly (use version control)
  • No runtime control β€” can't press play or simulate input
  • 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

Full Documentation

See SUMMARY.md for the complete tool reference, feature list, and detailed pain point analysis.


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.


License

MIT


npm package Β· Report Issues

Connect your Godot editor to AI assistants (Claude, Cursor, or any MCP client). Gives AI direct access to 32 tools: create and edit scenes, write and validate GDScript, read project settings, inspect errors, generate 2D assets, and explore your project with an interactive visualizer. No copy-pasting β€” AI works inside your editor.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot AI Assistant tools MCP icon image
tomyud
Godot AI Assistant tools MCP

Connect your Godot editor to AI assistants (Claude, Cursor, or any MCP client). Gives AI direct access to 32 tools: create and edit scenes, write and validate GDScript, read project settings, inspect errors, generate 2D assets, and explore your project with an interactive visualizer. No copy-pasting β€” AI works inside your editor.

Supported Engine Version
4.1
Version String
0.21
License Version
MIT
Support Level
community
Modified Date
1 day ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers