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

# Use the docs with AI agents

> Connect Claude, Claude Code, Codex, Cursor or any MCP client to the River Markets docs

These docs are password-protected. An AI agent that opens a docs URL directly
only sees the login page, so it cannot read anything. Connect it over MCP
instead: the agent gets a search tool and full page reads, including the REST
and WebSocket references, after a one-time sign-in with the docs password.

## The server

```
https://docs.rivermarkets.com/authed/mcp
```

> [!WARNING]
>
> Use `/authed/mcp`, not `/mcp`. The plain `/mcp` endpoint only serves the
> public pages and will look nearly empty.

When you connect, the client opens a browser window asking for the docs
password. It is the same password you received at onboarding. Enter it once;
the client stores a token and refreshes it on its own.

## Connect your client

> [tab] Claude
>
> Works in Claude on the web and in the desktop app.
>
> 1. Open **Customize → Connectors** (**Settings → Connectors** on some plans).
> 2. Click **Add custom connector**.
> 3. Name it `River Markets Docs` and paste the server URL above.
> 4. Keep the detected authentication settings and click **Add**.
> 5. Sign in with the docs password when the browser window opens.
>
> In a chat, click the **+** button and enable the connector under
> **Connectors**. Claude can now search and read the docs.
>
> > [!NOTE]
> >
> > On Team and Enterprise plans only an Owner can add a custom connector.
> > Members then find it under **Customize → Connectors** and click **Connect**.

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http river-docs https://docs.rivermarkets.com/authed/mcp
> ```
>
> Then, inside Claude Code, run `/mcp`, pick `river-docs` and follow the
> browser sign-in. Add `--scope user` to the command to make the server
> available in every project, or `--scope project` to commit it to
> `.mcp.json` for your team:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "river-docs": {
>       "type": "http",
>       "url": "https://docs.rivermarkets.com/authed/mcp"
>     }
>   }
> }
> ```

> [tab] Codex
>
> ```bash theme={null}
> codex mcp add river-docs --url https://docs.rivermarkets.com/authed/mcp
> codex mcp login river-docs
> ```
>
> Or add it to `~/.codex/config.toml`. The Codex CLI, IDE extension and
> desktop app share this file.
>
> ```toml theme={null}
> [mcp_servers.river-docs]
> url = "https://docs.rivermarkets.com/authed/mcp"
> ```

> [tab] Cursor
>
> Add the server to `~/.cursor/mcp.json` (everywhere) or `.cursor/mcp.json`
> (one project). Cursor prompts for the sign-in the first time it connects.
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "river-docs": {
>       "url": "https://docs.rivermarkets.com/authed/mcp"
>     }
>   }
> }
> ```

> [tab] VS Code
>
> Run **MCP: Add Server** from the command palette, choose **HTTP** and
> paste the server URL, or create `.vscode/mcp.json`:
>
> ```json theme={null}
> {
>   "servers": {
>     "river-docs": {
>       "type": "http",
>       "url": "https://docs.rivermarkets.com/authed/mcp"
>     }
>   }
> }
> ```
>
> Start the server from the file's inline **Start** action and sign in when
> the browser opens.

> [tab] Other clients
>
> Any MCP client that supports the streamable HTTP transport and OAuth can
> connect with the server URL alone. Loopback redirect URLs are accepted, so
> local tools work without registration.


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