Skip to main content
Glama

A production-grade Model Context Protocol (MCP) server that connects Anthropic's Claude AI directly with game engine runtimes (Unity & Godot). It enables automated testing, real-time error log filtering, scene hierarchy inspection, and safe file writing inside an isolated sandbox environment.


🌟 Key Features

  • Scene Hierarchy Inspection: Parse Unity (.unity) and Godot (.tscn) scenes to give Claude complete awareness of active nodes, GameObjects, and attached components.

  • Headless Test Runner: Execute game engine unit/integration tests directly without opening the GUI, avoiding command timeouts via asynchronous process handling.

  • Token-Optimized Log Filtering: Extracts only stacktraces, null-pointer exceptions, and compilation errors from engine logs to prevent blowing past context limits.

  • Strict Security Sandboxing: Protects host filesystems by restricting file read/write operations strictly to permitted game project folders.


Related MCP server: Godot-MCP

🛠️ Included Tools

  1. inspeccionar_jerarquia_escena: Returns a structured overview of GameObjects or Nodes inside a scene file.

  2. ejecutar_suite_pruebas_motor: Triggers Unity or Godot in EditMode/PlayMode headless testing modes.

  3. escribir_codigo_seguro: Safely writes/updates scripts inside the authorized project sandbox.

  4. analizar_fugas_memoria_y_logs: Synthesizes runtime logs to extract exceptions and performance metrics.


⚙️ Configuration for Claude Desktop

Add this block to your claude_desktop_config.json:

{
  "mcpServers": {
    "game-engine-runtime": {
      "command": "npx",
      "args": [
        "-y",
        "game-engine-runtime-mcp"
      ],
      "env": {
        "ALLOWED_PROJECT_PATHS": "C:/Users/YourUser/Projects/MyGame"
      }
    }
  }
}

Available Tools

4 tools
analizar_fugas_memoria_y_logsB

Lee los últimos logs de consola y los sintetiza automáticamente extraendo NullPointerExceptions, Warnings y métricas de rendimiento.

Inputs: logFilePath (required), maxErrors.

ejecutar_suite_pruebas_motorA

Ejecuta el Test Runner nativo del motor en modo Headless, filtrando el resultado para devolver solo fallos críticos y stacktraces limpios.

Inputs: engine (required), testMode (required), projectPath (required).

escribir_codigo_seguroA

Escribe o actualiza código dentro del Sandbox del proyecto verificando la estructura previa.

Inputs: content (required), projectPath (required), relativePath (required).

inspeccionar_jerarquia_escenaB

Analiza la escena o mapa actual del motor (Unity/Godot) y devuelve el árbol de objetos, nodos y componentes asignados.

Inputs: scenePath (required), projectPath (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct concern: scene hierarchy inspection, test execution, safe code editing, and log/memory analysis. There is no meaningful overlap or risk of an agent selecting the wrong tool.

    Naming Consistency5/5

    All tool names follow the same verb_noun pattern in lowercase snake_case: inspeccionar, ejecutar, escribir, analyzar. The naming is uniform and predictable.

    Tool Count4/5

    Four tools is a reasonable size for a focused engine-runtime toolbox. Each tool appears to serve a distinct workflow, though the set could be slightly richer for a broad 'runtime' server.

    Completeness3/5

    The set covers scene inspection, test execution, code editing, and log analysis, but lacks direct runtime control and live state mutation features like play/pause, object property changes, or scene manipulation. These gaps limit what an agent can accomplish in an actual running game engine session.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      Open-source MCP server connecting AI agents (Claude, Cursor, GitHub Copilot, Gemini, and more) to the Godot Editor and runtime (Godot 4.x, C#). Additionally you can use AI Game Dev app (https://ai-game.dev) to generate images, video, audio, 3D, rig, animation and much more.
      15
      383
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      An in-editor MCP server that exposes Unity convenience tools to AI assistants, allowing them to read console logs, execute menu items, dump scene hierarchies, and take screenshots.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that connects Claude to Unreal Engine 5.8 via the official Remote Control API, enabling asset manipulation, actor control, level operations, and AI-powered 3D model generation (via Meshy) through natural language.
      -