Skip to main content
Glama
README.md
# 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

## Installation

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

Or with pip:
```bash
pip install -e mcp/godot-mcp
```

## Configuration

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

```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:
```json
{
  "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

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
ResponsivenessNo issues