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

# rivvr mcp

> Run the MCP server and register agent clients.

Let AI assistants such as Claude Code, Codex, Cursor, and Gemini CLI use Rivvr. MCP is the standard these assistants use to work with outside tools. See [connect AI agents](https://docs.rivvr.ai/get-started/ai-agents.md).

| Command | What it does |
| - | - |
| [`install`](#rivvr-mcp-install) | Connect Rivvr to `codex`, `claude`, `cursor`, or `gemini` for your user account. |
| [`config`](#rivvr-mcp-config) | Print settings to copy into an AI assistant that `install` doesn't support. |
| [`serve`](#rivvr-mcp-serve) | Start the MCP server. |

## rivvr mcp install

Connect Rivvr to `codex`, `claude`, `cursor`, or `gemini` for your user account.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr mcp install <client> [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr mcp install claude --with-skill
rivvr mcp install codex --with-skill --upload-root /absolute/path/to/artifacts
```

| Flag | Default | Description |
| - | - | - |
| `--force` | | Overwrite an existing `rivvr` entry that differs, and with `--with-skill`, the Skill files |
| `--upload-root <dir>` | | Directory the agent may upload from |
| `--with-skill` | | Also install the Rivvr Skill |

## rivvr mcp config

Print settings to copy into an AI assistant that `install` doesn't support. The output contains no passwords or keys.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr mcp config [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr mcp config --format toml
```

| Flag | Default | Description | |
| - | - | - | - |
| \`--format json | toml\` | `json` | Output format |
| `--upload-root <dir>` | | Directory the agent may upload from | |

## rivvr mcp serve

Start the MCP server. Your AI assistant runs this command itself, so you normally don't need to.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr mcp serve [flags]
```

| Flag | Default | Description |
| - | - | - |
| `--upload-root <dir>` | | Directory the agent may upload from |


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