Godotty
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Godotty (godotty-mcp) connects Claude Code, Claude Desktop, Cursor and other MCP clients to a
Godot 4 project. Besides reading and editing, the agent can run the game, see it, play it and
debug it: take screenshots, press keys and InputMap actions with real timing, wait for
conditions, inspect and tweak live nodes, read runtime errors with backtraces, look up the class
reference of your installed Godot version, and run your GUT or gdUnit4 tests.
Status: 0.2.0. Tool names and inputs may still change before 1.0.
What makes it different
It sees and plays the game.
screenshotreturns real frames (sequences too),send_inputdrives actions, keys and the mouse through Godot's input pipeline,press_controlclicks a button by its label,waitblocks untilPlayer.position:y < 1, andget_node_propertiesconfirms what happened.pause_gameandstep_gamefreeze the game between calls, so an action game doesn't play itself while the agent thinks.Diagnostics from Godot itself.
check_scriptsuses Godot's own GDScript language server (errors and warnings with line and column);get_errorscaptures runtime errors with full GDScript backtraces through Godot's Logger API, not by scraping logs.Docs that match your Godot.
godot_docsserves signatures from your installed binary and descriptions from that exact engine release, so agents stop mixing up Godot 3 and 4 APIs.Structured test results for GUT and gdUnit4, including the cases both frameworks silently hide (test files that fail to load, tests that never reported).
Undoable editor edits. With the editor plugin, every scene edit is one Ctrl/Cmd+Z step.
Safe by default. Paths are confined to the project, the bridge to Godot is loopback-only and mutually authenticated, and no tool runs arbitrary code unless you start it with
--allow-eval. See the safety model.Small and cheap. 21 tools (about 6K tokens of tool definitions), compact text outputs, pagination and actionable errors.
Related MCP server: Godot Universal MCP
Requirements
Godot 4.5 or newer (4.x), the standard editor build. Tested on 4.5.2 and 4.7.2.
Node.js 20 or newer.
macOS, Linux or Windows. Screenshots need a display (on headless Linux use Xvfb).
Quick start
Point Godotty at your project folder (the one containing project.godot) and your Godot
executable. If godot is on your PATH you can leave out --godot. The server also starts in a
folder without project.godot yet: project tools answer NOT_FOUND until it exists, then work
without a restart.
Claude Code
claude mcp add godotty -- npx -y godotty-mcp --project /path/to/your/game --godot /path/to/GodotOn macOS the executable is usually /Applications/Godot.app/Contents/MacOS/Godot.
Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"godotty": {
"command": "npx",
"args": ["-y", "godotty-mcp", "--project", "/path/to/your/game", "--godot", "/path/to/Godot"]
}
}
}Cursor
Add to .cursor/mcp.json in your project (or the global ~/.cursor/mcp.json):
{
"mcpServers": {
"godotty": {
"command": "npx",
"args": ["-y", "godotty-mcp", "--project", "/path/to/your/game", "--godot", "/path/to/Godot"]
}
}
}Editor tools (optional)
The editing tools talk to the open Godot editor through a small plugin. Install it into your project and enable it:
npx godotty-mcp install-addon --project /path/to/your/gameThen in Godot: Project → Project Settings → Plugins → Godotty → Enable. Everything else works without the editor open.
Try it
Ask your agent things like:
"What's in this project? Show me the main scene."
"Run the game, take a screenshot, hold right for a second and show me again."
"Check all scripts for errors, then run the tests."
"Add a Marker3D called Spawn at (2, 0, -3) to the main scene and save it."
"How do I make a CharacterBody3D jump? Use godot_docs."
The repository's demo project is a ready-made playground.
Options
Flag | Environment variable | Meaning |
|
| Godot project root (default: current directory). |
|
| Godot 4 executable (default: |
|
| Port of the editor's GDScript language server (default 6005). |
|
| No network: |
|
| Adds |
Tools
Tool | What it does |
Project | |
| Godot version, main scene, autoloads, input map with bindings, plugins, game/editor status |
| Project files as |
| Compact node tree of a |
| Copy the editor plugin into |
Docs & diagnostics | |
| Class reference of your installed Godot: class overviews, members (through inheritance), enums, search |
| GDScript errors and warnings with line:column from Godot's language server |
| Runtime errors and warnings of the last run, de-duplicated, with GDScript backtraces |
Run | |
| Start the main scene or another scene (windowed or headless), with the runtime helper injected for that run only |
| Stop the game and summarize how it ended |
| Console output with levels, a cursor for new lines, and level/text filters |
See & play (running game) | |
| Rendered frame(s) as images, scaled to a maximum size |
| Actions, keys, mouse buttons/motion, holds and waits, in order with real timing; |
| Visible buttons and focusable controls with text, path, rect and focus/disabled state |
| Click, focus or accept a control found by its text or path |
| Frames, seconds, or until a node exists / a property or getter meets a condition |
| Freeze the game between calls (or resume it); optional |
| Run exactly N physics frames, then stay paused |
| Live node tree of the game — or of the scene open in the editor ( |
| Property values (and zero-argument getters like |
| Change live properties in the running game (not saved) |
Editor (needs the plugin) | |
| Open a scene in the editor, or create a new one |
| Add a node by class or as a scene instance, with properties — undoable |
| Remove a node — undoable |
| Properties, rename, reparent, attach/detach script in one undoable step |
| Save the edited scene (or save as) |
Tests | |
| Run GUT or gdUnit4 headless (optionally |
Opt-in | |
| Run GDScript in the game or editor (only with |
Safety
Godotty confines file access to the project, keeps its connection to Godot on 127.0.0.1 with
per-session tokens and a server proof, refuses value literals that could load and run scripts, and
only offers code execution when you pass --allow-eval. Editor edits are undoable.
Running or testing a project runs that project's code, as it would in the editor. Read docs/SECURITY.md for the full model and its limits.
Troubleshooting
Problem | Fix |
| Pass |
"not supported; godotty-mcp needs 4.5" | Install Godot 4.5 or newer. |
| Open the project in Godot, install the plugin ( |
Screenshot says the game runs headless | Run with |
The first | Godot imports the project the first time; later calls reuse a warm language server. |
| Install GUT ( |
| You are offline or using a build without published docs; signatures are still exact. |
The game window grabs focus | Expected for windowed runs; use |
Contributing
Contributions are welcome — see CONTRIBUTING.md and docs/ARCHITECTURE.md (components, bridge protocol, how to add a tool).
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.
Related MCP Servers
- AlicenseAqualityAmaintenanceConnects MCP clients directly to a live Godot editor, enabling AI assistants to build scenes, edit nodes, and control the editor through over 120 operations.4716,178 PyPI3,640MIT
- AlicenseBqualityCmaintenanceConnects MCP-capable AI clients to a running Godot 4 editor for scene, node, project, and debug runtime operations via a local-first architecture.361MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to inspect, author, debug, simulate, and visually verify Godot 4.x projects through standard MCP tools, including scene editing, runtime control, and viewport capture.5MIT
- AlicenseAqualityBmaintenanceEnables AI agents to read and edit Godot 4.x scenes and resources, introspect the class API, run the game in a managed headless process with frame stepping, input injection and screenshots, validate scripts, and diagnose code via a built-in GDScript LSP plus a bridge to an already open editor.23MIT