Skip to main content
Glama

Godot MCP Server

An MCP (Model Context Protocol) server that provides tools for Godot Engine development.

Features

  • godot_run_tests - Run GUT (Godot Unit Test) tests and get structured results

  • godot_check_errors - Check for parse/syntax errors without running the game

  • godot_import - Import/reimport assets

  • godot_run_scene - Run a specific scene

  • godot_export - Export project to a platform

Related MCP server: godotlens-mcp

Installation

cd mcp/godot-mcp
uv pip install -e .

Or with pip:

pip install -e mcp/godot-mcp

Configuration

Add to your Claude Code MCP configuration (~/.claude/mcp.json):

{
  "mcpServers": {
    "godot": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp/godot-mcp", "godot-mcp"],
      "env": {
        "QT_QPA_PLATFORM": "xcb",
        "__GLX_VENDOR_LIBRARY_NAME": "mesa"
      }
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "godot": {
      "command": "godot-mcp"
    }
  }
}

Usage

Once configured, Claude Code can use these tools:

Run Tests

Use godot_run_tests to run the unit tests

Check for Errors

Use godot_check_errors to check for parse errors

Run a Scene

Use godot_run_scene to run the game

Requirements

  • Python 3.10+

  • Godot 4.x installed and in PATH

  • GUT (Godot Unit Test) addon for test functionality

License

MIT

Available Tools

5 tools
godot_check_errorsA

Check a Godot project for parse errors and syntax issues without running the game.

Inputs: project_path.

godot_exportC

Export a Godot project to a specific platform.

Inputs: preset (required), output_path (required), project_path.

godot_importA

Import/reimport assets in a Godot project. Useful after adding new files.

Inputs: project_path.

godot_run_sceneA

Run a specific scene in the Godot project (non-headless, will open a window).

Inputs: project_path, scene, timeout.

godot_run_testsA

Run GUT (Godot Unit Test) tests for a Godot project. Returns test results including pass/fail counts and any failures.

Inputs: project_path, test_dir, test_script, timeout.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: checking errors, exporting projects, importing assets, running scenes, and running tests. The descriptions specify unique actions (e.g., parse errors vs. export vs. import), making it easy for an agent to select the correct tool without confusion.

    Naming Consistency5/5

    All tool names follow a consistent 'godot_verb_noun' pattern (e.g., godot_check_errors, godot_export, godot_import), using snake_case throughout. This predictability enhances readability and reduces cognitive load for agents when scanning the toolset.

    Tool Count4/5

    With 5 tools, the count is well-scoped for a Godot project management server, covering key development tasks. It's slightly lean but reasonable, as each tool earns its place without feeling bloated or insufficient for common workflows like testing and deployment.

    Completeness4/5

    The toolset covers essential Godot project operations: error checking, exporting, importing, running scenes, and running tests. Minor gaps exist, such as no project creation or build management tools, but agents can work around these for core development tasks without significant failures.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      An MCP server for Godot game development that provides 45 tools for reading, analyzing, and editing projects. It enables users to manage scene trees, navigate GDScript symbols, and interact with the Godot runtime for debugging and state capture.
      52
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI assistants to directly run, inspect, modify, and debug Godot game development projects through 110+ tools covering scenes, scripts, resources, runtime debugging, and asset management.
      33
      3
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      An MCP server that enables AI agents to interact with the Godot game engine by launching the editor, running projects, capturing debug output, and managing scenes and resources. It provides tools for project analysis, scene creation, and execution control to help agents understand and debug Godot projects in real-time.
      14
      MIT