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

# MCP server

> Connect your AI assistant to the API documentation via Model Context Protocol.

This site exposes an **MCP server** ([Model Context Protocol](https://modelcontextprotocol.io)):
an endpoint your AI assistant can query to read this documentation and the
endpoint reference without you copying and pasting anything.

## What it exposes

The server indexes the **entire site**: the guides, the concepts, and the API
reference generated from the OpenAPI spec. Your client can search the pages and
read each endpoint's definition — parameters, payloads, and errors — straight
from the chat.

<Note>
  The MCP server is for **exploring the documentation**, not for calling the API.
  Real calls still go to `https://app.1to1.ai/api/v1/public/...` with your API
  key. The MCP server is read-only and needs no authentication.
</Note>

## Connect your client

The server URL is this documentation's domain with `/mcp` appended:

```
https://docs.1to1ai.com/mcp
```

<Tabs>
  <Tab title="Claude Code">
    Register the server with a single command:

    ```bash theme={null}
    claude mcp add --transport http 1to1-api https://docs.1to1ai.com/mcp
    ```

    Confirm it connected with `claude mcp list`.
  </Tab>

  <Tab title="Cursor">
    Add the server to `.cursor/mcp.json` (per project) or `~/.cursor/mcp.json`
    (global):

    ```json theme={null}
    {
      "mcpServers": {
        "1to1-api": {
          "url": "https://docs.1to1ai.com/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Other clients">
    For clients that only support the stdio transport, use the `mcp-remote`
    bridge:

    ```json theme={null}
    {
      "mcpServers": {
        "1to1-api": {
          "command": "npx",
          "args": ["mcp-remote", "https://docs.1to1ai.com/mcp"]
        }
      }
    }
    ```
  </Tab>
</Tabs>

<Tip>
  The URL also appears in the contextual menu at the top of every page, under the
  MCP option.
</Tip>

## Next steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/en/quickstart">
    Authenticate your first request and send a message.
  </Card>

  <Card title="Authentication" icon="key" href="/en/authentication">
    How to issue and use your API key.
  </Card>
</CardGroup>
