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

# Connect your MCP

> Connect your AI assistant to the TapiPay documentation through the MCP server.

TapiPay exposes an **MCP server** (Model Context Protocol) with its documentation. By connecting it to your AI assistant, you can ask about the API and get answers grounded in this documentation, without leaving your editor or chat.

The MCP server URL is:

```
https://tapi-d0a74b1d.mintlify.app/mcp
```

<Note>
  The MCP is for **reading and querying the documentation**: your assistant can search and read these pages. It does not execute the API (it does not create debts or charges on its own).
</Note>

## Connect it to your client

The fastest way is the **"Copy page"** menu (top right of any page): it includes one-click connect buttons. If you prefer to do it manually, pick your client:

<Tabs>
  <Tab title="Claude" icon="https://mintcdn.com/tapi-d0a74b1d/PACdc3owb6UnEZDN/logos/clients/claude.svg?fit=max&auto=format&n=PACdc3owb6UnEZDN&q=85&s=26ee3c017fd29b8e90cd78a58779a909" width="16" height="16" data-path="logos/clients/claude.svg">
    In Claude (Desktop or web), go to **Settings → Connectors → Add custom connector** and paste the MCP server URL:

    ```
    https://tapi-d0a74b1d.mintlify.app/mcp
    ```
  </Tab>

  <Tab title="ChatGPT" icon="https://mintcdn.com/tapi-d0a74b1d/PACdc3owb6UnEZDN/logos/clients/openai.svg?fit=max&auto=format&n=PACdc3owb6UnEZDN&q=85&s=62d7c9d96604c80d73193c8041d25e9c" width="16" height="16" data-path="logos/clients/openai.svg">
    ChatGPT supports remote MCP servers through **Developer Mode** (available on Pro, Team, Enterprise, and Edu plans).

    1. Go to **Settings → Connectors → Advanced → Developer Mode** and enable it.
    2. In **Connectors**, add a new connector with the MCP server URL:

    ```
    https://tapi-d0a74b1d.mintlify.app/mcp
    ```
  </Tab>

  <Tab title="Cursor" icon="https://mintcdn.com/tapi-d0a74b1d/PACdc3owb6UnEZDN/logos/clients/cursor.svg?fit=max&auto=format&n=PACdc3owb6UnEZDN&q=85&s=1e59fde189379552d82f32e1eba2ee40" width="16" height="16" data-path="logos/clients/cursor.svg">
    In Cursor, go to **Settings → Tools & MCP → New MCP Server** and paste the URL. Or add it manually in your `mcp.json` (global at `~/.cursor/mcp.json` or per project at `.cursor/mcp.json`):

    ```json theme={null}
    {
      "mcpServers": {
        "tapipay-docs": {
          "url": "https://tapi-d0a74b1d.mintlify.app/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="VS Code" icon="https://mintcdn.com/tapi-d0a74b1d/PACdc3owb6UnEZDN/logos/clients/vscode.svg?fit=max&auto=format&n=PACdc3owb6UnEZDN&q=85&s=2d8f5d35df8132e94a0c70cae99977d2" width="16" height="16" data-path="logos/clients/vscode.svg">
    Open the Command Palette (`Ctrl/Cmd + Shift + P`), run **MCP: Add Server**, choose **HTTP**, and paste the URL. Or add it manually by creating `.vscode/mcp.json`:

    ```json theme={null}
    {
      "servers": {
        "tapipay-docs": {
          "type": "http",
          "url": "https://tapi-d0a74b1d.mintlify.app/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Claude Code" icon="https://mintcdn.com/tapi-d0a74b1d/PACdc3owb6UnEZDN/logos/clients/claude-code.svg?fit=max&auto=format&n=PACdc3owb6UnEZDN&q=85&s=1f65da50051c4f9f4b2011b1899101a7" width="16" height="16" data-path="logos/clients/claude-code.svg">
    From the terminal:

    ```bash theme={null}
    claude mcp add --transport http tapipay-docs https://tapi-d0a74b1d.mintlify.app/mcp
    ```

    Or add it to a `.mcp.json` file in your project root (shared via version control):

    ```json theme={null}
    {
      "mcpServers": {
        "tapipay-docs": {
          "type": "http",
          "url": "https://tapi-d0a74b1d.mintlify.app/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Codex" icon="https://mintcdn.com/tapi-d0a74b1d/PACdc3owb6UnEZDN/logos/clients/codex.svg?fit=max&auto=format&n=PACdc3owb6UnEZDN&q=85&s=b830892b787cc4ab7c2f0fc3a895d2d1" width="16" height="16" data-path="logos/clients/codex.svg">
    Add the server to `~/.codex/config.toml`:

    ```toml theme={null}
    [mcp_servers.tapipay-docs]
    url = "https://tapi-d0a74b1d.mintlify.app/mcp"
    ```

    In the Codex terminal you can verify it with `/mcp`.
  </Tab>

  <Tab title="OpenCode" icon="https://mintcdn.com/tapi-d0a74b1d/PACdc3owb6UnEZDN/logos/clients/opencode.svg?fit=max&auto=format&n=PACdc3owb6UnEZDN&q=85&s=c96666110c7382ec8151e169e819fcbe" width="16" height="16" data-path="logos/clients/opencode.svg">
    Add the server to your `opencode.json`, under `mcp`:

    ```json theme={null}
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "tapipay-docs": {
          "type": "remote",
          "url": "https://tapi-d0a74b1d.mintlify.app/mcp",
          "enabled": true
        }
      }
    }
    ```
  </Tab>
</Tabs>

## What you can do

Once connected, your assistant can:

<CardGroup cols={2}>
  <Card title="Query the API" icon="comments">
    Ask how to create a debt, what fields an endpoint accepts, or how idempotency works, with answers grounded in this documentation.
  </Card>

  <Card title="Search and browse" icon="magnifying-glass">
    Find the right page and read its full content without opening the browser.
  </Card>
</CardGroup>

<Tip>
  Do not want to configure anything? Use the **Ask Assistant** button in this documentation: it is the same assistant, but inside the site.
</Tip>
