mcp -godot
MCP server for interacting with the Godot game engine and projects
claude mcp add --transport stdio fernforestgames-mcp-server-godot npx @fernforestgames/mcp-server-godot /path/to/your/godot/project \ --env GODOT_PATH="/path/to/godot/executable"
How to use
This MCP server provides tools to interact with Godot projects through a unified agent interface. It can start and stop Godot projects, enumerate and search scenes by node type, name, or properties, and capture screenshots for visual debugging. You can also browse Godot resources like scenes and .tres files, query resources by type, and monitor the output streams of running Godot projects. Use it to orchestrate automated testing, debugging, or AI-assisted project exploration by issuing appropriate MCP tool invocations and consuming the resulting outputs and artifacts.
How to install
Prerequisites:
- Node.js 22+ installed on your system
- Godot installed and accessible via your environment
- GODOT_PATH environment variable configured to point to your Godot executable
Installation steps:
- Install Node.js 22+ if you haven’t already
- Install the MCP Godot server package globally (recommended) or ensure it can be run via npx: npm i -g @fernforestgames/mcp-server-godot
- Confirm your MCP configuration (e.g., in .mcp.json) includes the godot server block as shown in the README: { "mcpServers": { "godot": { "type": "stdio", "command": "npx", "args": [ "@fernforestgames/mcp-server-godot", "/path/to/your/godot/project" ], "env": { "GODOT_PATH": "/path/to/godot/executable" } } } }
- Run the MCP server according to your environment (via npx or your installed binary) and verify it connects to the specified Godot project.
- If needed, adjust GODOT_PATH and the Godot project path to ensure correct operation.
Additional notes
Environment variables:
- GODOT_PATH should point to the Godot executable (e.g., /usr/bin/godot or C:\Program Files\Godot\godot.exe).
Configuration tips:
- The server exposes tools for starting/stopping Godot projects, searching scenes by node type/name/properties, and capturing screenshots. Ensure your Godot project is accessible at the specified path and that the Godot version is compatible with the MCP server expectations.
- When debugging, monitor the output streams of running projects to correlate agent actions with logs. If Godot fails to start, double-check that the GODOT_PATH is correct and that the project path is valid.
- You can extend or modify the .mcp.json configuration to point to different projects or multiple Godot instances if needed.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud