Servidor MCP que permite ejecutar tests de Godot con GUT desde cualquier IA
Project description
Godot GUT MCP
Servidor MCP que permite a asistentes de IA (Claude, Cursor, etc.) ejecutar las pruebas unitarias de tu juego en Godot usando GUT, y leer los resultados de forma estructurada. Ideal para el ciclo "la IA escribe código → ejecuta los tests → lee los fallos → corrige".
Requisitos
- Python 3.10 o superior
- Godot 4.x
- GUT 9.x instalado en tu proyecto (carpeta
res://addons/gut/)
Instalación
pip install godot-gut-mcp
Configuración en Claude Desktop
Configuración en Claude Desktop
Añade esto a tu archivo claude_desktop_config.json:
{
"mcpServers": {
"godot-gut": {
"command": "uv",
"args": ["run", "--with", "godot-gut-mcp", "godot-gut-mcp"],
"env": {
"GODOT_PATH": "C:/ruta/a/godot.exe",
"GODOT_PROJECT_PATH": "C:/ruta/a/tu/proyecto"
}
}
}
}
GODOT_PATH: ruta al ejecutable de Godot.GODOT_PROJECT_PATH: ruta a la carpeta de tu proyecto (la que contieneproject.godot).
Herramientas disponibles
| Herramienta | Qué hace |
|---|---|
run_all_tests |
Ejecuta toda la suite de pruebas y devuelve un resumen |
run_test_file |
Ejecuta un archivo de pruebas concreto |
get_failures |
Devuelve solo las pruebas que fallaron, con el mensaje y la línea del error |
Ejemplo de respuesta
{
"summary": { "passing": 1, "failing": 1, "all_passed": false },
"tests": [
{
"test": "test_suma_basica",
"status": "failed",
"message": "expected to equal [2]: Dos más dos debe ser cuatro",
"line": 4
}
]
}
Licencia
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file godot_gut_mcp-0.1.2.tar.gz.
File metadata
- Download URL: godot_gut_mcp-0.1.2.tar.gz
- Upload date:
- Size: 7.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fa3bb5b90ef731f9fd44986bfb71660a25248773792d85e3007734358dc86f5
|
|
| MD5 |
de4b7850952423971b9651b9b58074fb
|
|
| BLAKE2b-256 |
f8747fe16fbbc09c1274f64a6f4e5a337066dfef6200c2f462473a378bc1757e
|
File details
Details for the file godot_gut_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: godot_gut_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16cf724ada1fe06e31a7fa201417b411c1df4d1ceb63afe528aa78679a18fc20
|
|
| MD5 |
b180dab014d48054a82e656d8d6bd2e8
|
|
| BLAKE2b-256 |
9b1b34c8aef3de3b40e6b1decfe7c59eef2057f7cb3a9fb34e6ee8331685e759
|