{"type":"mcp_server","name":"godot-mcp","description":"Godot MCP is a Godot Engine project utilizing Node.js and TypeScript, likely implementing the Model Context Protocol. The repository is open-source under the MIT license and welcomes contributions.","category":"Developer Tools","language":"JavaScript","stars":4469,"forks":13,"owner":"Coding-Solo","github_url":"https://github.com/Coding-Solo/godot-mcp","homepage":null,"setup":"## Setup\n\n### Step 1: Install and Build\n\nFirst, clone the repository and build the MCP server:\n\n```bash\ngit clone https://github.com/Coding-Solo/godot-mcp.git\ncd godot-mcp\nnpm install\nnpm run build\n```\n\n### Step 2: Configure with Your AI Assistant\n\n#### Option A: Configure with Cline\n\nAdd to your Cline MCP settings file (`~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"godot\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/godot-mcp/build/index.js\"],\n      \"env\": {\n        \"DEBUG\": \"true\"                  // Optional: Enable detailed logging\n      },\n      \"disabled\": false,\n      \"autoApprove\": [\n        \"launch_editor\",\n        \"run_project\",\n        \"get_debug_output\",\n        \"stop_project\",\n        \"get_godot_version\",\n        \"list_projects\",\n        \"get_project_info\",\n        \"create_scene\",\n        \"add_node\",\n        \"load_sprite\",\n        \"export_mesh_library\",\n        \"save_scene\",\n        \"get_uid\",\n        \"update_project_uids\"\n      ]\n    }\n  }\n}\n```\n\n#### Option B: Configure with Cursor\n\n**Using the Cursor UI:**\n\n1.  Go to **Cursor Settings** > **Features** > **MCP**\n2.  Click on the **+ Add New MCP Server** button\n3.  Fill out the form:\n    -   Name: `godot` (or any name you prefer)\n    -   Type: `command`\n    -   Command: `node /absolute/path/to/godot-mcp/build/index.js`\n4.  Click \"Add\"\n5.  You may need to press the refresh button in the top right corner of the MCP server card to populate the tool list\n\n**Using Project-Specific Configuration:**\n\nCreate a file at `.cursor/mcp.json` in your project directory with the following content:\n\n```json\n{\n  \"mcpServers\": {\n    \"godot\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/godot-mcp/build/index.js\"],\n      \"env\": {\n        \"DEBUG\": \"true\"                  // Enable detailed logging\n      }\n    }\n  }\n}\n```\n\n### Step 3: Optional Environment Variables\n\nYou can customize the server behavior with these environment variables:\n\n-   `GODOT_PATH`: Path to the Godot executable (overrides automatic detection)\n-   `DEBUG`: Set to \"true\" to enable detailed server-side debug logging","tools":"## Available Tools\n\n1.  Launch Godot Editor (Open the Godot editor for a specific project)\n2.  Run Godot Projects (Execute Godot projects in debug mode)\n3.  Capture Debug Output (Retrieve console output and error messages)\n4.  Control Execution (Start and stop Godot projects programmatically)\n5.  Get Godot Version (Retrieve the installed Godot version)\n6.  List Godot Projects (Find Godot projects in a specified directory)\n7.  Project Analysis (Get detailed information about project structure)\n8.  Scene Management (Create, add nodes, load sprites, export 3D scenes, and save scenes)\n9.  UID Management (Get and update UID for specific files in Godot 4.4+)","faq":null,"created_at":"2025-02-26T21:58:45+00:00","updated_at":"2025-03-28T20:34:49+00:00","source_url":"https://model-context-protocol.com/servers/godot-engine-mcp-server-debug-tools","related_articles":[]}