|
| 1 | +--- |
| 2 | +title: MCP Connectors |
| 3 | +description: Connect external MCP servers so the agent can use their tools — search Notion, file Linear issues, query Sentry, and more — from chat. |
| 4 | +--- |
| 5 | + |
| 6 | +<Warning> |
| 7 | + |
| 8 | +MCP Connectors is currently in preview, and the user experience may still change. |
| 9 | +Reach out to the [Cube support team](/admin/account-billing/support) to activate this |
| 10 | +feature for your account. |
| 11 | + |
| 12 | +</Warning> |
| 13 | + |
| 14 | +MCP Connectors let the [agent](/admin/ai) use tools from external services. An |
| 15 | +administrator connects an external [MCP](https://modelcontextprotocol.io) server — such as |
| 16 | +Notion, Linear, Sentry, or Attio — and its tools become available to the agent in |
| 17 | +[Analytics Chat](/docs/explore-analyze/analytics-chat). The agent can then search a Notion |
| 18 | +workspace, file a Linear issue, look up a Sentry error, or call any tool a connected server |
| 19 | +exposes, alongside the data it queries from your semantic model. |
| 20 | + |
| 21 | +<Note> |
| 22 | + |
| 23 | +**MCP Connectors are the inverse of the [MCP server](/docs/integrations/mcp-server).** A |
| 24 | +connector lets the **Cube agent reach out** to an external MCP server and call its tools. |
| 25 | +The MCP server lets **external MCP clients reach in** to Cube and query your data. One is |
| 26 | +outbound, the other inbound — you can use either or both. |
| 27 | + |
| 28 | +</Note> |
| 29 | + |
| 30 | +## Concepts |
| 31 | + |
| 32 | +- A **connector** is a connection to one external MCP server. Each connector is configured |
| 33 | + and authenticated once, at the organization level, by an administrator. |
| 34 | +- Each connector exposes one or more **tools** — the individual actions the agent can call |
| 35 | + (for example, "search pages" or "create issue"). A single connector typically exposes |
| 36 | + many tools. |
| 37 | +- Connectors are managed in the admin panel under **MCP Connectors** and apply across the |
| 38 | + organization, so every agent can use the tools you enable. |
| 39 | + |
| 40 | +## Adding a connector |
| 41 | + |
| 42 | +Open the admin panel and go to **MCP Connectors**. You can add a connector from the |
| 43 | +built-in directory or connect a custom MCP server. |
| 44 | + |
| 45 | +{/* TODO: screenshot — MCP Connectors admin page with the directory and connectors list */} |
| 46 | + |
| 47 | +### From the directory |
| 48 | + |
| 49 | +The connector directory includes vetted, first-party integrations with streamlined setup. |
| 50 | + |
| 51 | +<Steps> |
| 52 | + <Step title="Browse the directory"> |
| 53 | + Select **Browse directory** and choose a service (for example, Notion, Linear, Sentry, |
| 54 | + or Attio). |
| 55 | + </Step> |
| 56 | + <Step title="Authenticate"> |
| 57 | + Complete the connector's authentication flow (see [Authentication](#authentication) |
| 58 | + below). For OAuth-based connectors you'll be redirected to the provider to authorize |
| 59 | + access. |
| 60 | + </Step> |
| 61 | + <Step title="Enable tools"> |
| 62 | + Review the tools the connector exposes and choose which ones are available to the |
| 63 | + agent. See [Choosing which tools are available](#choosing-which-tools-are-available). |
| 64 | + </Step> |
| 65 | +</Steps> |
| 66 | + |
| 67 | +### Custom connector |
| 68 | + |
| 69 | +Any service that exposes a remote MCP endpoint can be connected as a custom connector. |
| 70 | + |
| 71 | +<Steps> |
| 72 | + <Step title="Add a custom connector"> |
| 73 | + Select **Add custom connector** and provide a name and the server's HTTPS endpoint URL |
| 74 | + (for example, `https://mcp.example.com/mcp`). |
| 75 | + </Step> |
| 76 | + <Step title="Authenticate"> |
| 77 | + Choose the authentication method the server requires — OAuth or a user-provided |
| 78 | + credential such as an API key or token. |
| 79 | + </Step> |
| 80 | + <Step title="Enable tools"> |
| 81 | + Once connected, the server's tools are discovered automatically. Choose which ones the |
| 82 | + agent may call. |
| 83 | + </Step> |
| 84 | +</Steps> |
| 85 | + |
| 86 | +## Authentication |
| 87 | + |
| 88 | +Connectors authenticate to the external service in one of two ways, depending on what the |
| 89 | +service supports: |
| 90 | + |
| 91 | +| Method | How it works | |
| 92 | +|--------|--------------| |
| 93 | +| **OAuth** | You authorize Cube with the provider through a standard OAuth flow. The connector stores the resulting tokens and refreshes them as needed. Used by most directory connectors. | |
| 94 | +| **User-provided credential** | You supply a credential — such as an API key or access token — that the connector uses to authenticate. Used when a service does not offer OAuth. | |
| 95 | + |
| 96 | +A connector's status indicator in the connectors list shows whether it is connected and |
| 97 | +authenticated. |
| 98 | + |
| 99 | +## Choosing which tools are available |
| 100 | + |
| 101 | +Each connected server reports the full set of tools it exposes (shown as a count, for |
| 102 | +example `16 / 16`). You control which of those tools the agent is allowed to call. |
| 103 | +Enabling only the tools you need keeps the agent focused and limits what it can do through |
| 104 | +each connector. |
| 105 | + |
| 106 | +## How the agent uses connector tools |
| 107 | + |
| 108 | +Once a connector is configured and its tools are enabled, the agent can call them in |
| 109 | +[Analytics Chat](/docs/explore-analyze/analytics-chat) as part of answering a request — the |
| 110 | +same way it queries your semantic model. The agent decides when a tool is relevant based on |
| 111 | +the user's request and the tool's description. If a tool requires the user to authenticate |
| 112 | +to the external service, the agent prompts for authorization in chat before the tool runs. |
| 113 | + |
| 114 | +## Permissions |
| 115 | + |
| 116 | +Managing MCP Connectors requires administrator access in Cube Cloud — the same access |
| 117 | +needed to manage other organization-level settings in the admin panel. Connectors apply |
| 118 | +across the organization; using the tools they expose is available to anyone with chat |
| 119 | +access, subject to the tools you enable. |
| 120 | + |
| 121 | +## Related |
| 122 | + |
| 123 | +<CardGroup cols={2}> |
| 124 | + <Card title="MCP server" icon="plug" href="/docs/integrations/mcp-server"> |
| 125 | + Let external MCP clients connect to Cube and query your data over HTTPS. |
| 126 | + </Card> |
| 127 | + <Card title="Overview" icon="robot" href="/admin/ai"> |
| 128 | + Configure the agent that powers Cube's AI features. |
| 129 | + </Card> |
| 130 | + <Card title="Skills" icon="wand-magic-sparkles" href="/admin/ai/skills"> |
| 131 | + Package reusable, named agent workflows users can run on demand from chat. |
| 132 | + </Card> |
| 133 | + <Card title="Analytics Chat" icon="comments" href="/docs/explore-analyze/analytics-chat"> |
| 134 | + Ask questions of your data in natural language. |
| 135 | + </Card> |
| 136 | +</CardGroup> |
0 commit comments