# Model Context Protocol (MCP)

The Model Context Protocol (MCP) allows AI tools like **Cursor**, **Windsurf**, and **Claude** to browse, search, and read WHITELABEL's documentation in real-time. This gives your AI assistant access to up-to-date context when helping you integrate WHITELABEL.

## Documentation MCP URL
Use the following URL to connect your tools to the WHITELABEL documentation:

[https://docs.whitelabel.com/mcp](https://docs.whitelabel.com/mcp)  

---

## Connecting to AI Tools

### Cursor
1. Open **Cursor Settings** (`Cmd+Shift+P` or `Ctrl+Shift+P` -> "Open MCP Settings").
2. Click on **+ Add New MCP Server**.
3. Fill in the details:
   - **Name**: WHITELABEL Docs
   - **Type**: `http`
   - **URL**: `https://docs.whitelabel.com/mcp`
4. Click **Save**.

### Claude Desktop
1. Open your Claude Desktop configuration file (usually `~/Library/Application Support/Claude/claude_desktop_config.json` or `%APPDATA%\Claude\claude_desktop_config.json`).
2. Add the WHITELABEL Docs connector to the `mcpServers` section:

```json
{
  "mcpServers": {
    "whitelabel-docs": {
      "url": "https://docs.whitelabel.com/mcp"
    }
  }
}
```

### Windsurf / VS Code Copilot  
For tools that support native MCP via folder configuration, create a `.vscode/mcp.json` file in your project:  

```json
{
  "servers": {
    "whitelabel-docs": {
      "type": "http",
      "url": "https://docs.whitelabel.com/mcp"
    }
  }
}
```