Godot MCP Server
Enables LLMs to create and modify Godot game engine projects by managing scenes, generating GDScript code, creating animations, and controlling the Godot editor through natural language commands.
README
Godot MCP Server
An MCP (Model Context Protocol) server that integrates Godot game engine with Copilot MCP, allowing LLMs to create scenes, scripts, animations, and make other changes in Godot projects.

Features
Scene Management
- create_scene - Create new Godot scenes (.tscn) with specified root node types
- add_node - Add nodes to existing scenes
- remove_node - Remove nodes from scenes
- modify_node - Modify node properties
- read_scene - Read scene structure as JSON
- list_nodes - List all nodes in a scene
Script Generation
- create_script - Create GDScript files with templates or custom content
- attach_script - Attach scripts to scene nodes
- read_script - Read script file contents
- edit_script - Edit existing scripts
- list_scripts - List all scripts in project
Animation
- create_animation - Create AnimationPlayer with animations
- add_animation_track - Add animation tracks with keyframes
Project Management
- init_project - Initialize new Godot projects
- get_project_info - Get project information
- list_scenes - List all scene files
- launch_editor - Launch Godot editor
- run_project - Run the project
- get_godot_version - Get Godot version info
- create_resource - Create resource files (.tres)
Prerequisites
- Node.js 18.0.0 or higher
- Godot 4.x installed and accessible via PATH or
GODOT_PATHenvironment variable
Installation
# Clone the repository
git clone https://github.com/koltyakov/godot-mcp.git
cd godot-mcp
# Install dependencies
npm install
# Build
npm run build
Configuration
VS Code / Copilot
Add to your VS Code settings (.vscode/mcp.json):
{
"mcpServers": {
"godot": {
"command": "node",
"args": ["/path/to/godot-mcp/dist/index.js"],
"env": {
"GODOT_PATH": "/Applications/Godot.app/Contents/MacOS/Godot" // Adjust path as needed
}
}
}
}
Usage Examples
Create a new project
Create a new Godot project called "MyGame" at /path/to/projects/MyGame
Create a player scene
Create a 2D player scene with a CharacterBody2D root,
add a Sprite2D and CollisionShape2D, and attach a movement script
Add animation
Add a jump animation to the player scene that modifies
the position.y property over 0.5 seconds
Development
# Run in development mode with hot reload
npm run dev
# Build for production
npm run build
# Run the built server
npm start
Environment Variables
GODOT_PATH- Path to Godot executable (optional if Godot is in PATH)
Supported Node Types
The server supports creating most common Godot node types including:
- 2D: Node2D, Sprite2D, Camera2D, CharacterBody2D, RigidBody2D, StaticBody2D, Area2D, CollisionShape2D, TileMap, etc.
- 3D: Node3D, MeshInstance3D, Camera3D, CharacterBody3D, RigidBody3D, DirectionalLight3D, etc.
- UI: Control, Label, Button, TextureRect, Panel, etc.
- Audio: AudioStreamPlayer, AudioStreamPlayer2D, AudioStreamPlayer3D
- Animation: AnimationPlayer, AnimatedSprite2D
- And many more...
Supported Resource Types
- Shapes: CircleShape2D, RectangleShape2D, BoxShape3D, SphereShape3D, etc.
- Meshes: BoxMesh, SphereMesh, CylinderMesh, PlaneMesh, etc.
- Materials: StandardMaterial3D, ShaderMaterial, CanvasItemMaterial
- Textures: GradientTexture1D, GradientTexture2D, NoiseTexture2D
- And more...
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.