شعار Ren'Py MCP Server

Ren'Py MCP Server

المجتمع
banjtheman

MCP Server to build Renpy Games

الناشرbanjtheman
المستودعrenpy_mcp_server
اللغةTypeScript
التفريعات
10
النجوم
63
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Ren'Py MCP Server إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 63، والنسخ المتفرعة: 10 في المستودع المرتبط.

Ren'Py Skill for Codex

Create visual novels directly in your workspace: write the story, generate character art, build for the web, and playtest in the browser.

Use the Ren'Py skill for new games. It is the recommended workflow in this repository. The Python MCP server and Ren'Py Studio MCP App remain available for existing integrations; their setup is in the legacy server guide and Studio documentation.

Install the skill

Install with the Skills CLI:

sh
npx skills add banjtheman/renpy_mcp_server --skill renpy --agent codex --global

Omit --global for a project-local installation. Use npx skills add banjtheman/renpy_mcp_server --list to inspect the available skills before installing. Node.js/npm is needed for this installer; the Ren'Py helper itself uses Python.

Or ask Codex to use its bundled installer:

text
Use $skill-installer to install the Ren'Py skill from
https://github.com/banjtheman/renpy_mcp_server/tree/main/skills/renpy

For a manual installation, copy the entire skills/renpy folder into your Codex skills directory. The bundled skill installer uses $CODEX_HOME/skills, which defaults to ~/.codex/skills. Keep its scripts, assets, and references together. If a renpy skill already exists there, update that installation rather than nesting another folder inside it. The skill works independently of this repository once copied.

Start a fresh Codex task in the workspace where you want the game and ask:

text
Use $renpy to make a short mystery visual novel with two distinct endings.
Generate backgrounds and consistent character expressions with native ImageGen.
Build it for the web, open the preview, and playtest both endings in the browser.

For an existing game, include its project path and the change you want. See adopting the skill in an existing project.

What the workflow includes

  • Direct authoring: ordinary .rpy scripts, game assets, and concise story notes in your workspace.
  • Native ImageGen: backgrounds and character variants based on inspected references, with checks for lighting, pose, framing, and real transparency. The native host manages its image model.
  • Reproducible web builds: a pinned Ren'Py 8.5.3 SDK and matching web runtime, verified downloads, engine lint, and upstream web_build packaging.
  • Local browser preview: an owned loopback server, build logs, and explicit rebuild/reload behavior.
  • Browser playtesting: screenshots and story state, with WebMCP actions for reading state, starting, advancing dialogue, and choosing an option. An accessible controls panel is available when native WebMCP is unsupported.

Game creation does not require configuring an MCP server, running the repository's setup.sh, or installing its Gemini dependencies. Those belong to the legacy integration. The skill's helper uses Python's standard library and the SDK's bundled runtime.

Requirements and tools

Use Python 3.11.8+, network access for the initial SDK download, and a browser for preview. Generated art additionally needs native ImageGen in the host. WebMCP needs a compatible browser; ordinary gameplay and the fallback controls work without it. The SDK pin and browser workflow were verified on macOS; consult the validation record for the checks performed.

Codex normally invokes the helper for you. You can also use it directly from this checkout with a Python 3.11.8+ interpreter available as python:

sh
python skills/renpy/scripts/renpy.py setup
python skills/renpy/scripts/renpy.py doctor
python skills/renpy/scripts/renpy.py init /absolute/path/my-game --title "My Game"
python skills/renpy/scripts/renpy.py lint /absolute/path/my-game
python skills/renpy/scripts/renpy.py build-web /absolute/path/my-game
python skills/renpy/scripts/renpy.py serve /absolute/path/my-game

serve returns the preview URL. After edits, rebuild with build-web /absolute/path/my-game --force and reload the browser. Use status /absolute/path/my-game or stop /absolute/path/my-game with the same helper to inspect or stop the preview.

Web builds go into a sibling my-game-web directory. The separate test command runs authored Ren'Py testcases and opens a native game window; browser playtests are the default for web previews.

Documentation

Watch Codex play through WebMCP

The web build exposes four semantic tools directly to a compatible browser. Codex can discover and invoke them through its browser's native WebMCP capability:

ToolWhat Codex can do
renpy_get_stateRead the visible dialogue, choices, phase, and deliberately public story variables.
renpy_startStart the game from its main menu.
renpy_advanceReveal or advance the current dialogue.
renpy_chooseSelect an enabled choice using its returned ID.

Actions use the current state revision so an agent cannot accidentally act on an outdated menu. The bridge runs inside the web game and preserves normal Ren'Py choice behavior. This is browser-native WebMCP; it does not require launching the repository's MCP server.

Playtests combine these state-driven actions with screenshots of the actual game. A JavaScript fallback or a successful build alone does not demonstrate native WebMCP. The validation record identifies the native calls and routes already exercised.

The timelapse recording plan follows a real Codex session from the initial prompt through story, art, web build, and direct WebMCP gameplay. The new recording will be added here once captured; the older MCP demos are preserved in the legacy guide.

Existing MCP integrations

The repository name remains renpy_mcp_server, so existing clone URLs continue to work. The server code, entry point, and Studio App remain in place. Use the legacy MCP server guide, MCP integration examples, or Studio App README when maintaining those integrations.

License

MIT.

التثبيت

TypingMind
{
  "mcpServers": {
    "renpy-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "{{config.RENPY_MCP_SERVER_PATH}}",
        "run",
        "renpy-mcp-server"
      ],
      "env": {
        "RENPY_MCP_SERVER_PATH": "<RENPY_MCP_SERVER_PATH>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "RENPY_SDK_PATH": "<RENPY_SDK_PATH>"
      }
    }
  }
}

استخدم MCP الخاص بـ Ren'Py MCP Server مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Ren'Py MCP Server، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Ren'Py MCP Server كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Ren'Py MCP Server.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "renpy-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Ren'Py MCP Server، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Ren'Py MCP Server.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Ren'Py MCP Server لمساعدتي في هذه المهمة؟
Ren'Py MCP Server
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Ren'Py MCP Server.

الأسئلة الشائعة

ما استخدامات خادم MCP Ren'Py MCP Server؟

Ren'Py MCP Server هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Ren'Py MCP Server مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Ren'Py MCP Server مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Ren'Py MCP Server مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Ren'Py MCP Server، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Ren'Py MCP Server بـ TypingMind؟

يعمل Ren'Py MCP Server عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Ren'Py MCP Server في TypingMind؟

يتيح Ren'Py MCP Server إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Ren'Py MCP Server؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Ren'Py MCP Server يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇