Godot MCP is a Godot Engine project utilizing Node.js and TypeScript, likely implementing the Model Context Protocol. The repository is open-source under the MIT license and welcomes contributions.
This project provides a Model Context Protocol (MCP) server that allows AI assistants to interact with the Godot game engine. It enables features like launching the Godot editor, running projects in debug mode, capturing debug output, and controlling project execution. Built with Godot, Node.js, and TypeScript, it offers a standardized interface for AI tools like Cline and Cursor to understand and manipulate Godot projects.
Key features include project analysis, scene management (creating, adding nodes, loading sprites, exporting MeshLibrary resources), and UID management (for Godot 4.4+). The server uses a bundled GDScript approach for complex operations, centralizing Godot interactions in a single file for better maintainability and performance.
To use, clone the repository, install dependencies with npm install
, and build with npm run build
. Configure your AI assistant with the server's path and optional environment variables like GODOT_PATH
for specifying the Godot executable. This allows AI to assist with debugging, code generation, and project improvements.
Coding-Solo/godot-mcp
February 26, 2025
March 28, 2025
JavaScript