@scenar/mcp-server
v0.10.0
Published
Model Context Protocol server for Scenar — lets AI editors scan, author, narrate, pack, serve, and publish scenario tours.
Maintainers
Readme
@scenar/mcp-server
The Model Context Protocol server for
Scenar — it lets AI editors (Cursor, Claude
Desktop, etc.) bootstrap a demos project, author a scenario tour, narrate it,
pack it, and serve or publish the embed. A thin, type-safe wrapper over the
@scenar/cli programmatic API.
Install in Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"scenar": { "command": "npx", "args": ["-y", "@scenar/mcp-server"] }
}
}Then add the bundled authoring skill so the model knows the scenario model:
mkdir -p .cursor/skills
cp -R node_modules/@scenar/mcp-server/skill .cursor/skills/scenarRestart your editor.
Tools
| Tool | What it does |
|------|-------------|
| scenar_install | Bootstrap a demos project → scaffold + add deps + starter tour |
| scenar_validate | Validate a scenario YAML or directory |
| scenar_narrate | Synthesize TTS audio for a scenario |
| scenar_pack | Bundle a scenario into a static embed |
| scenar_serve | Serve a packed bundle locally; returns the URL |
| scenar_stop_serve | Stop a server started by scenar_serve |
| scenar_publish | Deploy a packed bundle to GitHub Pages; returns the URL |
| scenar_render | Render a scenario to MP4 |
Resources
scenar://scenario/{name}/steps and scenar://scenario/{name}/manifest expose
read-only context the model can inspect.
See the Scenar docs for configuration in other editors.
License
Apache-2.0
