Godot MCP enables AI assistants to interact with Godot Engine projects through the Model Context Protocol, providing access to scripts, scenes, nodes, and project resources for code assistance and scene manipulation. The server offers command categories for node management, GDScript editing, scene structure manipulation, project configuration access, and editor control, allowing bidirectional communication where AI can analyze project data and apply suggested changes directly within the editor. This integration solves the problem of limited AI context when developing Godot games by giving language models full visibility into project structure and the ability to propose and implement code changes programmatically.
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.
git clone https://github.com/ee0pdt/godot-mcp.git
cd godot-mcp
cd server
npm install
npm run build
# Return to project root
cd ..
Edit or create the Claude Desktop config file:
# For macOS
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the following configuration (or use the included claude_desktop_config.json as 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
project.godot fileAfter setup, you can work with your Godot project directly from Claude using natural language. Here are some examples:
@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.
godot://script/current - The currently open scriptgodot://scene/current - The currently open scenegodot://project/info - Project metadata and settingsget-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 propertieslist-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 scriptlist-project-scenes - Lists all scenes in the projectread-scene - Reads scene structurecreate-scene - Creates a new scenesave-scene - Saves current sceneget-project-settings - Gets project settingslist-project-resources - Lists project resourcesget-editor-state - Gets current editor staterun-project - Runs the projectstop-project - Stops the running projectIf you want to use the MCP plugin in your own Godot project:
addons/godot_mcp folder to your Godot project's addons directoryContributions are welcome! Please feel free to submit a Pull Request.
For more detailed information, check the documentation in the docs folder:
This project is licensed under the MIT License - see the LICENSE file for details.
miapre/html-to-figma-design-system
ie3jp/illustrator-mcp-server
coding-solo/godot-mcp
ivanmurzak/unity-mcp
yctimlin/mcp_excalidraw
figma/mcp-server-guide