Demo Studio MCP Server
Optional text-to-speech integration for narration; tools configure API credentials and list available voices, and renders can synthesize narration audio through ElevenLabs.
Optional text-to-speech integration for narration; tools configure API credentials and list available voices, and renders can synthesize narration audio through OpenAI.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🎬 Demo Studio MCP Server
An MCP server that turns a JSON storyboard into an MP4 software demo: animated flow diagrams, annotated screenshots, scripted web recordings, narration, and burned captions.
🚀 Hosted Cloud (MCPize.com) & Pro Agent Skill Bundles (Agensi.io)
Use this server locally for free over stdio (uvx), or subscribe to the hosted cloud endpoints on MCPize.com paired with production SKILL.md playbooks on Agensi.io:
Tier | Offering | Cloud Runtime (MCPize.com) | Pro Playbook (Agensi.io) | What's Included |
Free Demo | Starter Access |
|
| Local stdio server and the sample storyboard |
Individual Pro (This Repo) |
|
|
| All 20 storyboard, capture, and render tools plus 4 demo workflows |
3-in-1 Bundle | Production demo pipeline |
|
| Placeholder for a later bundle |
6-in-1 Master Suite | Enterprise SDLC Orchestrator |
|
| Placeholder for a later suite |
Related MCP server: aidemo
📋 Table of Contents
🌐 Overview
Demo Studio MCP Server is a Python application built with the official MCP Python SDK 2.x. An agent creates a project, adds scenes, and renders an MP4 plus SRT. A second render reuses any scene whose content hash is unchanged.
How is this different from screen recorders?
A screen recorder captures whatever is on the desktop. This server builds the demo from a storyboard: flow diagrams are laid out and animated frame by frame, screenshots get a Ken Burns move and callouts, and a web walkthrough is a list of Playwright actions with a visible cursor. Narration timing sets the scene length. The voice carries the explanation. Subtitles are written to an SRT file and are not burned into the picture unless burn_subtitles is true. Nothing here needs a paid API key. edge-tts is the default voice.
In HTTP mode the paths you pass are on the server's disk, not the machine where the chat client runs. This version has no upload endpoint. Use stdio when the files live on your computer.
✨ Key Features
Feature | Description |
Flow diagrams | Nodes, groups, Bezier edges, moving packets, and a camera that moves to the active step |
Annotated screenshots | Window chrome, Ken Burns, spotlight, callouts |
Web walkthroughs | Scripted Playwright actions and a visible cursor |
Video clips | Trim, speed, and zoom an existing recording |
Narration | edge-tts by default; OpenAI and ElevenLabs when a key is stored |
Captions | SRT and VTT sidecars, burned lower-third or word-highlight captions |
Cache | Unchanged scenes are skipped on the next render |
stdio and HTTP | Local IDEs use stdio. Containers use streamable HTTP |
🏗️ Architecture
AI IDE (Cursor, Claude, Antigravity, VS Code, Windsurf)
|
| MCP stdio or streamable HTTP
v
demo-studio-mcp
|-- project.json storyboard
|-- flow layout + HTML/GSAP
|-- screenshot animator
|-- Playwright (frames or web video)
|-- edge-tts / optional cloud TTS
v
FFmpeg: normalize, xfade, loudnorm, duck music, burn captions
|
v
out/<slug>-<render>.mp4 + .srt📦 Prerequisites
Python 3.10 or newer (3.14 is what this repo was built with on Windows)
FFmpeg on
PATH, or the binary shipped withimageio-ffmpeg(installed with this package)Chromium for Playwright:
uv run playwright install chromium
ffprobe is optional. Without it, durations are read from ffmpeg -i stderr.
📥 Installation & Setup
uvx
uvx demo-studio-mcpClone and sync
git clone https://github.com/Pawangunjkar/demo-studio-mcp.git
cd demo-studio-mcp
uv venv --python C:/Users/pawan/AppData/Local/Programs/Python/Python314/python.exe
uv sync
uv run playwright install chromium
uv run demo-studio-mcpOn macOS or Linux, uv sync with any Python 3.10+ is enough. On this Windows machine, pydantic is pinned to 2.13.5 because a newer pydantic-core is blocked by App Control. See DECISIONS.md.
Smithery
npx -y @smithery/cli install demo-studio-mcp --client cursorSmithery reads smithery.yaml. Align the uvx package name with the published PyPI name before you submit. See PUBLISHING.md.
⚙️ Configuring Your AI IDE
1. Cursor
.cursor/mcp.json (this file is gitignored):
{
"mcpServers": {
"demo-studio": {
"command": "uv",
"args": [
"run",
"--directory",
"C:\\AI_Workspaces\\Anti_Workspace\\demo-studio-mcp",
"demo-studio-mcp"
]
}
}
}2. Claude Code
claude mcp add demo-studio -- uv run --directory C:\AI_Workspaces\Anti_Workspace\demo-studio-mcp demo-studio-mcp3. Claude Desktop
{
"mcpServers": {
"demo-studio": {
"command": "uv",
"args": ["run", "--directory", "C:\\AI_Workspaces\\Anti_Workspace\\demo-studio-mcp", "demo-studio-mcp"]
}
}
}4. Antigravity (Google DeepMind)
mcp_config.json:
{
"mcpServers": {
"demo-studio": {
"command": "uv",
"args": ["run", "--directory", "C:\\AI_Workspaces\\Anti_Workspace\\demo-studio-mcp", "demo-studio-mcp"]
}
}
}5. VS Code with Continue / Cline
{
"mcpServers": {
"demo-studio": {
"command": "uv",
"args": ["run", "--directory", "C:\\AI_Workspaces\\Anti_Workspace\\demo-studio-mcp", "demo-studio-mcp"]
}
}
}6. Windsurf
{
"mcpServers": {
"demo-studio": {
"command": "uv",
"args": ["run", "--directory", "C:\\AI_Workspaces\\Anti_Workspace\\demo-studio-mcp", "demo-studio-mcp"]
}
}
}🔧 Environment Variables
Variable | Default | Purpose |
|
| Projects, logs, and jobs |
|
| Optional TTS key file and the edge-tts voice cache |
| discovered, then imageio-ffmpeg | ffmpeg binary |
|
| Probe binary. If missing, |
|
| Background render threads |
| unset | Set to |
| unset | Optional OpenAI TTS |
| unset | Optional ElevenLabs TTS |
|
|
|
|
| HTTP port |
|
| HTTP bind address |
--http or a Cloud Run K_SERVICE value also selects streamable HTTP.
🧰 Complete Tool Reference
Tools return plain text. Success starts with ✅, a warning with ⚠️, and an error with ❌. Structured results also include a fenced JSON block. A tool does not raise into the client.
Category 1: Environment and setup
demo_check_environment
No inputs. Reports Python, ffmpeg, ffprobe, Chromium, edge-tts, and whether the data root is writable. Each failure includes the command to run.
demo_check_environment()demo_set_tts_credentials
Parameter | Meaning |
|
|
| Key. It is never printed back |
| Write |
demo_set_tts_credentials(provider="openai", api_key="sk-...", save_to_cache=false)demo_list_voices
Parameter | Meaning |
|
|
| Optional filter such as |
demo_list_voices(provider="edge", language="en")Category 2: Projects
demo_create_project
Parameter | Meaning |
| Display name |
| Optional existing folder. Default is the data root |
|
|
|
|
| Optional |
|
|
demo_create_project(name="Order Service Walkthrough", theme="saas-dark", aspect_ratio="16:9", resolution="1920x1080", fps=30)demo_list_projects
No inputs. Lists id, name, scene count, and last update.
demo_get_project
Parameter | Meaning |
| Id from create or list |
Returns settings, a scene table with cache status, and JSON.
demo_delete_project
Parameter | Meaning |
| Project to remove |
| Without |
Category 3: Title and screenshot scenes
demo_add_title_scene
Parameter | Meaning |
| Project |
| Headline |
| Optional second line |
| Optional spoken text |
| Optional small label |
|
|
| Used only when there is no narration |
demo_add_title_scene(project_id="acme-api-3f9a1c", title="Order Service Walkthrough", subtitle="How a checkout request flows", style="intro")demo_add_screenshot_scene
Parameter | Meaning |
| Project |
| Existing image. It is copied into |
| Optional |
| JSON |
| JSON list of |
| JSON list of |
|
|
|
|
demo_add_screenshot_scene(project_id="acme-api-3f9a1c", image_path="dashboard.png", window_frame="browser", highlights="[{\"x\":40,\"y\":80,\"w\":240,\"h\":80,\"label\":\"Orders\"}]", callouts="[{\"x\":160,\"y\":120,\"text\":\"New orders land here\"}]")Category 4: Flow diagrams
demo_validate_flow_spec
Parameter | Meaning |
| FlowSpec JSON. Nothing is saved |
Returns errors, warnings, and a layout summary.
demo_add_flow_diagram_scene
Parameter | Meaning |
| Project |
| Scene title |
| FlowSpec JSON |
| Optional. Step |
| Optional theme override |
demo_add_flow_diagram_scene(project_id="acme-api-3f9a1c", title="Checkout", flow_spec="{...}", narration_script="A user clicks Place Order. The gateway forwards it. The service stores the row.")Built-in icons: browser, gateway, server, database, queue, cloud, user, lock, cache, function, generic. An unknown icon becomes generic and the tool warns. More than 12 nodes is an error. More than 8 is a warning.
camera_mode is optional. guided (the default) holds a fit-all overview, zooms to each step between 1.25x and 1.5x, then eases back to the whole diagram. static leaves the camera at identity so the whole diagram stays in frame and only reveals, glows, and packets move. Any other value is an error from demo_validate_flow_spec.
Category 5: Recording, clips, and audio
demo_record_web_clip
Parameter | Meaning |
| Project |
|
|
| JSON list. Types: |
| Optional JSON |
| Optional |
A fill whose selector contains password is logged as ***. If an action fails, the partial recording is kept and the tool returns ❌ with the action index.
demo_add_video_clip_scene
Parameter | Meaning |
| Project |
|
|
| Trim |
|
|
| Optional |
| Default true |
| JSON list of |
demo_import_audio_or_transcript
Parameter | Meaning |
| Project |
| Empty means project level |
| Optional audio file, copied in |
| Optional SRT or VTT, copied in |
Imported transcript times are used as they are. They are not reflowed to the 42-character cue rules. A transcript without audio sets the scene duration from the last cue.
Category 6: Storyboard editing
demo_reorder_scenes
Parameter | Meaning |
| Project |
| JSON list of every scene id exactly once |
demo_delete_scene
Parameter | Meaning |
| Project |
| Scene |
| Without |
Category 7: Preview and render
demo_preview_frame
Parameter | Meaning |
| Project |
| Scene |
| Time inside the scene |
Returns the PNG path, width, and height.
demo_render_project
Parameter | Meaning |
| Project |
| Optional. Default is the project voice ( |
|
|
| Optional music file, copied in, ducked under narration |
| Default false. The SRT is always written. Burn only when the video must be watched muted |
|
|
|
|
| Default true. Returns a job id immediately |
| Default false. Required to replace an existing final file |
demo_render_project(project_id="acme-api-3f9a1c", async_mode=true, transition_type="fade")demo_get_render_status
Parameter | Meaning |
| Id from the render tool |
demo_cancel_render
Parameter | Meaning |
| Job to stop |
The worker checks the flag between scenes and every 10 frames.
🎞️ Example Workflow
examples/build_sample_demo.py builds the acceptance demo:
Create a 1920x1080, 30 fps,
saas-darkproject.Intro title: "Order Service Walkthrough".
Four-node checkout flow with three narration sentences and three steps.
Browser-framed dashboard screenshot with one highlight and one callout.
Outro: "Thanks for watching".
demo_render_projectwithasync_mode=true, burned captions, and a fade. Polldemo_get_render_statusevery 2 seconds.
The script checks the MP4 with ffmpeg: 1920x1080, 30 fps, one H.264 stream, one AAC stream. It then renders again and expects every scene to be cached.
uv run python scripts/make_fixtures.py
uv run python examples/build_sample_demo.pyscripts/ is gitignored. The dashboard PNG is also written to tests/fixtures/dashboard.png when you run the fixture script, and the example generates that PNG itself if it is missing.
🔒 Security Best Practices
User files are copied into the project
assets/folder. The render does not keep using the original path.Tools refuse to write outside the project folder and the data root.
Only
httpandhttpsURLs are recorded unlessDEMO_STUDIO_ALLOW_FILE_URLS=1.demo_set_tts_credentialsnever returns the key, including the last characters.A
fillaction whose selector containspasswordis logged as***. The tool does not accept a password field of its own.Deleting a project or a scene, and overwriting a finished file, require an explicit confirm flag.
🛠️ Troubleshooting
Symptom | What to do |
FFmpeg not found | Install FFmpeg or leave resolution to |
Chromium missing |
|
edge-tts failure | The public service refused the call. Retry, or set an OpenAI or ElevenLabs key and pass |
Windows path in a caption filter | Captions are copied to a short name in the working folder. Do not put a drive letter inside a filter graph yourself. |
App Control blocks a DLL | Keep |
| Expected on this machine. Durations come from |
HTTP mode cannot see your files | Paths are on the server. Use stdio for local files. |
👤 Author & Contact
Pawan Gunjkar
📄 License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Render an MP4 from your own images, clips, voice-over and timed captions. JSON to video.
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
Make narrated, on-brand product videos of your real app from your coding agent or AI assistant.
AI video agent: edit timelines, captions, voice, music, images and ads, then render MP4s.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAgent-driven animated diagram renderer that turns API/flow descriptions into animated MP4s or Instagram-style carousels, designed to be driven by an AI agent over MCP.23 npm5MIT
- AlicenseAqualityAmaintenanceYour coding agent makes the demo video — turns a storyboard.json into a narrated, captioned product-demo MP4; deterministic replay re-renders it in CI at ~$0.24352 npm35MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create polished product demo videos by controlling a real Chromium browser, recording actions, and rendering 1080p MP4s with narration, captions, and styled overlays.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to operate a web app, record a deterministic session, and compile an editable project into a polished MP4 with zooms, cuts, captions, callouts, and reproducible renders.MIT