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 "Install 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 Serverlist 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 Enhanced
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rizzpect/Godot-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server