Godot Script Integration
FreeNot checkedIntegrates with Godot to enable AI interaction with scripts, supporting features like reading, listing, and updating script information for enhanced game develo
About
Integrates with Godot to enable AI interaction with scripts, supporting features like reading, listing, and updating script information for enhanced game development workflows.
README
A comprehensive integration between Godot Engine and AI assistants using the Model Context Protocol (MCP). This plugin allows AI assistants to interact with your Godot projects, providing powerful capabilities for code assistance, scene manipulation, and project management.
Features
- Full Godot Project Access: AI assistants can access and modify scripts, scenes, nodes, and project resources
- Two-way Communication: Send project data to AI and apply suggested changes directly in the editor
- Command Categories:
- Node Commands: Create, modify, and manage nodes in your scenes
- Script Commands: Edit, analyze, and create GDScript files
- Scene Commands: Manipulate scenes and their structure
- Project Commands: Access project settings and resources
- Editor Commands: Control various editor functionality
Quick Setup
1. Clone the Repository
git clone https://github.com/ee0pdt/godot-mcp.git
cd godot-mcp
2. Set Up the MCP Server
cd server
npm install
npm run build
# Return to project root
cd ..
3. Set Up Claude Desktop
Edit or create the Claude Desktop config file:
# For macOS nano ~/Library/Application\ Support/Claude/claude_desktop_config.jsonAdd the following configuration (or use the included
claude_desktop_config.jsonas a reference):{ "mcpServers": { "godot-mcp": { "command": "node", "args": [ "PATH_TO_YOUR_PROJECT/server/dist/index.js" ], "env": { "MCP_TRANSPORT": "stdio" } } } }Note: Replace
PATH_TO_YOUR_PROJECTwith the absolute path to where you have this repository stored.Restart Claude Desktop
4. Open the Example Project in Godot
- Open Godot Engine
- Select "Import" and navigate to the cloned repository
- Open the
project.godotfile - The MCP plugin is already enabled in this example project
Using MCP with Claude
After setup, you can work with your Godot project directly from Claude using natural language. Here are some examples:
Example Prompts
@mcp godot-mcp read godot://script/current
I need help optimizing my player movement code. Can you suggest improvements?
@mcp godot-mcp run get-scene-tree
Add a cube in the middle of the scene and then make a camera that is looking at the cube.
@mcp godot-mcp read godot://scene/current
Create an enemy AI that patrols between waypoints and attacks the player when in range.
Natural Language Tasks Claude Can Perform
- "Create a main menu with play, options, and quit buttons"
- "Add collision detection to the player character"
- "Implement a day/night cycle system"
- "Refactor this code to use signals instead of direct references"
- "Debug why my player character falls through the floor sometimes"
Available Resources and Commands
Resource Endpoints:
godot://script/current- The currently open scriptgodot://scene/current- The currently open scenegodot://project/info- Project metadata and settings
Command Categories:
Node Commands
get-scene-tree- Returns the scene tree structureget-node-properties- Gets properties of a specific nodecreate-node- Creates a new nodedelete-node- Deletes a nodemodify-node- Updates node properties
Script Commands
list-project-scripts- Lists all scripts in the projectread-script- Reads a specific scriptmodify-script- Updates script contentcreate-script- Creates a new scriptanalyze-script- Provides analysis of a script
Scene Commands
list-project-scenes- Lists all scenes in the projectread-scene- Reads scene structurecreate-scene- Creates a new scenesave-scene- Saves current scene
Project Commands
get-project-settings- Gets project settingslist-project-resources- Lists project resources
Editor Commands
get-editor-state- Gets current editor staterun-project- Runs the projectstop-project- Stops the running project
Troubleshooting
Connection Issues
- Ensure the plugin is enabled in Godot's Project Settings
- Check the Godot console for any error messages
- Verify the server is running when Claude Desktop launches it
Plugin Not Working
- Reload Godot project after any configuration changes
- Check for error messages in the Godot console
- Make sure all paths in your Claude Desktop config are absolute and correct
Adding the Plugin to Your Own Godot Project
If you want to use the MCP plugin in your own Godot project:
- Copy the
addons/godot_mcpfolder to your Godot project'saddonsdirectory - Open your project in Godot
- Go to Project > Project Settings > Plugins
- Enable the "Godot MCP" plugin
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Documentation
For more detailed information, check the documentation in the docs folder:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Installing Godot Script Integration
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ee0pdt/godot-mcpFAQ
Is Godot Script Integration MCP free?
Yes, Godot Script Integration MCP is free — one-click install via Unyly at no cost.
Does Godot Script Integration need an API key?
No, Godot Script Integration runs without API keys or environment variables.
Is Godot Script Integration hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Godot Script Integration in Claude Desktop, Claude Code or Cursor?
Open Godot Script Integration on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Godot Script Integration with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
