Docreel MCP
Officialby Ocoya
README.md
<p align="center">
<a href="https://www.docreel.io"><img src="https://www.docreel.io/npm/mcp/banner.jpg" alt="Docreel MCP: help docs your agent can re-record" width="100%" /></a>
</p>
<h1 align="center">@docreel/mcp</h1>
<p align="center">
<b>Help docs your agent can make, and re-record after every release.</b><br />
Claude, Cursor, VS Code or your own agent turns one sentence into a narrated help video and a ringed screenshot for every step of your app, and re-records it when the app changes, through <a href="https://www.docreel.io">Docreel</a>.
</p>
<p align="center">
<a href="https://www.npmjs.com/package/@docreel/mcp"><img src="https://img.shields.io/npm/v/@docreel/mcp?style=flat-square&color=E5243B&label=npm" alt="npm version" /></a>
<a href="https://www.npmjs.com/package/@docreel/mcp"><img src="https://img.shields.io/npm/dm/@docreel/mcp?style=flat-square&color=C8102E" alt="npm downloads" /></a>
<a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-Streamable%20HTTP%20%2B%20stdio-111114?style=flat-square" alt="MCP" /></a>
<a href="#-tools"><img src="https://img.shields.io/badge/tools-9-E5243B?style=flat-square" alt="9 tools" /></a>
<a href="#licence"><img src="https://img.shields.io/badge/licence-MIT-111114?style=flat-square" alt="MIT" /></a>
</p>
<p align="center">
<a href="https://cursor.com/en/install-mcp?name=docreel&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBkb2NyZWVsL21jcCJdLCJlbnYiOnsiRE9DUkVFTF9BUElfS0VZIjoieW91ci1hcGkta2V5In19"><img src="https://www.docreel.io/npm/mcp/btn-cursor.png" alt="Add to Cursor" height="48" /></a>
<a href="https://vscode.dev/redirect/mcp/install?name=docreel&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22docreel-key%22%2C%22description%22%3A%22Docreel%20project%20API%20key%20(dr_live_...)%22%2C%22password%22%3Atrue%7D%5D&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40docreel%2Fmcp%22%5D%2C%22env%22%3A%7B%22DOCREEL_API_KEY%22%3A%22%24%7Binput%3Adocreel-key%7D%22%7D%7D"><img src="https://www.docreel.io/npm/mcp/btn-vscode.png" alt="Install in VS Code" height="48" /></a>
<a href="#-connect-your-client"><img src="https://www.docreel.io/npm/mcp/btn-claude.png" alt="Add to Claude" height="48" /></a>
</p>
<p align="center">
<a href="https://app.docreel.io"><img src="https://www.docreel.io/npm/mcp/btn-key.png" alt="Get your API key" height="48" /></a>
<a href="https://docs.docreel.io/mcp"><img src="https://www.docreel.io/npm/mcp/btn-docs.png" alt="Read the docs" height="48" /></a>
<a href="https://www.docreel.io"><img src="https://www.docreel.io/npm/mcp/btn-site.png" alt="docreel.io" height="48" /></a>
</p>
<br />
## ⚡ 30-second start
**Remote, no install.** Point any MCP client at the server with your project API key:
```
https://app.docreel.io/mcp
Authorization: Bearer dr_live_...
```
**Local, over stdio.** This package is a tiny bridge to the same server, for clients that only run local servers:
```bash
DOCREEL_API_KEY=dr_live_... npx -y @docreel/mcp
```
Then ask your agent:
> We just shipped the new settings page. Re-record the guides that start in /settings and tell me which ones broke.
<p align="center">
<img src="https://www.docreel.io/npm/mcp/flow.jpg" alt="Your agent → Docreel MCP → your help center: videos, screenshots and embeds" width="100%" />
</p>
<br />
## ✨ Three things your agent can now do
<table>
<tr>
<td width="33%" valign="top">
<img src="https://www.docreel.io/npm/mcp/pillar-create.jpg" alt="Create a guide from a sentence" width="100%" />
<h3>Make a guide from a sentence</h3>
"Export invoices as CSV, starting at /billing." Docreel's agent opens your real app, works out the clicks and records a narrated video in every language plus a screenshot per step, with the clicked element ringed.
</td>
<td width="33%" valign="top">
<img src="https://www.docreel.io/npm/mcp/pillar-rerecord.jpg" alt="Re-record on every release" width="100%" />
<h3>Re-record after a release</h3>
Changed screens publish a new version. Moved or renamed buttons are found again (healed). If a step no longer works, the guide is marked broken and the previous version stays live.
</td>
<td width="33%" valign="top">
<img src="https://www.docreel.io/npm/mcp/pillar-links.jpg" alt="Links that never go stale" width="100%" />
<h3>Hand out links that stay fresh</h3>
Every guide has stable player, embed, video and screenshot links. They always serve the newest live version, so the help article your agent writes today is still right after the next release.
</td>
</tr>
</table>
The tools live on the remote server, and this package only forwards messages, so new tools appear without updating it. The agent recording your app never submits or publishes anything real in it.
<br />
## 🔌 Connect your client
Every client needs a **project API key** (`dr_live_...`): in [Docreel](https://app.docreel.io), open **Settings → API and MCP**. A key sees only its project.
<details open>
<summary><b>Claude Code</b></summary>
```bash
# remote
claude mcp add --transport http docreel https://app.docreel.io/mcp \
--header "Authorization: Bearer dr_live_..."
# or local, over stdio
claude mcp add docreel --env DOCREEL_API_KEY=dr_live_... -- npx -y @docreel/mcp
```
</details>
<details>
<summary><b>Claude Desktop</b></summary>
Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
```json
{
"mcpServers": {
"docreel": {
"command": "npx",
"args": ["-y", "@docreel/mcp"],
"env": { "DOCREEL_API_KEY": "dr_live_..." }
}
}
}
```
</details>
<details>
<summary><b>Cursor</b></summary>
Click **Add to Cursor** above and paste your key, or add this to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):
```json
{
"mcpServers": {
"docreel": {
"url": "https://app.docreel.io/mcp",
"headers": { "Authorization": "Bearer dr_live_..." }
}
}
}
```
Windsurf (`~/.codeium/windsurf/mcp_config.json`) and Cline (`cline_mcp_settings.json`) take the stdio block from Claude Desktop.
</details>
<details>
<summary><b>VS Code (GitHub Copilot agent mode)</b></summary>
Click **Install in VS Code** above, or add `.vscode/mcp.json`:
```json
{
"inputs": [
{ "type": "promptString", "id": "docreel-key", "description": "Docreel project API key", "password": true }
],
"servers": {
"docreel": {
"type": "http",
"url": "https://app.docreel.io/mcp",
"headers": { "Authorization": "Bearer ${input:docreel-key}" }
}
}
}
```
</details>
<details>
<summary><b>Gemini CLI, Codex, Zed and others</b></summary>
- **Remote:** `https://app.docreel.io/mcp` (Streamable HTTP, JSON answers, no session) with `Authorization: Bearer <api-key>`.
- **stdio:** command `npx`, args `["-y", "@docreel/mcp"]`, env `DOCREEL_API_KEY`.
</details>
<br />
## 🧠 Add the Docreel skill
The tools say what they do; the skill says how to use them well: find the guide before making a new one, re-record instead of recreating, poll runs, hand out the stable links and never invent steps. Install it next to the server:
```bash
npx skills add Ocoya/docreel-agent
```
The same repository, [Ocoya/docreel-agent](https://github.com/Ocoya/docreel-agent), is also a Claude Code plugin (`/plugin marketplace add Ocoya/docreel-agent`) and a Gemini CLI extension (`gemini extensions install https://github.com/Ocoya/docreel-agent`) that bundle the skill with the server.
<br />
## 💡 Things to ask your agent
| You say | What the agent does |
|---|---|
| *"Which of our help guides are broken?"* | `list_guides` with `status: "broken"` → `get_guide` on each → names the step that broke and why |
| *"Make a guide for 'Export invoices as CSV' starting at /billing, and give me the embed code."* | `list_guides` (does it exist?) → `create_guide` → polls `get_run` → `get_guide` → `links.embed` |
| *"We shipped the new settings page. Re-record the guides in /settings."* | `list_guides` → `rerecord_guide` for each matching start URL → `get_run` → changed, healed and broken per guide |
| *"Write a help article for inviting a teammate, with a screenshot per step."* | `get_guide` → the article around the recorded narration, with `links.screenshot` per step and the video embed |
| *"What changed in the billing guide since last week?"* | `list_versions` → step statuses and `diffRatio` between versions, with diff images |
| *"Use a British voice and light captions from now on."* | `update_project` with `voice: "alice"` and `captions.style: "light"`, then offers a re-record |
<br />
## 🧰 Tools
| Tool | What it does |
|---|---|
| `list_guides` | Guides, newest first, with status (fresh, changed, healed, broken, drafting, failed) and stable links. Filter by status. |
| `get_guide` | One guide: steps and narration, the live version's screenshots and videos per language, step statuses, the run in progress. |
| `create_guide` | Makes a guide from a goal and a start path. Takes a few minutes; poll `get_run`. |
| `rerecord_guide` | Records a guide again against the app as it is now. Returns the run in progress if there is one. |
| `get_run` | A run's status, changed / healed / broken counts, the version it made and its last log lines. |
| `list_runs` | A guide's recent runs and what triggered them (button, deploy hook, schedule, API). |
| `list_versions` | A guide's versions, which one is live, and each step's status and diff. |
| `get_project` | The project's name, app URL and languages. |
| `update_project` | Narration voice (sarah, alice, river, matilda, brian, eric, chris, george) and captions (dark, light, outline or off; size; top or bottom). |
Full reference: **[docs.docreel.io/mcp](https://docs.docreel.io/mcp)**. Prefer plain HTTP or TypeScript? The same operations are a [REST API](https://docs.docreel.io/api) and a typed client, [`@docreel/sdk`](https://www.npmjs.com/package/@docreel/sdk), with a CLI that re-records your guides from CI.
<br />
## ⚙️ Options
| Env | Flag | Default |
|---|---|---|
| `DOCREEL_API_KEY` | `--api-key` | required |
| `DOCREEL_MCP_URL` | `--url` | `https://app.docreel.io/mcp` |
Logs go to stderr. Needs Node.js 18 or newer.
<br />
## ❓ FAQ
<details>
<summary><b>Which plan do I need?</b></summary>
The REST API and the MCP server come with the Scale plan. On other plans every call answers with `plan_required`, and the agent passes that on. See [pricing](https://www.docreel.io/#pricing); every plan starts with a 14-day free trial.
</details>
<details>
<summary><b>Remote or local, which one?</b></summary>
Remote (`https://app.docreel.io/mcp`) needs no Node.js and nothing to update. Use the local package for clients that only run stdio servers. Both expose the same tools.
</details>
<details>
<summary><b>Will the agent click around in my production app?</b></summary>
Docreel records the app at the project's URL; point it at staging if you prefer. The recording agent shows tasks, it never submits or publishes anything real.
</details>
<details>
<summary><b>How long does a recording take?</b></summary>
One to three minutes per guide. The tools return a run at once and the agent polls `get_run`, so your chat doesn't hang.
</details>
<details>
<summary><b>What are the limits?</b></summary>
Per key: 120 reads and 30 writes a minute, and 30 new guides an hour. To re-record every guide after a deploy, use the project's [deploy hook](https://docs.docreel.io/deploy-hook) instead of one call per guide.
</details>
<br />
## 🆘 Support
- Docs: [docs.docreel.io/mcp](https://docs.docreel.io/mcp)
- Email: [support@docreel.io](mailto:support@docreel.io)
- Website: [docreel.io](https://www.docreel.io)
<a id="licence"></a>
<br />
## Licence
MIT © [Docreel](https://www.docreel.io)
<p align="center">
<a href="https://www.docreel.io"><img src="https://www.docreel.io/brand/docreel-logo.svg" alt="Docreel" height="28" /></a>
</p>
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues