renpy-mcp
renpy-mcp
エディタアシスタント(Claude Code、Cursor、Copilot、Codex、Zed、その他MCPに対応しているもの)が、renpy.sh の呼び出しを推測しなくても、Ren'Py SDKのコマンドラインを通じてRen'Pyプロジェクトを操作できるようにするMCPサーバーです。
各ツールは、SDKがすでに持っているコマンドの薄いラッパーです。ここでエンジンを再実装することはありません。
背景: renpy/renpy#7313。
ツール
ツール | 実行するもの | 戻り値 |
|
| 問題を |
|
| ファイルパスと行番号付きのラベル、screens、transforms、defines、名前、バージョン、解像度を返し、SDKが出力する場合はラベルフローグラフ(#7318)も返します。 |
|
| 1つのラベルのフロー(ジャンプ、呼び出し、メニューとその選択肢、フォールスルー)と、そのラベルに到達するラベルを返します。 |
|
| 解析エラーを |
|
| 成功/失敗の状態、 |
| ファイルの読み取り | プロジェクト内の |
| 任意のコマンド | 任意のCLIコマンド( |
|
| どのSDKが使われているかを返します。 |
Related MCP server: Godot MCP
セットアップ
Ren'Py SDK(8.x)をどこかに展開しておくことと、Python 3.10+が必要です。
uv tool install renpy-mcp # or: pipx install renpy-mcp
renpy-mcp --check # confirms which SDK it foundSDKは、--sdk、次にRENPY_SDK環境変数、その後に一般的な場所(ホームディレクトリ、Downloads、/opt、/Applications、C:\)の順で検索されます。--checkが誤ったSDKを発見した場合は、RENPY_SDKを設定してください。
Claude Code
claude mcp add renpy -- renpy-mcp --sdk /path/to/renpy-8.5.3-sdkCursor / VS Code / その他
stdioサーバーのエントリを追加します:
{
"mcpServers": {
"renpy": {
"command": "renpy-mcp",
"args": ["--sdk", "/path/to/renpy-8.5.3-sdk"]
}
}
}チェックアウトから
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メモ
projectとして渡すパスは、プロジェクトのベースディレクトリ(gameがその中にあるもの)です。game自体を指定しても機能します。renpy_run_last_tracebackと、ゲームを起動するコマンドにはディプレイが必要です。それ以外は、SDKがそれらのコマンドで独自に使用するダミーのビデオ/オーディオドライバで実行されるためです。各フィールドの出力は20,000文字に制限されています。エラーは通常の末尾に現れるため、切り捨てられるのは末尾ではなく、先頭側です。
SDKのCLIは安定したインターフェイスではなく、このサーバーも同様です。ツールは現行リリースのCLIドキュメントに追従しています。
ライセンス
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.
This server cannot be installed
Maintenance
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
Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Develop, manage, and debug Railway projects, services, and deployments from within agents.
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables 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-
- AlicenseAqualityFmaintenanceEnables 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.1814711MIT
- AlicenseBqualityNot gradedmaintenanceEnables 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.141471-
- AlicenseBqualityCmaintenanceEnables AI assistants to interact with the Godot game engine, including launching the editor, running projects, capturing debug output, and managing scenes.841MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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