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

# Model Context Protocol (MCP)

> Connect our documentation to your AI tools via MCP

The Model Context Protocol (MCP) allows you to connect WePayout's documentation directly to your AI tools (like Claude, Cursor, or VS Code). This enables the AI to have real-time access to our latest API reference, guides, and concepts.

## MCP Server URL

Use the following URL to connect to our hosted MCP server:

```
https://docs.wepayout.co/mcp
```

## How to use

### Claude

1. Navigate to the [Connectors](https://claude.ai/settings/connectors) page in your Claude settings.
2. Select **Add custom connector**.
3. Enter a name (e.g., `WePayout`) and the MCP URL: `https://docs.wepayout.co/mcp`.
4. Click **Add**.
5. When chatting with Claude, click the plus icon (attachments) and select the **WePayout** connector.

### Cursor

1. Open the command palette (`Cmd/Ctrl + Shift + P`).
2. Search for "Open MCP settings".
3. Select **Add custom MCP**. This opens your `mcp.json` file.
4. Add the WePayout server configuration:
   ```json theme={null}
   {
     "mcpServers": {
       "wepayout": {
         "url": "https://docs.wepayout.co/mcp"
       }
     }
   }
   ```

### VS Code (with Copilot)

1. Create or open `.vscode/mcp.json` in your project.
2. Add the following configuration:
   ```json theme={null}
   {
     "servers": {
       "wepayout": {
         "type": "http",
         "url": "https://docs.wepayout.co/mcp"
       }
     }
   }
   ```

### Claude Code

You can also add the MCP server via the CLI:

```bash theme={null}
claude mcp add --transport http wepayout https://docs.wepayout.co/mcp
```

For more details on MCP, visit the [official Mintlify documentation](https://www.mintlify.com/docs/ai/model-context-protocol).
