Skip to main content
Glama

renpy-mcp

Ein MCP-Server, der den Editor-Assistenten (Claude Code, Cursor, Copilot, Codex, Zed und alles andere, das MCP spricht) erlaubt, an einem Ren'Py-Projekt über die Kommandozeile des Ren'Py-SDK zu arbeiten, statt zu raten, wie renpy.sh aufgerufen werden muss.

Jedes dieser Werkzeuge er ist ein dünner Wrapper um einen Befehl, den das SDK bereits besitzt. Nichts davon implementiert die Engine neu.

Hintergrund: renpy.

Werkzeuge

Werkzeug

Was ausgeführt wird

Was du zurückbekommst

renpy_lint

lint

Probleme als {file, line, message}, Notizen, Statistiken. Nutzt lint --format json auf SDKs, die es unterstützten (#7314), und parst bei älteren SDKs den Textbericht, sodass die Form in beiden Fällen dieselbe ist.

renpy_project_info

quit --json-dump

Labels, Screens, Transforms und Defines mit Datei und Zeile; Name, Version, Auflösung; den Label-Flussgraph, wo das SDK ihn exportiert (#7318).

renpy_flow

quit --json-dump

Der Fluss eines Labels: jumps, calls, Menüs und ihre Auswahlmöglichkeiten, Fall-through sowie die Labels, die es erweichen.

renpy_compile

compile

Parse-Fehler als {file, line, message}.

renpy_run_tes

test [filters]

Status bestanden/fehlgeschlagen, die [rpytest]-Zusammenfassung, The fehlgeschlagenen, Ende der Ausgabe. Öffnet ein Fenster.

renpy_last_traceback

liest Date

traceback.txt, errors.txt und log.txt aus dem Projekt.

renpy_run_command

Beliebiger

Führt einen beliebige CLI-Befehl aus (renpy translate french, add_il --dry-run, dialogue, ...) und gibt dessen Ausgabe zurück.

renpy_version

--version

Welches SDK verwendet wird.

Related MCP server: Godot MCP

Einrichtung

Du brauchst ein irgendwo entpacktes Ren'Py-SDK (8) und Pythie 3.10+It's.

uv tool install renpy-mcp        # or: pipx install renpy-mcp
renpy-mcp --check                # confirms which SDK it found

Das SDK wird über --sdk gefunden, dann über die Umgebungsvariable RENPY_SDK, dann über eine Suche an den üblichen Orten (deinem Benutzerverzeichnis, Downloads, /opt, /Applications, C:\). Falls --check das falsche findt, setze RENPY_SDK.

Claude Code

claude mcp add renpy -- renpy-mcp --sdk /path/to/renpy-8.5.3-sdk

Cursor / VS Code / weitere

Füge einen stdio-Server-Eintrag hinzu:

{
  "mcpServers": {
    "renpy": {
      "command": "renpy-mcp",
      "args": ["--sdk", "/path/to/renpy-8.5.3-sdk"]
    }
  }
}

Aus einem Checkout

uv run renpy-mcp --sdk /path/to/sdk --check
uv run pytest                                     # parser tests
RENPY_SDK=/path/to/sdk uv run pytest              # plus the tests that drive the real SDK

Hinweise

  • Pfade, die als project übergeben werden, sind das Basisverzeichnis des Projekts (dasjenige, das game enthält). Auch direkt auf game zu zeigen funktioniert.

  • renpy_run_tests und alles, was das Spiel startet, benetigt ein Display. Alles andere läuft mit Dummy-Video- und Audio-Treibern, was das SDK für es selbst erledigt.

  • Die Ausgabe auf 20,000 Zeichen pro Feld ist begrentz; der Anfang wird verworfen, nicht das Ende, da dort üblicheweise der gr Fehler liegt.

  • Die CLI des SDK ist keine stabile Schnittstelle, und dieses Projekt ebenfalls nicht. Die Tools richeten sich an der CLI-Dokumentation der aktuellen Version aus.

Lizenz

MIT.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables comprehensive management of TyranoStudio visual novel projects including project creation, scenario editing with syntax validation, resource management, and TyranoScript development assistance. Supports project analysis, template generation, and Git integration for visual novel game development.
    2
    -
  • A
    license
    A
    quality
    F
    maintenance
    Enables AI assistants to interact with the Godot game engine by launching the editor, running projects, capturing debug output, managing scenes and nodes, and controlling project execution through a standardized interface.
    18
    147
    11
    MIT
  • A
    license
    B
    quality
    Not graded
    maintenance
    Enables AI assistants to interact with the Godot game engine by launching the editor, running projects, capturing debug output, managing scenes and nodes, and controlling project execution through a standardized interface.
    14
    147
    1
    -
  • A
    license
    B
    quality
    C
    maintenance
    Enables AI assistants to interact with the Godot game engine, including launching the editor, running projects, capturing debug output, and managing scenes.
    84
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wgu9/renpy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server