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

# Connect docs to AI (MCP)

> Use Mintlify’s hosted MCP server to search this documentation from Cursor, Claude Code, OpenAI Codex, or Claude on the web.

# Connect this documentation to MCP

Mintlify hosts a **Model Context Protocol (MCP)** endpoint for this site. After you connect it in your AI tool, the assistant can search these docs for API details, configuration, and guides instead of guessing from memory.

## Hosted MCP server

|                 |                                                                                                                                                                                   |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **MCP URL**     | `https://docs.rpg-leveling.zuxaw.com/mcp`                                                                                                                                         |
| **Search tool** | Searches the RPG Leveling Plugin knowledge base and returns relevant excerpts with links to doc pages. (In MCP clients it may appear as `search_rpg_leveling_plugin` or similar.) |

<Note>
  Mintlify applies rate limits on MCP search (per IP and per site). For typical personal use this is usually enough; if searches fail repeatedly, wait a bit and try again.
</Note>

***

## Cursor

1. Open the command palette: **Ctrl+Shift+P** (Windows/Linux) or **Cmd+Shift+P** (macOS).
2. Run **Open MCP settings** (or **MCP: Open Settings**).
3. Choose **Add custom MCP** (or edit `mcp.json` when prompted).

Add an entry under `mcpServers` (merge with any servers you already have):

```json theme={null}
{
  "mcpServers": {
    "rpg-leveling-docs": {
      "url": "https://docs.rpg-leveling.zuxaw.com/mcp"
    }
  }
}
```

Save the file, restart Cursor if it does not pick up the change immediately, then in chat you can confirm the server is listed among available tools.

See Cursor’s guide: [Installing MCP servers](https://docs.cursor.com/en/context/mcp).

***

## Claude Code (CLI)

Register the hosted server with HTTP transport:

```bash theme={null}
claude mcp add --transport http rpg-leveling-docs https://docs.rpg-leveling.zuxaw.com/mcp
```

Verify:

```bash theme={null}
claude mcp list
```

See Anthropic’s guide: [Claude Code MCP](https://docs.anthropic.com/en/docs/claude-code/mcp).

***

## OpenAI Codex (CLI / IDE)

Codex uses **streamable HTTP** MCP servers via `config.toml` (default: `~/.codex/config.toml`, or `.codex/config.toml` in a trusted project).

Add:

```toml theme={null}
[mcp_servers.rpg-leveling-docs]
url = "https://docs.rpg-leveling.zuxaw.com/mcp"
```

Or use the CLI (supports `--url` for HTTP servers):

```bash theme={null}
codex mcp add rpg-leveling-docs --url https://docs.rpg-leveling.zuxaw.com/mcp
```

Use `codex mcp list` to confirm. In the Codex TUI, the `/mcp` command shows active servers.

See OpenAI’s guide: [Model Context Protocol (Codex)](https://developers.openai.com/codex/mcp).

***

## Claude on the web (claude.ai)

1. Open [Claude settings → Connectors](https://claude.ai/settings/connectors).
2. Click **Add custom connector**.
3. Enter a name (for example `RPG Leveling docs`) and the MCP URL: `https://docs.rpg-leveling.zuxaw.com/mcp`.
4. Complete any authentication prompts if shown.

In a conversation, attach or enable the connector so Claude can call the documentation search tool.

See also: [Using a remote MCP server](https://modelcontextprotocol.io/docs/tutorials/use-remote-mcp-server#connecting-to-a-remote-mcp-server) (Model Context Protocol).

***

## More detail

Mintlify’s overview of hosted doc MCP (search behavior, indexing, optional filters): [Model Context Protocol](https://mintlify.com/docs/ai/model-context-protocol).
