IvanMurzak/Godot-MCP

Godot-MCP — Model Context Protocol (MCP) integration for the Godot Engine. AI tools for the Godot Editor in C#, with cloud connection to ai-game.dev. Apache-2.0.

What it solves

Godot-MCP bridges the gap between AI agents and the Godot game engine. It allows developers to use AI assistants—like Claude, Cursor, or GitHub Copilot—to directly inspect, modify, and manage Godot projects, automating tasks that would otherwise require manual editor interaction.

How it works

It functions as a C# editor addon that exposes Godot Editor operations as "AI Tools" via the Model Context Protocol (MCP). By connecting your Godot project to an MCP-aware agent, the AI can use a specialized query language called RQL to perform actions like creating nodes, editing scenes, managing resources, or executing C# and GDScript code. It supports both cloud-based and self-hosted setups and includes a command-line interface (godot-cli) to simplify installation and project configuration.

Who it’s for

This tool is designed for Godot developers using the C#/.NET edition (version 4.3+) who want to integrate AI agents into their game development workflow to speed up scene building, script management, and debugging.

Highlights

  • Broad AI Compatibility: Works with major AI agents like Claude, Cursor, and Copilot with no vendor lock-in.
  • RQL Integration: Uses a powerful Reflection Query Language (RQL) to query and mutate the scene tree, properties, and project settings in bulk.
  • Multi-Language Support: Can read, create, and update both C# and GDScript files.
  • Visual Feedback: Allows the AI to capture screenshots of the viewport, camera, or isolated nodes to better understand the game state.
  • Runtime Diagnostics: Provides tools to capture and poll in-game runtime errors and logs, helping the AI debug issues during playtests.

Related

  • Project
  • Project
  • Project
  • Project