Godot MCP logo

Godot MCP

MCP server for Godot game engine integration โ€” control the Godot editor with AI

Install Godot MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "godot-mcp-3": {
      "command": "npx",
      "args": [
        "-y",
        "godot-mcp-server"
      ]
    }
  }
}

Settings โ†’ Developer โ†’ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-testedโ€” we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Security & health

What it can reach and how reliably it runs โ€” from our own checks, not the maintainerโ€™s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

8/8 checks healthy over the last 39d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev ยท godot-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars441Stargazers on the source repository.
npm downloads2.9kPackage downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.

From the project README

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.4+ ยท 69 tools ยท Undo/redo ยท Interactive project visualizer ยท MIT license

Now on the Godot Asset Store as Godlink MCP. If it helps you, please leave a review there. It's the main way other Godot developers find it.

An AI agent in Cursor building a platformer level in the Godot editor


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

Godot 4.7 and newer: inside the Godot editor, click the Asset Store tab at the top โ†’ search "Godlink" โ†’ find "Godlink MCP" โ†’ Install. (Store page)

Godot 4.6 and older: click the AssetLib tab instead โ†’ search "mcp" โ†’ find "Godot AI Assistant tools MCP" โ†’ Install.

Manual install: copy the addons/godot_mcp/ folder from this repo into your project's addons/ folder.

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:

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

Windows:

config.json
{
  "mcpServers": {
    "godot": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "godot-mcp-server"]
    }
  }
}

Cursor โ€” Settings โ†’ MCP โ†’ Add Server:

Mac / Linux:

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

Windows:

config.json
{
  "mcpServers": {
    "godot": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "godot-mcp-server"]
    }
  }
}

Claude Code โ€” run in terminal:

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 โ€” once your AI client is running you should see MCP: Agent Active in green. You're ready to go.

If it shows MCP: No Agent in orange, Godot found the server but no AI client is using it yet. Restart your AI client. MCP: Disconnected in red means the server isn't running. Check that Node.js is installed and the config from step 2 is saved.


What Can It Do?

69 Tools Across 7 Categories

CategoryToolsExamples
Scene Operations23Create whole node trees in one call, add/remove/move nodes, set any property including textures, shapes, meshes and materials (by file path or inline), attach scripts, signals, groups, call methods
Project & Runtime28Run/stop the game, send input, take screenshots, inspect live nodes, read errors and logs, project settings, input map, autoloads
Script & File Operations8Edit and validate scripts, write files, rename/move files with reference updates, create and delete folders
File Browsing4Browse directories, read files, search the project, create scripts
Undo & Batching4Undo/redo any AI change, run many changes as one all-or-nothing batch
Asset Generation1Generate 2D sprites from SVG
Visualization1Interactive browser-based project map and scene 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 image

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

Code
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    MCP (stdio)   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   WebSocket   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  AI Client  โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚  MCP Server  โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚ Godot Editor โ”‚
โ”‚  (Claude,   โ”‚                  โ”‚  (Node.js)   โ”‚   port 6505   โ”‚  (Plugin)    โ”‚
โ”‚   Cursor)   โ”‚                  โ”‚              โ”‚               โ”‚              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                  โ”‚  Visualizer  โ”‚               โ”‚  69 tool     โ”‚
                                 โ”‚  HTTP :6510  โ”‚               โ”‚  handlers    โ”‚
                                 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜               โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                        โ”‚
                                 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                 โ”‚   Browser    โ”‚
                                 โ”‚  Visualizer  โ”‚
                                 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Current Limitations

  • Local only โ€” runs on localhost, no remote connections
  • One Godot editor at a time โ€” multiple AI clients can connect concurrently, but they all share a single Godot instance
  • Ctrl+Z does not reach AI changes โ€” the plugin writes to disk rather than the editor's live tree, so Godot's native undo has nothing to revert. Use the mcp_undo tool instead (ask the agent to undo).
  • 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:

bash
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/ (latest: v0.6.1). For the full change history, see CHANGELOG.md.


License

MIT


Star History

Star History Chart

Godot Asset Store ยท npm package ยท Report Issues

Reviews

No reviews yet โ€” be the first to share how it worked for you.

Frequently Asked Questions about Godot MCP

godot-mcp is an MCP server that connects AI assistants to the Godot 4.x editor through a Godot plugin and Node.js server. It lets compatible clients read, write, and manipulate project files, scenes, scripts, nodes, and project settings, with tools for running scenes, checking errors, editing code, and exploring project structure.

Install the โ€œGodot AI Assistant tools MCPโ€ plugin from Godotโ€™s AssetLib, enable the Godot MCP plugin in Project Settings, configure the server in your MCP client with npx, then restart both the AI client and Godot project. A green โ€œMCP Connectedโ€ indicator appears in the editor when connected.

godot-mcp works with Claude Desktop, Cursor, Claude Code, and other MCP-compatible clients such as Cline and Windsurf. Claude Desktop and Cursor use an MCP server configuration with npx, while Claude Code can add the server with the claude mcp add command.

godot-mcp can browse and edit files, create and modify scenes, add or remove nodes, set properties, attach scripts, validate code, update file references, run or stop scenes, inspect project settings and errors, and generate 2D sprites from SVG. It also provides project and scene visualization features.

Yes, godot-mcp includes a browser-based project visualizer available through map_project at localhost:6510. It shows script relationships and scene graphs, lets developers inspect code structure and usages, and supports editing code and scene node properties with changes synchronized to Godot in real time.

Related MCP servers

Add a badge to your READMEShow itโ€™s listed โ€” live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGodot MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/godot-mcp-3?style=directory)](https://allmcps.com/mcp/godot-mcp-3)
HTML Embed
<a href="https://allmcps.com/mcp/godot-mcp-3"><img src="https://allmcps.com/api/badge/godot-mcp-3?style=directory" alt="Godot MCP on AllMCPs" /></a>