Godot MCP
MCP server for interfacing with Godot game engine. Provides tools for launching the editor, running projects, and capturing debug output.
Overview
Godot MCP is a Model Context Protocol server designed for interfacing with the Godot game engine, enabling AI assistants to launch the editor, run projects, and capture debug output.
To use Godot MCP, clone the repository, install dependencies, and configure it with your AI assistant (Cline) to interact with Godot projects.
- Launch Godot Editor for specific projects - Run Godot projects in debug mode - Capture console output and error messages - Control project execution programmatically - Retrieve installed Godot version - List projects in a specified directory - Analyze project structure for improvements
- Analyzing and improving Godot project structures
- Debugging issues in Godot projects with AI assistance
- Generating GDScript code for game mechanics
- Real-time feedback during interactive development sessions
Add to your AI client
Use these steps to connect Godot MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"godot-mcp-coding-solo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-godot-mcp-coding-solo"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"godot-mcp-coding-solo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-godot-mcp-coding-solo"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"godot-mcp-coding-solo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-godot-mcp-coding-solo"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"godot-mcp-coding-solo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-godot-mcp-coding-solo"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"godot-mcp-coding-solo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-godot-mcp-coding-solo"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"godot-mcp-coding-solo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-godot-mcp-coding-solo"
]
}
}
}FAQ
What are the requirements to use Godot MCP?
You need the Godot Engine, Node.js, npm, and an AI assistant that supports MCP.
How do I install Godot MCP?
Clone the repository, install dependencies, and configure it with your AI assistant.
What should I do if Godot is not found?
Set the GODOT_PATH environment variable to the path of your Godot executable.