tourwright
Use Tourwright's MCP server to author, validate, check, render, and manage narrated product-tour videos and step-by-step guides.
Read the Tourwright script format, actions, voices, and examples before writing a script.
List available text-to-speech voices and supported engines.
List available background music tracks, moods, and built-in loops.
Validate a script offline for structure, fields, actions, and variables.
Check a script against the real site to find broken targets and propose fixes.
Render videos or guides, with options for variables, assets, wait/poll behavior, safe/dry-run mode, voice, quality, and export types such as video, audio, silent, guide, PDF, or DOCX.
Check the status and result of a render job.
List render jobs, optionally filtered by status.
Delete finished jobs and their files.
Can use Ollama-hosted AI models to rewrite tour narration from captured screens.
Supports OpenAI and OpenAI-compatible TTS servers, and can use OpenAI models to rewrite tour narration from captured screens.
Provides a Redis/BullMQ-backed job queue for scaling Tourwright render jobs across API replicas and workers.
Narrated product tours and how-to videos, without editing. Click through your app once, or ask your AI
agent for the video: Tourwright writes the script, films a real browser in a studio frame, guides the eye to each
element, speaks with a natural voice and delivers an .mp4 with captions, chapters and a thumbnail. When the UI
changes, you render again. Built for people and AI agents, on any server, from a laptop to a cluster.
# tour.yaml
title: Your first invoice
voice: lessac
baseUrl: https://app.example.com
steps:
- goto: /invoices/new
- title: { text: Your first invoice, subtitle: Step by step }
- say: Pick the <b>customer</b> first.
- click: { role: combobox, name: Customer }
- say: Then save. That's it.
- click: { role: button, name: Save }tourwright render tour.yaml # → videos/tour/tour.mp4 (+ captions.srt/.vtt, .jpg, .json)Why Tourwright
Screen recorders (Loom) and click-through demo tools (Arcade, Supademo, Scribe) need a person to record, and every redesign means recording again. Tourwright videos are code:
Screen recorder | Demo SaaS | Tourwright | |
Re-record after a UI change | by hand | by hand |
|
Knows when a video went stale | no | no |
|
Narration | your voice, retakes | none or extra | text-to-speech in many voices, offline or online |
Same tour for 50 customers or languages | 50 recordings | 50 demos | one script with |
Personal data on screen | edit it out | edit it out |
|
Lives in | a vendor's cloud | a vendor's cloud | your git repo, your servers; MIT |
AI agents can make one | no | no | MCP server and a Claude Code plugin |
Related MCP server: Agent Demo Studio
What you get
Browser walkthroughs: real Chromium, a smooth animated cursor, click ripples, highlights, spotlights, callout bubbles, camera zoom, drag and drop, blurred personal data, title cards and captions in your colors and logo.
Guided focus: the tour an app shows the first time you open it. Everything dims but the element, a ring marks it, a bubble with a
2/4badge explains it and the camera pushes in, right on the word the voice is saying.Narrated slides: title cards, images (with slow pan/zoom), HTML, crossfades. No website needed.
Guides, PDFs and Word files from the same script: a step-by-step guide with a marked picture per step, as HTML, Markdown, a PDF in your brand and a
.docx, with notes, tables and galleries. When the app changes, the guide is made again, not recorded again, and--comparesays which steps changed: in CI it can open a pull request with the new guide.Voices, your choice: Pocket TTS (offline, open, natural:
tourwright install --pocket), Piper (offline, open source, light), Microsoft Edge neural voices, any OpenAI-compatible TTS server (OpenAI, Kokoro, LocalAI…), or your own command. Every sentence is cached: re-rendering never re-synthesizes.A cast, and how each line is said: several voices per video, speed, pitch and volume per line on any engine, exact pauses (
[[1s]]), a pronunciation dictionary, sound presets (warm, radio, podcast…), click, typing and other sound effects, music with fades.Scripts that scale with you: variables (
{{name}}, also from the CLI or the API), reusable blocks, repeats, conditions and steps that may fail. One script, many videos.Plugins: new actions, TTS engines and voices as small modules (docs/PLUGINS.md).
Tight edits, automatically: page loads, slow waits and voice synthesis are cut out; narration never overlaps; background music ducks under the voice.
Deliverables: H.264/AAC
.mp4with chapters and the captions drawn on it,.srt,.vtt, thumbnail and a JSON manifest (duration, chapters, captions) for automation.Four ways in: CLI, HTTP API with job queue and webhooks, MCP server for AI agents, Node library.
Scales out: stateless API replicas, any number of workers on any number of servers, Redis/BullMQ queue, S3-compatible storage. Or a single process with a folder, on a Raspberry Pi.
Install
Docker (recommended)
docker run --rm -v "$PWD:/work" -w /work ghcr.io/cxmiloxx/tourwright render examples/slides.yaml --out videos/A full service (API + 2 workers + Redis):
cp .env.example .env # set TOURWRIGHT_API_TOKENS
docker compose up -d --build
docker compose up -d --scale worker=6From npm (quickest to try)
Node.js 22+, on Linux, macOS or Windows:
npm install -g tourwright
tourwright install # ffmpeg, Piper + voices, edge-tts, Chromium (no root)
tourwright install --plan # only show what it would use from this PC and what it would download
tourwright config set quality fullhd # your own defaults: quality, voice, fps… (tourwright config lists them)
tourwright record https://app.example.com --out tour.yaml # do the tour by hand: you get the script and the video
tourwright guide tour.yaml --pdf --docx # the same tour as a step-by-step guide: HTML, Markdown, PDF and Word
tourwright narrate tour.yaml --write # your AI (Claude, OpenAI, Ollama) rewrites the narration from the screens
tourwright translate tour.yaml --to en # the same video in English (or pt, fr, de, it): tour.en.yaml
tourwright check videos/*.yaml # which videos broke after a deploy, at which step, and the fix
tourwright fix tour.yaml --write # puts the new targets in the script
tourwright render tour.yaml --step 7 # film one step with its voice, without the whole video
tourwright install --pocket # + Pocket TTS: natural offline voices (about 1 GB)
tourwright clean # what each part takes on disk; removes downloads and leftovers
tourwright doctor # what works on this machineWithout installing anything globally: npx tourwright <command>. With pnpm: pnpm add -g tourwright
(on 2.0.0, add --no-optional).
The Redis queue and Claude for narrate are optional: install bullmq ioredis or @anthropic-ai/sdk next to
Tourwright when you use them (npm install -g bullmq ioredis). The Docker image already has them.
Without Docker (Linux, macOS, Windows)
Node.js 22+. tourwright install puts ffmpeg, Piper, voices, edge-tts and Chromium in TOURWRIGHT_HOME, with no
root or admin rights; what the system already has is kept.
git clone https://github.com/CXmiloxx/tourwright && cd tourwright
./scripts/install.sh # Linux / macOS (Windows: powershell -ExecutionPolicy Bypass -File scripts\install.ps1)
node bin/tourwright.js doctor # what works on this machine
npm link # optional: the `tourwright` commandEach piece is looked for on the PC first and only downloaded when it is missing:
Linux (x64, arm64) | macOS (Intel, Apple Silicon) | Windows 10/11 (x64, ARM) | |
Chromium | Chrome, Edge or Chromium (apt, dnf, pacman, Raspberry Pi OS), else downloaded | Chrome, Edge or Chromium, else downloaded | Chrome or Edge, else downloaded |
ffmpeg |
| Homebrew, MacPorts, Nix, else |
|
Piper (offline voices) |
|
|
|
Piper voices | Hugging Face cache, | same | same |
edge-tts (Microsoft voices) |
| same | same |
Python (for edge-tts, Pocket, Whisper) | the system's 3.10–3.13, else 3.12 is downloaded | same | same (not the Microsoft Store stub) |
Capture |
|
|
|
Also reused: a Chromium left by another Playwright or Puppeteer version, and CHROME_PATH, CHROME_BIN or
PUPPETEER_EXECUTABLE_PATH. Snap and Flatpak browsers are skipped (their sandbox blocks Playwright).
TOURWRIGHT_SYSTEM_BROWSER=0 always uses Playwright's own Chromium. tourwright doctor shows what was found.
Nothing is installed on the system: what is downloaded lives in one folder (TOURWRIGHT_HOME), and the Python
packages run in a virtual environment, so yours is never changed. To uninstall, delete that folder.
Xvfb (apt install xvfb, Linux only) gives the sharpest capture; without it Tourwright records headless
(screencast), which works everywhere Chromium runs. Clients of the HTTP API or MCP can be on any system.
Use it
From a site to a video, without writing selectors by hand:
tourwright explore https://app.example.com/login --draft app.yaml # asks for the login, writes the script
tourwright render app.yaml --dry-run # checks every step in seconds
tourwright render app.yaml --open # the video, in ./videos/app/The draft goes through every section of the site with narration taken from its pages; edit it in your words.
Credentials are asked for once, never shown and never written in the script (tourwright secret list;
tourwright forget deletes them).
tourwright init video.yaml # an example script
tourwright validate video.yaml
tourwright render video.yaml --dry-run # runs every step fast: tests selectors, no voice/video
tourwright render video.yaml --safe # the same, pressing nothing: no real sign-up, payment or SMS
tourwright render video.yaml --keep # keeps the recording: tourwright recompose videos/video remakes it without the browser
tourwright render video.yaml --quality fullhd --voice salome --out out/
tourwright voices # voices available here
tourwright install-voice en_GB-alba-medium # any voice from huggingface.co/rhasspy/piper-voices
tourwright say "Hello there" --voice lessac --out hello.wavThe script format, every action and the voices: docs/SCRIPTS.md.
JSON Schema for editors and agents: schema/script.schema.json.
HTTP API
TOURWRIGHT_API_TOKENS=secret tourwright serve --worker --port 4700
curl -X POST localhost:4700/v1/jobs -H 'authorization: Bearer secret' -H 'content-type: application/json' \
-d '{"script": {"type": "slides", "slides": [{"title": "Hello", "say": "Hello from the API."}]}}'
curl localhost:4700/v1/jobs/<id> -H 'authorization: Bearer secret' # → status, result, download linksEndpoints, assets, webhooks: docs/API.md.
AI agents (MCP)
Claude Code, as a plugin (the MCP server plus a skill that writes, checks and renders the script):
/plugin marketplace add CXmiloxx/tourwright
/plugin install tourwright@tourwrightAny other MCP client (Claude Desktop, Cursor, VS Code…):
{ "mcpServers": { "tourwright": { "command": "tourwright", "args": ["mcp"] } } }Tools: tourwright_guide, tourwright_voices, tourwright_music, tourwright_validate, tourwright_check, tourwright_render, tourwright_job,
tourwright_jobs, tourwright_delete_job (and
tourwright_render_file with TOURWRIGHT_MCP_ALLOW_FILES=true). Point it at a remote API with TOURWRIGHT_API_URL
and TOURWRIGHT_API_TOKEN. Details: docs/AGENTS.md.
GitHub Action
Re-render your tours on every release, or fail the build when a deploy broke one:
- uses: CXmiloxx/tourwright@v2
with:
scripts: videos/*.yaml
command: check # or render: the videos become a workflow artifact
env:
TOURWRIGHT_SECRET_APP_PASSWORD: ${{ secrets.APP_PASSWORD }}Inputs: scripts, command, out, voice, quality, voices, version, upload (action.yml).
Node library
import { loadFile, render } from 'tourwright'
const result = await render(await loadFile('tour.yaml'), { out: 'videos/', quality: 'hd' })
console.log(result.paths.video, result.duration, result.chapters)Scaling
Size | Setup |
One machine |
|
One big machine |
|
Many machines | API replicas behind a load balancer, workers anywhere, same Redis + S3 bucket |
Kubernetes |
|
Each worker renders TOURWRIGHT_CONCURRENCY videos at a time (one Chromium + ffmpeg each: plan ~1–2 CPU and
~1 GB RAM per video at 720p). Workers run at low CPU and disk priority so a shared server stays responsive.
More: docs/DEPLOYMENT.md · configuration: docs/CONFIGURATION.md.
Security
API jobs run in a sandbox: data-only scripts (no JavaScript), files limited to the job's assets, optional host allowlist and private-network blocking, secrets off by default, per-token job isolation, signed download links. Read SECURITY.md before exposing the API to untrusted clients.
License
MIT. Piper voices have their own licenses (see each voice's model card); Edge voices are a Microsoft online service, check its terms for your use.
Available Tools
9 toolstourwright_checkCheck a script and propose fixesARead-onlyIdempotent
Run a script fast, without voice or video, against the real site (validate only checks its structure). Returns every step that failed (the target it looked for, the page, the targets that page offers) and, when it can tell, the new target for it. For a YAML script given as text it also returns fixed: the same text with those targets replaced (comments kept). Use it after the site changed, then validate and render.
Inputs: script (required), vars.
tourwright_delete_jobDelete a jobADestructiveIdempotent
Delete a finished (done or failed) job and its files: the video, subtitles, poster and manifest. A job that is queued or rendering cannot be deleted.
Inputs: id (required).
tourwright_guideHow to write a Tourwright scriptARead-onlyIdempotent
The script format (browser walkthroughs and narrated slides), every action, voices and examples. Read it before writing a script.
Inputs: no named parameters.
tourwright_jobJob statusBRead-onlyIdempotent
Status, progress and (when done) the result of a render job.
Inputs: id (required).
tourwright_jobsList jobsARead-onlyIdempotent
The render jobs on this server, newest first: id, status, progress and, for finished ones, the links to their videos. Use it to find a video rendered earlier or a job id to delete.
Inputs: limit, status.
tourwright_musicList background musicARead-onlyIdempotent
Background music the scripts can name: the tracks on the server (name, mood, title, license), the moods and the built-in loops. In a script, music: or a mood (upbeat, corporate, calm, acoustic, tech, cinematic). To use a track of your own, send the audio file in assets of tourwright_render and write its asset name in music.
Inputs: no named parameters.
tourwright_renderRender a video or a guideA
Queue a script for rendering: a video, and/or a step-by-step guide as HTML, PDF or Word (options.export). With wait=true (default) it waits until it is ready and returns its links (and local paths), duration, chapters and captions; otherwise it returns the job id to poll with tourwright_job.
Inputs: script (required), vars, wait, assets, +2 more.
tourwright_validateValidate a scriptARead-onlyIdempotent
Check the structure of a script (fields, actions, variables) without opening any website: fast, offline. Returns { ok } or the list of errors to fix. To know whether its targets still exist on the live site, use tourwright_check.
Inputs: script (required), vars.
tourwright_voicesList voicesARead-onlyIdempotent
Text-to-speech voices available on the server and which engines work. Use a voice whose language matches the script.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools have clearly distinct purposes: reference resources (guide, voices, music), script checks (validate, check), rendering, and job lifecycle operations. The main possible confusion is between tourwright_validate and tourwright_check, though their descriptions explicitly separate offline structure validation from live-site target checking.
All tools share the predictable tourwright_ prefix and snake_case style. The remaining names mix noun-style resources (music, guide, voices, job, jobs) with verb-style actions (render, check, validate) and one verb_noun name (delete_job), but the pattern remains readable and mostly consistent.
Nine tools is well within the appropriate range and each appears to earn its place: authoring references, script validation/checking, rendering, job monitoring, job listing, and job deletion. There is no obvious bloat or missing core tool.
The set covers the main workflow: read the guide, choose voices/music, validate and live-check scripts, render videos/guides, monitor/list jobs, and delete finished jobs. A minor gap is the lack of cancellation or deletion for queued/rendering jobs, but agents can generally wait for completion.
Maintenance
Related MCP Connectors
The AI video studio: records your web app, writes and voices the script, renders a tutorial MP4.
The AI video studio: records your web app, writes and voices the script, renders a tutorial MP4.
Make narrated, on-brand product videos of your real app from your coding agent or AI assistant.
Make narrated demo videos of web apps from your AI assistant.
Related MCP Servers
- 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 agents to record narrated, zoom-animated product demo videos of websites entirely on-device, including outlining pages, scripting tours, recording MP4s, reviewing frames, and extracting embedded recipes to fork or rerender demos.7MIT
- 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