Cursor + Godot 4: Give Cursor a Live Editor via MCP

1. Why Cursor Needs MCP for Godot

Cursor is a capable editor for GDScript. Open your Godot project folder and it will happily read and rewrite your .gd files. But a Godot game is more than scripts. Scenes, the node tree, signal connections, input actions, project settings and — most importantly — the game while it is running all live inside the Godot editor, not in the text buffer Cursor is looking at.

That means plain Cursor works blind in a few important ways:

  • It can't see the scene tree the editor actually has loaded, or what the game looks like on screen.
  • It can't run the game, so it has no idea whether the code it just wrote crashes on the first frame.
  • It can't play-test: no pressing keys, no clicking buttons, no checking whether the player really jumps.
  • It can't read the errors and stack traces Godot prints, unless you copy and paste them back by hand.

The Model Context Protocol (MCP) fixes this by letting Cursor call tools that run inside a live Godot editor. Godot MCP Pro is an MCP server built for exactly that: a Godot 4 editor plugin plus a Node.js server that exposes 190 tools to the AI. The connection looks like this:

Architecture
Cursor  <-- stdio / MCP -->  Node.js server  <-- WebSocket :6505 -->  Godot editor plugin

Once connected, Cursor can create scenes and nodes, write and validate scripts, start the game with play_scene, send input with simulate_key or simulate_action, capture the running game with get_game_screenshot, and read problems with get_editor_errors and get_output_log. In other words, it gets the same edit → run → look → fix loop you use yourself.

Good news for Cursor users

Some MCP clients cap how many tools a server may expose, which forces smaller modes. According to the Godot MCP Pro client compatibility table, Cursor's tool limit has been removed (Dynamic Context Discovery), so the recommended setting for Cursor is Full mode with all 190 tools.

2. What You Need

  • Godot 4.4 or later (tested on 4.4, 4.5, 4.6, 4.7 and 4.8 beta 5) on Windows, macOS or Linux.
  • Node.js 18+, to build and run the MCP server.
  • Cursor, with its MCP support.
  • Godot MCP Pro — the full package. The editor plugin (addons/godot_mcp/) is open source on GitHub, but the MCP server that Cursor talks to is only in the paid zip ($15 one-time, lifetime updates). If you cloned the GitHub repo and there is no server/ folder, that's expected.

3. Install the Plugin and the Server

Step 1: Install the Godot plugin

Copy the addons/godot_mcp/ folder from the download into your Godot project's addons/ directory. Then enable it:

Project → Project Settings → Plugins → Godot MCP Pro → Enable

Step 2: Build the MCP server

Extract the full package and open a terminal in its server/ directory (Cursor's integrated terminal is fine):

Terminal
cd server
npm install
npm run build

The build output lives in server/build/, and build/index.js is the file Cursor will launch. Note its absolute path — you need it in the next step.

4. Add the MCP Server to Cursor

Godot MCP Pro is a standard stdio MCP server, so Cursor uses the same mcpServers JSON shape as other MCP clients. Add this entry to Cursor's MCP configuration:

MCP configuration (JSON)
{
  "mcpServers": {
    "godot-mcp-pro": {
      "command": "node",
      "args": ["/path/to/server/build/index.js"],
      "env": {
        "GODOT_MCP_PORT": "6505"
      }
    }
  }
}

Replace /path/to/ with the real location where you extracted the package. Cursor's settings screens and file locations can change between versions, so check Cursor's own MCP documentation for where this JSON goes in your install; the server entry itself stays the same.

Optional: smaller modes

You shouldn't need them with Cursor, but the server accepts a mode flag as an extra argument if you ever want fewer tools in the model's context:

ModeToolsFlag
Full (default, recommended for Cursor)190none
3D100--3d
Lite88--lite
Minimal35--minimal
Example: Lite mode
{
  "mcpServers": {
    "godot-mcp-pro": {
      "command": "node",
      "args": ["/path/to/server/build/index.js", "--lite"]
    }
  }
}

5. Verify the Connection

  1. Open your Godot project with the plugin enabled. The status panel in the editor dock shows the connection state.
  2. Start (or restart) Cursor so it loads the new MCP server, and check that godot-mcp-pro appears with its tools.
  3. Ask a read-only question first:
Use the Godot MCP tools to get the project info and show me the scene tree of the currently open scene.

If Cursor calls get_project_info and get_scene_tree and answers with your real project name and nodes, everything is wired up. If it starts reading scene files from disk instead, the MCP server isn't connected — see Troubleshooting.

6. First Prompts to Try

Start small so you can watch what the tools do. Node and property operations go through Godot's UndoRedo system, so Ctrl+Z in the editor reverts them.

Create a new 2D scene called Player with a CharacterBody2D root, a Sprite2D and a CollisionShape2D with a rectangle shape. Save it as res://player/player.tscn.
Write a movement script for the player that uses move_left, move_right and jump input actions. Create those input actions if they don't exist, attach the script and validate it.
Run the main scene, hold the right arrow for one second, press jump, then take a screenshot and tell me whether the player moved and jumped.
Check the editor errors and the output log. If anything is broken, fix it and run the game again.

Behind the scenes these map to tools such as create_scene, add_node / batch_add_nodes, create_script, attach_script, validate_script, set_input_action, play_scene, simulate_key, get_game_screenshot and get_editor_errors.

7. A Real Workflow Example

What does this look like on a whole game? The Showcase has seven games built from plain-English prompts through Godot MCP Pro, each one recorded. One honest caveat: those builds were done with Claude Code, not Cursor. The MCP tools are identical in any client, so Cursor drives the same 190 tools — but how fast and how well a build goes also depends on the model you pick in Cursor.

The clearest example is Pop Survivors PLUS: a survivors-like that grew from a one-prompt core into a real game in 5 prompts and about 33 minutes of AI work. You can play it in your browser. The prompts went roughly like this:

  1. Build the core basics of a Vampire Survivors-like game with pop, catchy graphics.
  2. Add a title screen and a character select with three characters, each with its own starting weapon and stats.
  3. Add weapon evolution through treasure chests dropped by elite enemies.
  4. Add a boss every two minutes and a victory screen for surviving eight minutes.
  5. Add meta progression with a shop, sound effects made in code, and game-feel polish.

The interesting part is what happened between prompts. Because the AI could run the game, take screenshots and simulate input, it found and fixed its own bugs — a broken autoload that caused compile errors, clipped text on the character select, a boss firing attacks while still off-screen, and the hero's hat covering the “WIN” letters on the victory screen. Most of those are hard to spot from source code alone; they show up when the game runs. That feedback loop is exactly what MCP adds to Cursor.

Smaller one-prompt builds are on the same page: a platformer, tower defense, match-3, bullet hell and a 3D ball roller, each built in a few minutes of AI work.

8. Tips for Cursor + Godot

  • Ask it to verify by running. End feature requests with “run the game, test it with simulated input and check the errors.” Otherwise the model may stop after writing code, just as it would without MCP.
  • Runtime tools need a running game. Tools like get_game_scene_tree, simulate_key and get_game_screenshot act on the running game, so the scene has to be started with play_scene first. Remind the model if it skips that step.
  • Prefer editor tools for scenes. Having Cursor hand-edit scene files as text can work, but creating nodes through the editor keeps the scene consistent and undoable.
  • Screenshots beat descriptions. For layout or visual bugs, ask for get_game_screenshot or get_editor_screenshot so the model reasons from what is actually on screen.
  • Keep the Godot editor open. The tools talk to the live editor, so the project must stay open with the plugin enabled while you work.

9. Troubleshooting

Cursor doesn't list any Godot tools

  • Check that server/build/index.js exists. If not, run npm install and npm run build in server/ again.
  • Use the full absolute path in args, not a relative one.
  • Make sure node runs from a terminal and is version 18 or later.
  • Restart Cursor after editing the MCP configuration.

Tools appear, but calls don't reach Godot

  • Open the project in the Godot editor and confirm the plugin is enabled under Project Settings → Plugins.
  • Look at the status panel in the editor dock. The connection auto-scans ports 6505–6509 and reconnects automatically with exponential backoff, so give it a few seconds after the editor opens.

Runtime tools return errors

The game is probably not running. Ask Cursor to call play_scene first, then retry.

A client without MCP, or a tight context window

The package also ships a CLI (node /path/to/server/build/cli.js --help) that any agent with terminal access can use, discovering commands progressively through --help. With Cursor's MCP support you normally won't need it.

10. FAQ

Can't Cursor already write GDScript without this?

Yes — Cursor edits .gd files fine on its own. What it can't do without MCP is work with the live editor: build scenes through Godot, run the game, simulate input, take screenshots or read Godot's errors. Godot MCP Pro adds those abilities.

Does Cursor need Lite or Minimal mode?

No. The compatibility table recommends Full mode (190 tools) for Cursor, because Cursor's tool limit has been removed. Lite and Minimal exist for clients with tighter limits.

Which Godot versions are supported?

Godot 4.4 or later, with Node.js 18+, on Windows, macOS and Linux.

Is it a subscription?

No. It's a one-time $15 purchase with lifetime updates, unlimited projects and machines, and Discord support.

Can I use the same setup with other AI tools?

Yes. The same server works with Claude Code, VS Code Copilot, Cline, Windsurf and other MCP-compatible clients, so you aren't locked into one assistant.

Give Cursor a Live Godot Editor

Godot MCP Pro connects Cursor to the Godot 4 editor with 190 tools: build scenes, run the game, simulate input, take screenshots and read errors — all from chat.

play_scene simulate_key get_game_screenshot get_editor_errors batch_add_nodes
Get Godot MCP Pro — $15

One-time purchase · Lifetime updates · See pricing details