godot-mcp

434

Godot MCP is a Model Context Protocol server that facilitates interaction with the Godot game engine for AI assistants. It helps automate tasks such as launching the editor, running projects, and managing scenes, enhancing AI-generated code quality and debugging capabilities.

Godot MCP

Introduction

Godot MCP enables AI assistants to launch the Godot editor, run projects, capture debug output, and control project execution through a standardized interface, providing direct feedback for better code generation and debugging.

Features

  • Launch Godot Editor
  • Run Godot Projects
  • Capture Debug Output
  • Control Execution
  • Get Godot Version
  • List Godot Projects
  • Project Analysis
  • Scene Management
  • UID Management

Requirements

  • Godot Engine
  • Node.js and npm
  • AI assistant with MCP support

Installation and Configuration

Clone the repository, build the MCP server, and configure with AI assistants like Cline or Cursor.

Example Prompts

  • Launch the Godot editor
  • Run Godot project and show errors
  • Analyze Godot project structure

Implementation Details

The server uses a bundled GDScript approach for complex operations, providing a clean and maintainable codebase with improved error handling.