Godot MCP Server
Provides tools for managing Godot projects, including launching editor, running projects, creating and analyzing scripts, manipulating scenes, managing assets, exporting to multiple platforms, and more.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Godot MCP Server list all scripts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Godot MCP Server
A comprehensive Model Context Protocol (MCP) server for Godot Engine that enables AI assistants to interact with Godot projects. Provides powerful tools for project management, script execution, scene manipulation, asset management, and more.
Features
🚀 Project Management - Launch editor, run projects, manage multiple projects
📜 Script Management - Create, read, analyze GDScript with templates
🎬 Scene Management - List, inspect, create scenes
🔍 Node Operations - Find nodes, get properties
📊 Project Analysis - Statistics, unused assets detection
🎨 Asset Management - List images, audio, fonts
⚙️ Project Settings - Read project.godot configuration
✅ Validation - GDScript validation via LSP
📦 Export - Export to Windows, Linux, macOS, Android, Web
🔧 UID Management - Godot 4.4+ UID support
Related MCP server: Godot MCP server
Requirements
Node.js 18+
Godot Engine 4.x (recommended)
npm
Quick Start
# Clone and install
git clone https://github.com/godot-mcp/godot-mcp.git
cd godot-mcp
npm install
npm run buildConfiguration
Environment Variables
Variable | Description | Default |
| Path to Godot executable | Auto-detected |
| Path to Godot project | Current directory |
| LSP port | 6005 |
| Enable debug logging | false |
Claude Desktop
{
"mcpServers": {
"godot": {
"command": "node",
"args": ["/path/to/godot-mcp/dist/index.js"],
"env": {
"GODOT_PATH": "/path/to/godot",
"GODOT_PROJECT_PATH": "/path/to/project"
}
}
}
}Cline
See configs/cline_mcp_settings.json for full auto-approve list.
Cursor
Create .cursor/mcp.json in your project:
{
"mcpServers": {
"godot": {
"command": "node",
"args": ["/path/to/godot-mcp/dist/index.js"]
}
}
}Available Tools (35+)
Project Management
Tool | Description |
| Launch Godot editor |
| Run project (debug/headless) |
| Stop running project |
| Get project details |
| Get Godot version |
| Find projects in directory |
| Quit Godot |
Script Management
Tool | Description |
| List all .gd files |
| Read script content |
| Create with template |
| Analyze for issues |
| Execute script file |
| Execute inline code |
Scene Management
Tool | Description |
| List all .tscn files |
| Get node hierarchy |
| Create new scene |
| Save current scene |
Node Operations
Tool | Description |
| Find nodes by name/type |
| Get node properties |
UID Management (Godot 4.4+)
Tool | Description |
| Get UID for a file |
| Update UID references |
Debug
Tool | Description |
| Capture debug output |
Project Analysis
Tool | Description |
| Get project statistics |
| Find unused assets |
Asset Management
Tool | Description |
| List .tres files |
| List images, audio, fonts |
Project Settings
Tool | Description |
| Read project.godot |
Validation
Tool | Description |
| Validate via LSP |
| Check LSP connection |
Export
Tool | Description |
| Export to platform |
| List export presets |
Utility
Tool | Description |
| Arbitrary command |
| Get configuration |
Script Templates
When creating scripts, use the template parameter:
basic- Basic Node scriptnode- Node with @onreadycharacter- CharacterBody2D with movementresource- Custom Resourceautoload- Autoload singletonstate- State pattern
Example Prompts
"Launch the Godot editor for my project"
"Create a Player script with character template"
"Analyze my project and show statistics"
"Find all scenes in my project"
"Export my project for Windows"
"What scripts are in my project?"
"Get the scene tree of Main.tscn"Development
npm run dev # Development with hot reload
npm run build # Build TypeScript
npm start # Run productionContributing
Contributions are welcome! Feel free to open issues or submit pull requests to help improve the project.
Fork the repository
Create a feature branch (
git checkout -b feature/my-feature)Commit your changes (
git commit -m 'Add my feature')Push to the branch (
git push origin feature/my-feature)Open a Pull Request
License
MIT - See LICENSE
Available Tools
46 toolsgodot_add_input_actionD
Inputs: no named parameters.
godot_analyze_projectD
Inputs: no named parameters.
godot_analyze_scriptD
Inputs: no named parameters.
godot_check_lspD
Inputs: no named parameters.
godot_create_resourceD
Inputs: no named parameters.
godot_create_sceneD
Inputs: no named parameters.
godot_create_scene_with_nodesD
Inputs: no named parameters.
godot_create_scriptD
Inputs: no named parameters.
godot_executeD
Inputs: no named parameters.
godot_export_mesh_libraryD
Inputs: no named parameters.
godot_export_projectD
Inputs: no named parameters.
godot_find_nodesD
Inputs: no named parameters.
godot_find_unused_assetsD
Inputs: no named parameters.
godot_focus_scriptD
Inputs: no named parameters.
godot_get_configD
Inputs: no named parameters.
godot_get_debug_outputD
Inputs: no named parameters.
godot_get_export_presetsD
Inputs: no named parameters.
godot_get_node_propertiesD
Inputs: no named parameters.
godot_get_project_infoD
Inputs: no named parameters.
godot_get_project_settingsD
Inputs: no named parameters.
godot_get_scene_treeD
Inputs: no named parameters.
godot_get_uidD
Inputs: no named parameters.
godot_get_versionD
Inputs: no named parameters.
godot_launch_editorD
Inputs: no named parameters.
godot_list_assetsD
Inputs: no named parameters.
godot_list_input_mappingsD
Inputs: no named parameters.
godot_list_projectsD
Inputs: no named parameters.
godot_list_resourcesD
Inputs: no named parameters.
godot_list_scenesD
Inputs: no named parameters.
godot_list_scriptsD
Inputs: no named parameters.
godot_load_spriteD
Inputs: no named parameters.
godot_open_fileD
Inputs: no named parameters.
godot_quick_openD
Inputs: no named parameters.
godot_quitD
Inputs: no named parameters.
godot_read_sceneD
Inputs: no named parameters.
godot_read_scriptD
Inputs: no named parameters.
godot_run_codeD
Inputs: no named parameters.
godot_run_projectD
Inputs: no named parameters.
godot_run_scriptD
Inputs: no named parameters.
godot_save_sceneD
Inputs: no named parameters.
godot_save_scene_variantD
Inputs: no named parameters.
godot_stop_projectD
Inputs: no named parameters.
godot_update_project_settingD
Inputs: no named parameters.
godot_update_project_uidsD
Inputs: no named parameters.
godot_validate_scriptD
Inputs: no named parameters.
godot_write_scriptD
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 46 tools
With 46 tools and no descriptions, many tools overlap in purpose (e.g., read_script vs analyze_script, list_resources vs list_assets, run_script vs run_code). An agent would struggle to select the correct tool confidently. Some tools are clearly distinct, but the overall surface is highly ambiguous.
All tools consistently use a `godot_` prefix with lowercase snake_case and a verb_noun structure (launch_editor, list_scenes, create_resource). This creates a predictable pattern despite the high number of tools. No mixed conventions or irregular naming appear.
46 tools is far beyond the 3-15 ideal range and exceeds the 25+ threshold for over-scoping. While Godot is a complex engine, the sheer number of near-synonymous tools suggests poor curation. Many tools could likely be consolidated.
The surface covers many domains—scripting, scenes, resources, settings, export—but lacks clear delete/removal operations for scripts, scenes, or resources, leaving lifecycle gaps. Creation and reading exist, but update/delete are inconsistent. Overall broad but not fully complete.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
A Model Context Protocol server for Wix AI tools
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with the Godot game engine, allowing them to launch the editor, run projects, capture debug output, and control project execution.146,695MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that provides AI assistants with tools to interact with Godot projects, enabling starting, stopping, capturing output, and screenshots.22 npm3MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to manage Godot projects, scenes, and editor operations through natural language commands.1690MIT
- AlicenseCqualityBmaintenanceModel Context Protocol server for Godot Engine providing 279 tools across 26 categories for AI assistants to read, inspect, and modify Godot projects via stdio transport.100355 npm51AGPL 3.0