Articles

How to Connect Claude Desktop to Cube over MCP

Last updated November 26, 2026

To connect Claude Desktop to Cube over MCP, use Cube in Claude's Connectors directory and authorize with Cube OAuth. Cube hosts its MCP server over HTTPS, so the standard Cube Cloud connection does not require a local process or a claude_desktop_config.json entry. After sign-in, Claude can use the Cube tools available to the authenticated user.

Before you connect

Cube's MCP server gives Claude the governed model used by the platform, while Cube retains the warehouse connection and credentials. Cube is the semantic layer for AI, and the AI context layer explains how the model, rules, and lineage give agents business context. The same platform supports internal analytics and embedded analytics; the Claude connection is an agent access path across both.

You need a Cube account with a deployment you can access. In Cube, open Admin > MCP Server and check the default deployment and any deployment limits. The user who signs in should have at least the Viewer role. Administrators can also disable individual MCP tools, so a connected account may expose a smaller tool set than another user sees.

For the broader architecture behind this setup, read the semantic layer guide for AI agents. The client connection carries requests; Cube's model supplies the metric definitions, relationships, and access rules that make the answers useful.

Claude Desktop MCP Setup

For a standard Cube Cloud account, use the connector already listed in Claude. You do not need to create a local MCP server or paste an endpoint into a JSON file.

  1. In Claude Desktop, open Customize > Connectors.
  2. Select the plus button and choose Browse connectors.
  3. Search for Cube, open the connector, and click Connect.
  4. Sign in to Cube with OAuth. If you belong to more than one Cube account, choose the account that contains the deployment you want to use.
  5. If Cube is managed through a Team or Enterprise Claude workspace, an organization owner may need to enable it under Admin settings > Connectors before members can connect.

Once OAuth completes, open a Claude conversation and use the tools menu to enable Cube for that chat. Connector access is account-level, but you still choose which connectors are active in a conversation. Claude's custom connector instructions describe the current menus and organization controls.

Verify the connection with a real metric

Ask Claude to identify a measure in the model, then ask a question using that measure and a dimension you know are valid. For example, use a template such as “Show [modeled metric] by [modeled dimension] for [time range]” and replace each bracket with an object from your Cube model. Compare the result with a known answer from a Cube workbook or a trusted query.

Then check access. Repeat the request as a user with a different role or deployment assignment and confirm the result follows that user's permissions. A connection test confirms Claude can call the server; compare the metric and returned rows with the model and the user's access rules. The guide to governed AI data access covers the permission checks to include in a rollout.

Use a custom endpoint when needed

Use a custom connector if your Cube deployment requires a region-specific endpoint or runs on your own console domain. In Cube, open Admin > MCP Server and copy the endpoint shown there. The standard hosted Cube Cloud URL is https://cubecloud.dev/mcp; for a self-managed console, the URL uses that console's domain. Prefer the exact endpoint displayed for your deployment when Cube provides one.

In Claude, open Customize > Connectors, select the plus button, and choose Add custom connector. Give it a name such as Cube, paste the endpoint, review the authentication settings, and add it. Select Connect and complete the Cube sign-in. For Team and Enterprise workspaces, an owner may need to add the custom connector in organization settings before other users can connect.

Claude's remote connector connects from Anthropic's cloud infrastructure, not from the network interface on your computer. Cube Cloud's hosted endpoint is already remote. If you use a private console domain, check that Anthropic's service can reach it over HTTPS; a server available only behind a local VPN will not be reachable through a remote connector. Cube's MCP server documentation lists the hosted endpoint, custom endpoint options, and Cube-side access controls.

Troubleshoot missing tools or data

If Cube does not appear in Claude's connector list, check whether an organization owner needs to enable it and confirm that you are using Claude Desktop's Connectors settings. If the connector is visible but cannot authenticate, disconnect and reconnect it, then select the intended Cube account during OAuth.

If authentication succeeds but the deployment or tools are missing, return to Admin > MCP Server in Cube. Confirm that the default deployment or allowed deployment list includes the one you need, that your Cube user can access it, and that an administrator has not disabled the required tools. Also check the tools menu in the current conversation; a connector can be connected without being enabled for that chat.

The analytics MCP server guide explains how the server exposes governed metrics and what to evaluate beyond a successful login. The practical test is whether Claude returns a known number under the right user's permissions, with the result tied to a definition in the Cube model.

Frequently asked questions

How do I connect Claude Desktop to Cube over MCP?
In Claude Desktop, open Customize > Connectors, find Cube in the directory, select Connect, and complete the Cube OAuth flow. Then enable Cube from the tools menu in a conversation. Cube's hosted MCP server supplies the connection, so the standard setup does not require a local process.
What MCP endpoint should I use for Claude Desktop with Cube?
The standard Cube Cloud endpoint is https://cubecloud.dev/mcp, but the Cube connector in Claude's directory does not require you to paste a URL. For a custom connector, copy the endpoint shown under Admin > MCP Server; region-specific or self-managed deployments may use a different URL.
Does Claude Desktop need a local MCP server to connect to Cube?
No. Cube hosts its MCP server over HTTPS and Claude connects through its remote connector flow. The local claude_desktop_config.json file is for local MCP servers, which is a different setup.
Is the Cube connector in Claude's directory using MCP?
Yes. The directory connector is the user-facing path to Cube's hosted MCP server. Claude handles the remote connection while Cube handles OAuth, account selection, deployment access, and governed analytics requests.
Can I use a custom Cube MCP endpoint in Claude Desktop?
Yes. Use a custom connector when you need a region-specific endpoint or your own Cube console domain. Copy the exact URL from Cube's Admin > MCP Server page, add it under Claude's Connectors settings, then authenticate with Cube.
What permissions does Claude use when it connects to Cube?
Claude uses the Cube identity that completes OAuth. The user needs the Viewer role or higher, and the tools available also depend on the user's role, deployment access, and administrator settings.
Why can Claude connect to Cube but not see a deployment?
Check that an administrator has made the deployment available to MCP clients and that the signed-in Cube user can access it. Also confirm that the correct Cube account was selected during OAuth.
How do I check whether the Claude Desktop MCP connection works?
Enable Cube in the conversation tools menu and ask about a metric that exists in the Cube model. Compare the result with a known answer, then repeat with a user who should not have access to the same data.

Get started with Cube