letsgal-ai MCP Server
Provides a bidirectional converter between Ren'Py-style code and LetsGal Studio Blocks, aligning with the official code editor syntax for story creation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@letsgal-ai MCP ServerInitialize a new LetsGal project and compile my story.dsl"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
letsgal-ai — AI-Assisted LetsGal Studio Creation Toolchain
Reverse-engineer the LetsGal Studio project format from scratch, turning it into something AI can create directly: One-line story DSL → fully runnable project (chapters/characters/scenes/branches/performances), with both CLI and MCP access, zero dependencies.
Format reference (reverse-engineered from official templates + v1.11.0 installer): docs/letsgal-format.md
Story DSL specification: docs/STORY-DSL.md
Why
LetsGal Studio is a desktop GUI editor (no MCP, no CLI), but everything it works with is just plain JSON on disk. This project fully programmatizes that format:
AI generates the script → one command compiles it into a project → Studio opens it and it just works (fine-tune performances/assets as needed)
Format is fully aligned with the official one (project.json / characters.json / scenes.json / chapters/*.json / assets/.manifest.json) — Studio opens it with zero errors, auto-fixes merged character expressions, and swaps assets naturally.
Related MCP server: RPG Maker MZ MCP Server
Quick Start
# 安装(无需依赖,直接 clone 或 npm link)
npm link # 或 node bin/letsgal-ai.js …
# 1. 初始化工程骨架
letsgal-ai init my-game --name "时间的河流"
# 2. 写故事(见 examples/example.dsl)→ 编译
letsgal-ai build story.dsl -o my-game --name "时间的河流"
# 3. 校验
letsgal-ai validate my-game
# 4. 用 LetsGal Studio 打开 my-game → 播放MCP (Direct AI Agent Invocation)
letsgal-ai mcp # stdio JSON-RPC 2.0,零依赖实现Exposed tools:
Tool | Description |
| Initialize project skeleton |
| Story DSL → full project (auto-registers characters/scenes) |
| Append dialogue/narration block |
| Validate structure + asset references |
| Register asset into .manifest.json |
| Chapter/Fragment statistics |
Any MCP client (Claude Code / DSH / custom) just configures node bin/letsgal-ai.js mcp.
CLI
letsgal-ai init <dir> [--name 标题]
letsgal-ai build <story.dsl> -o <dir> [--name 标题]
letsgal-ai validate <dir>
letsgal-ai list <dir>
letsgal-ai mcpUse as a Library
import { compileStory, initProject, validateProject, applyCharacterFlow, dialogue, narration, scene } from '@lilyco-42/letsgal-ai';Development
npm test # 冒烟测试:init → build → validate → MCP 握手License & Credits
This tool is MIT licensed; contains no assets. Generated projects can directly use LetsGal Studio's official template assets (bundled with the engine).
Reverse-engineering based on: LetsGal Studio v1.1.0 (Windows) installer + official template project.
Roadmap
Ren'Py-style code ↔ Block bidirectional conversion (aligned with the official code editor syntax)
Headless build (reuse official build-worker to produce web version)
lilyco (Rust) native component:
lilyco-letsgal(see docs/lyco-integration.md)
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
Generate game-ready 3D models, textures, and audio from natural language, over MCP.
Create and manage Mermaid.js flowcharts and diagrams with AI agents via MCP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
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-
- AlicenseBqualityNot gradedmaintenanceEnables complete RPG Maker MZ game development through MCP tools, including autonomous game creation from concepts, AI-generated assets using Gemini 2.5 Flash, and programmatic control over maps, events, characters, and databases. Supports full game creation workflow from a single command with automatic story, asset, and implementation generation.3225-
- FlicenseNot gradedqualityCmaintenanceMCP server that automates WebGAL game development tasks such as resource management, script editing, documentation lookup, and AI-powered voice generation using LLMs.361-
- AlicenseNot gradedqualityAmaintenanceProvides 70+ MCP tools for creating and managing Ren'Py projects, enabling natural language requirements to be converted into editable projects with build, preview, and asset generation capabilities.MIT