The Godot MCP server installs cleanly. Then every run_project call fails on a headless box A developer found that the Godot MCP server (@coding-solo/godot-mcp) installs and lists its 14 tools correctly, but its run_project handler builds the launch command as ['-d', '--path', projectPath] without a --headless flag, so on a machine with no display server the engine exits at startup and get_debug_output always returns 'No active Godot process.' The fix is to point GODOT_PATH at a small shell wrapper that appends --display-driver headless before exec, after which run_project returns a 154-byte response and get_debug_output returns 1,949 bytes including the project's own print output. The developer also notes that get_debug_output only reads from a live process, so output must be read while the project is still running. You add the server the way its README says: claude mcp add godot \ -e GODOT PATH=/usr/local/bin/godot \ -- npx @coding-solo/godot-mcp tools/list comes back with 14 tools. run project answers like it worked: Godot project started in debug mode. Use get debug output to see output. Then get debug output answers, every single time: No active Godot process. No stack trace, no stderr, nothing in the client log. The project never started, and nothing in the response says why. Its troubleshooting section has four entries: Godot Not Found , Connection Issues , Invalid Project Path , Build Issues . None of them is "the engine started and died". The word headless appears zero times in the README I re-fetched main today to be sure . So the reasonable thing is to go check your own setup first. Check the binary before you suspect the MCP layer: ./godot-headless --version 4.7.2.stable.official.ed1daf0bf The engine runs. The MCP server answers tools/list , so Node and the client config are fine. What's left is the hand-off between the two. In index.js , handleRunProject builds the command like this: js const cmdArgs = '-d', '--path', args.projectPath ; No --headless . -d is debug mode, and debug mode wants a display. On a box with no display server the engine exits on startup, handleGetDebugOutput finds no active process, and returns that string. The message is accurate — there really is no process. It just doesn't tell you why there isn't one. GODOT PATH at a wrapper, not at the binary bash /bin/sh /opt/godot/godot-headless exec /opt/godot/Godot v4.7.2-stable linux.x86 64 --display-driver headless "$@" chmod +x it, then restart the MCP client with GODOT PATH pointing at the wrapper. The server still sends -d --path … ; the wrapper adds the display driver before exec . Client config, for reference: { "mcpServers": { "godot": { "command": "npx", "args": "@coding-solo/godot-mcp" , "env": { "GODOT PATH": "/opt/godot/godot-headless" } } } } The trade you are making: every Godot invocation from that client is now headless, including editor launches. On a server or CI box that is the right trade. On your laptop it is the wrong one, and you probably never need the wrapper at all. Same client, same project, one env var different: run project → Godot project started in debug mode. Use get debug output to see output. a 154-byte JSON response get debug output → 1,949 bytes. First line: Godot Engine v4.7.2.stable.official.ed1daf0bf - https://godotengine.org . Inside the output array, the project's own print: CD10I HELLO from cd10i-demo . ./godot-headless -d --path proj , exit 0 — prints the same line. That is how you know the MCP path isn't adding or hiding anything. The demo project is three files: project.godot 148 B , main.tscn 149 B , main.gd 131 B . The whole loop — write project, run, read output — takes minutes, which matters when you are debugging the tool wrapper rather than the game. get debug output reads from a live process, and the server clears its active process handle when the project quits by itself. A project that prints one line and calls get tree .quit gives you a real response if you read at ~3 seconds, and No active Godot process. again at 10. Our test project lives about 8 seconds for exactly that reason. So: read the output while the thing is still running, or make the project wait. A polling loop that retries every 20 seconds will look like the server is broken when it is just late. If you build a pass/fail check on top of this, prove it can go red before you trust a green: run project {"projectPath": "/root/nope"} → Not a valid Godot project: /root/nope isError: true Possible solutions: … The path in that output is whatever you passed — in our first run it was /root/cd10i/gd missing , and the message echoed it back. A success check that has never returned false isn't measuring anything. The same applies to the fix above: keep one project path that fails so you can test the harness itself. --display-driver behaviour, and I have no run to show. 4.7.2.stable.official only. Older versions may not accept the same flags. @coding-solo/godot-mcp 0.1.1 — the version current when this was written. If your machine has a display server, none of this fires. The wrapper is for the box that doesn't. The four-step version of this, with the exact commands and the copy buttons, is here: Game development · step by step https://anclum.com/en/scene/game-dev/ .