Skip to main content
Glama

renpy-mcp

An MCP server that lets editor assistants (Claude Code, Cursor, Copilot, Codex, Zed, and anything else that speaks MCP) work on a Ren'Py project through the Ren'Py SDK's command line, instead of guessing at renpy.sh invocations.

Every tool is a thin wrapper over a command the SDK already has. Nothing here reimplements the engine.

Background: renpy/renpy#7313.

Tools

Tool

What it runs

What you get back

renpy_lint

lint

Problems as {file, line, message}, notes, statistics. Uses lint --format json on SDKs that have it (#7314) and parses the text report on older ones, so the shape is the same either way.

renpy_project_info

quit --json-dump

Labels, screens, transforms, and defines with file and line; name, version, resolution; the label flow graph where the SDK exports it (#7318).

renpy_flow

quit --json-dump

The flow for one label: jumps, calls, menus and their choices, fall-through, plus which labels reach it.

renpy_compile

compile

Parse errors as {file, line, message}.

renpy_run_tests

test [filters]

Pass/fail status, the [rpytest] summary, failures, output tail. Opens a window.

renpy_last_traceback

reads files

traceback.txt, errors.txt, and log.txt from the project.

renpy_run_command

anything

Runs any CLI command (translate french, add_ids --dry-run, dialogue, ...) and returns its output.

renpy_version

--version

Which SDK is in use.

Related MCP server: Godot MCP

Setup

You need a Ren'Py SDK (8.x) unpacked somewhere, and Python 3.10+.

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

The SDK is found from --sdk, then the RENPY_SDK environment variable, then a search of the usual places (your home directory, Downloads, /opt, /Applications, C:\). If --check finds the wrong one, set RENPY_SDK.

Claude Code

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

Cursor / VS Code / others

Add a stdio server entry:

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

From a 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

Notes

  • Paths passed as project are the project's base directory (the one with game in it). Pointing at game itself also works.

  • renpy_run_tests and anything that starts the game need a display. Everything else runs with dummy video and audio drivers, which the SDK does on its own for those commands.

  • Output is capped at 20,000 characters per field; the head is dropped, not the tail, since that's where the error usually is.

  • The SDK's CLI isn't a stable interface, and neither is this. The tools track the CLI documentation for the current release.

License

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
    248
    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
    248
    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