Troubleshooting
When godot-mcp does not behave as expected, look for the symptom below; each answer says what causes it and what to change. Start with health.get: it names every component that is not ready, with a code and a remedy.
The server
The server does not start
unknown godot-mcp environment variable— everyGODOT_MCP_-prefixed variable is configuration. Remove the one named, or spell it as the configuration reference does.startup failed— the project's lease could not be taken or its journal could not be opened. Anothergodot-mcpalready serves this project (a different spelling of the same directory is the same project), a component of the project path is a symbolic link, which is refused, or noproject.godotis at or above the path you passed.[http] is forbidden when the final transport is stdio— an HTTP section in a stdio configuration is refused as ambiguous; remove it, or settransport = "http".
godot-mcp check-config --config <file> runs the same checks without starting the server.
A tool is listed but answers unavailable
The profile lists the tool, and what it needs is not there right now. The answer says which:
Code in health.get | Means | Do |
|---|---|---|
godot_binary_absent | No Godot build was found | Install one and set godot_binary in the configuration file |
game_not_running | No managed game session runs | Start one with project.run.start |
editor_not_attached | No editor with the add-on is connected | Install the add-on with editor.addon.install and open the project in Godot |
A windowed session also needs a display: on Linux DISPLAY or WAYLAND_DISPLAY in the server's environment, on macOS a logged-in user's session, on Windows a logged-on desktop.
Answers and writes
A write answers conflict
The file changed since it was read — its SHA-256 no longer matches expectedSha256 — or the connected editor holds it. Read the file again (file.get, project.files.list or scene.tree.get), decide, and send the change against the new hash. Do not retry blindly: that is how one change overwrites another.
An answer is uncertain
For an analysis, the code does not let the server be sure — a call through an untyped variable, a node found by a string — and the answer lists every candidate. For a write, the outcome could not be proven; the server settles it before the next write, so read the project before trying again.
Writes are refused after a crash
A transaction the server could not prove is quarantined and the write gate is closed; see Recovery.
Clients
Many requests fail at once
operational limit subject_concurrency was exceeded means the client sent more requests at once than the per-caller limit allows. Send one request at a time and wait for its answer.
An HTTP client loses its session
The session ended: it received and sent nothing for http.session_idle_timeout_ms, one hour by default, or reached http.session_lifetime_ms, 32 minutes with the default limits. The server answers HTTP 404 for an ended session, and the client opens a new one; what the old session captured stays readable from the new one. When a client does not reconnect on its own, restart it. To keep sessions longer, set both keys as HTTP shows.
A capture cannot be read
resources/read refuses an artifact whose retention has ended, 15 minutes by default, and one that belongs to another identity, such as a capture made under an earlier trusted_local launch: every launch has a new secret. Over HTTP the refusal is error -32002 (resource not found), the same error an address that never existed receives. Capture it again.
godot-mcp 0.3.0 and earlier also refuse the read from any session other than the one that produced the artifact, and answer -32601 (method not found), which some clients report as the server not supporting resource reads. Update to the latest release.
Something else
Open an issue on GitHub with the answer of health.get, the version godot-mcp version prints and the log lines around the problem. The log redacts secrets, tokens and source text before it writes a line.