> ## Documentation Index
> Fetch the complete documentation index at: https://polyai-mintlify-7055a538.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP

> PolyAI's authenticated MCP servers let any MCP client build agents and query their data. Learn the two directions MCP works and which one you need.

The [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) is an open standard for connecting AI systems to tools. PolyAI works with MCP in **two directions** — and it's worth being clear which one you want before you start, because they solve opposite problems.

## Two directions

<CardGroup cols={2}>
  <Card title="PolyAI's MCP servers" icon="server" href="/mcp/quickstart">
    **Connect a client in.** Point an MCP client — Cursor, Claude Code, Claude Desktop, Codex — at one of PolyAI's authenticated, hosted MCP servers to build agents or query their data from your IDE. Your tool acts as a client of PolyAI's server.
  </Card>

  <Card title="Agent Studio MCP integrations" icon="plug" href="/mcp/agent-studio-integrations">
    **Consume external tools.** Add a third-party MCP server inside Agent Studio so your live agent can call its tools during conversations. This is your agent acting as a client of someone else's server.
  </Card>
</CardGroup>

| You want to…                                                              | Use                                                             | Direction                |
| ------------------------------------------------------------------------- | --------------------------------------------------------------- | ------------------------ |
| Build and manage PolyAI agents from an IDE or AI coding tool              | [Builder MCP](/mcp/builder/introduction)                        | Client → PolyAI          |
| Query conversation data — transcripts, metrics, analytics — from a client | [Data MCP](/mcp/data/introduction)                              | Client → PolyAI          |
| Let your live agent look up data or trigger actions in another system     | [Agent Studio MCP integrations](/mcp/agent-studio-integrations) | PolyAI → external server |

<Note>
  The rest of this section documents **PolyAI's authenticated MCP servers** — the ones you connect a client to. For the connect-out direction, see [Agent Studio MCP integrations](/mcp/agent-studio-integrations).
</Note>

## PolyAI's MCP servers

PolyAI hosts two authenticated MCP servers. They cover different jobs, but connect the same way — both use the streamable HTTP transport, run in the same regions, and take the same **account API key** in the `X-API-KEY` header.

<CardGroup cols={2}>
  <Card title="Builder MCP" icon="wrench" href="/mcp/builder/introduction">
    Build, test, and deploy PolyAI agents — agents, data, and alerts as tools.
  </Card>

  <Card title="Data MCP" icon="chart-line" href="/mcp/data/introduction">
    Query conversation data — search conversations, read transcripts, aggregate metrics.
  </Card>
</CardGroup>

|                   | **Builder MCP**                | **Data MCP**                                  |
| ----------------- | ------------------------------ | --------------------------------------------- |
| **What it's for** | Build, test, and deploy agents | Query conversations, transcripts, and metrics |
| **Authenticates** | Account API key                | Account API key                               |
| **Endpoint path** | `/builder-mcp`                 | `/data-mcp`                                   |
| **Regions**       | US, UK, EU, Studio             | US, UK, EU, Studio                            |

## Get connected

<Steps>
  <Step title="Authenticate">
    Create the API key your server needs and configure your client's auth. See [Authentication](/mcp/authentication).
  </Step>

  <Step title="Connect a client">
    Add the server to Cursor, Claude Code, Claude Desktop, or Codex with a single command. See [Quickstart](/mcp/quickstart).
  </Step>

  <Step title="Build or query">
    Use the [Builder MCP](/mcp/builder/introduction) to create, test, and deploy agents, or the [Data MCP](/mcp/data/introduction) to query conversation data — all conversationally.
  </Step>
</Steps>
