Use it from an AI coding tool (MCP & skill)
You don't have to learn the CLI. Specreel can be driven by an AI coding tool (Claude Code, Cursor, Codex, Claude Desktop, ChatGPT), so you can just ask: "turn my app into a demo gallery." Each surface is a thin wrapper over the same engine.
Option 0 — your deployed app, hosted: point the agent at agents.md
For a deployed site and hosted demos, nothing to install: paste
Read https://specreel.dev/agents.md and set up Specreel for https://staging.yourapp.com
into your AI tool. agents.md tells it the whole job — get an API
token from you, scan the URL, ask how the app signs in (password test account, a
captured session for Google / SSO / magic-link apps, or a sign-in link), run the
flows, hand back the gallery link. The agent uses the hosted MCP server
(https://app.specreel.dev/mcp, tools scan_url / create_project / set_signin
/ add_scenario / run_project / run_status / get_project / whoami) or the
JSON API (/api/v1/…), both authenticated with a workspace API token:
claude mcp add --transport http specreel https://app.specreel.dev/mcp \
--header "Authorization: Bearer scl_…"
(Cursor / Claude Desktop: a url + headers entry in mcp.json; OpenAI Responses
API: an mcp tool with server_url + headers.) The /llms.txt on both sites
points agents at the same guide.
The two options below are the local engine — your app on localhost, demos as files.
Install
pip install "specreel[mcp]" # gives you `specreel` and `specreel-mcp`
# to capture browser flows, also:
pip install playwright && playwright install chromium
Option 1 — the MCP server
Exposes Specreel as tools the agent can call: recommend, render, render_one,
publish, summary, init_config. Wire it into your tool:
{
"mcpServers": {
"specreel": { "command": "specreel-mcp" }
}
}
(Claude Code: .mcp.json · Cursor: ~/.cursor/mcp.json · Claude Desktop:
claude_desktop_config.json.) Full details: integrations/mcp/README.md.
Option 2 — the Claude Code skill
Copy integrations/claude-code/specreel/ into your project's .claude/skills/.
The agent then knows the whole workflow and picks the right path:
- running app, no tests → recommend → finish the flow TODOs → run → render;
- existing tests → run with tracing on → render;
- a single trace → one demo.
What the agent does for a brand-new app
recommend http://localhost:3000→ scaffoldsspecreel_flows.py.- Works with you to finish each flow's
TODO(what "this worked" means). - Runs the scaffold →
test-results/*/trace.zip. render test-results -o site --bundle→ the gallery.publish site --to ghpages→ a shareable URL.
Guardrails
- Capturing flows runs a real browser against the URL — use a local/staging URL, and don't run mutating flows against production.
- You stay in the loop on the flow TODOs; only you know what "worked" means.