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

# MCP Integration

> Connect to Pathors via Model Context Protocol for AI-native agent management

The Pathors MCP server lets you manage your AI agents directly from Claude Desktop, Claude Code, Cursor, and any MCP-compatible client. Tools are auto-discovered — no need to memorize endpoints.

## Connect

The server uses **OAuth** by default — when you first connect, it will redirect you through the authentication flow automatically. No manual setup needed.

### Claude

Pathors is available as a **Claude Custom Connector** — you can add it directly from **Claude Desktop** or **claude.ai** without any config file:

1. Go to **Settings > MCP** (or **Integrations**)
2. Click **Add Custom Connector**
3. Enter the server URL: `https://api.pathors.com/mcp`
4. Complete the OAuth flow when prompted

### Client Configuration

For other clients, or if you prefer file-based config, add the following to your client's MCP configuration:

<CodeGroup>
  ```json Claude Desktop (claude_desktop_config.json) theme={null}
  {
    "mcpServers": {
      "pathors": {
        "type": "streamable-http",
        "url": "https://api.pathors.com/mcp"
      }
    }
  }
  ```

  ```bash Claude Code theme={null}
  claude mcp add pathors --transport streamable-http https://api.pathors.com/mcp
  ```

  ```json Cursor (.cursor/mcp.json) theme={null}
  {
    "mcpServers": {
      "pathors": {
        "type": "streamable-http",
        "url": "https://api.pathors.com/mcp"
      }
    }
  }
  ```

  ```json Windsurf theme={null}
  {
    "mcpServers": {
      "pathors": {
        "serverUrl": "https://api.pathors.com/mcp"
      }
    }
  }
  ```
</CodeGroup>

<Note>
  OAuth authentication will be triggered automatically on first connection for all clients above.
</Note>

## Available Tools

Once connected, your MCP client will auto-discover tools across these categories:

| Category     | What you can do                                |
| ------------ | ---------------------------------------------- |
| Projects     | Create, list, update, delete projects          |
| Agent Config | Get and update agent settings                  |
| Pathway      | Design conversation flows (nodes + edges)      |
| Sessions     | Query session history and analytics            |
| Testing      | Manage test cases, suites, and run tests       |
| Tool Config  | Configure agent tools (REST API, search, etc.) |

All tool parameters and descriptions are provided by the MCP protocol itself — your AI assistant will know how to use them.
