> ## Documentation Index
> Fetch the complete documentation index at: https://demoman.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your agent

> Setup connects Claude Code, Codex, Cursor and OpenCode. Any other MCP agent takes two steps.

<ol />

## Claude Code, Codex, Cursor and OpenCode

```bash theme={null}
npx demoman setup
```

Setup connects every one of these it finds on your machine:

| Agent | Setup adds |
| - | - |
| Claude Code | the Demoman plugin |
| Codex | the Demoman plugin |
| Cursor | an entry in `~/.cursor/mcp.json`, and the `record-demo` skill |
| OpenCode | an entry in `~/.config/opencode/opencode.json`, and the `record-demo` skill |

Demoman's tools then run without asking, except `attach` and `ci`, which act
on GitHub under your account and ask each time. Setup sets this in Claude
Code, Codex, Cursor's agent CLI and OpenCode, and says so. The Cursor app
keeps its own list and may ask once for each tool.
Restart the agent before your first demo.

Demoman then updates itself in each agent. For Cursor and OpenCode, run setup
again after removing the Node that ran it: their entries name that Node's
`npx`.

## Any other agent

**1. Add the MCP server**

Add Demoman to the agent's MCP servers, in the form its tab below shows.

**2. Add the record-demo skill**

The skill tells the agent to read Demoman's recipe first. Fetch it into
the agent's skills folder, named in its tab:

```bash theme={null}
curl -fsSL --create-dirs -o <skills folder>/record-demo/SKILL.md \
  https://raw.githubusercontent.com/demoman-io/plugins/main/skills/record-demo/SKILL.md
```

Then restart the agent. These are expected to work, not yet run.

> [tab] Pi
>
> ```bash theme={null}
> pi mcp add demoman -- npx --prefix ~/ -y demoman@latest mcp
> ```
>
> Skills folder: `~/.pi/agent/skills`

> [tab] Kimi Code
>
> In `~/.kimi-code/mcp.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "demoman": {
>       "command": "npx",
>       "args": ["--prefix", "~/", "-y", "demoman@latest", "mcp"]
>     }
>   }
> }
> ```
>
> Kimi Code asks before each call unless `~/.kimi-code/config.toml` allows
> them:
>
> ```toml theme={null}
> [[permission.rules]]
> decision = "allow"
> pattern = "mcp__demoman__*"
> ```
>
> Skills folder: `~/.kimi-code/skills`

> [tab] Hermes
>
> With Hermes running on this Mac:
>
> ```bash theme={null}
> hermes mcp add demoman --command npx --args --prefix ~/ -y demoman@latest mcp
> ```
>
> Skills folder: `~/.hermes/skills`

> [tab] DeepSeek dsh
>
> In `~/.dsh/profiles/web/cordis.patch.yml`, a `@deepseek-ai/dsh-mcp-client`
> row with `transport: stdio`, `command: npx`,
> `args: ['--prefix', '~/', '-y', 'demoman@latest', 'mcp']`, and `cwd` set to your
> project.
>
> Skills folder: `~/.dsh/skills`

> [tab] Other
>
> Give the agent this stdio server:
>
> ```json theme={null}
> {
>   "command": "npx",
>   "args": ["--prefix", "~/", "-y", "demoman@latest", "mcp"]
> }
> ```
>
> Then fetch the skill into wherever the agent reads skills from.

> [card] [Next · 03](https://demoman.io/docs/get-started/first-video.md)
>
> Your first video


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.