Hex MCP Server
Published
At a glance
- Category
- Data & analytics
- Hosted by the vendor
- https://learn.hex.tech/docs/administration/mcp-server
- Watch out for
- Editing tools change the project draft directly with no staging step, and collaborators see the changes right away, although published app versions are left alone.
Hex runs its own MCP server as a hosted service at https://app.hex.tech/mcp. Nothing runs locally. You point an MCP client at that URL, sign in through OAuth, and pick a workspace if your account belongs to more than one. Single-tenant, EU and HIPAA customers swap the host for their own Hex domain, such as eu.hex.tech.
The server exposes two groups of tools. Knowledge tools let an agent search projects and ask questions through Hex threads, the same conversational analysis people use inside the Hex app. Project editing tools go further: an agent can create projects, add and change notebook cells, run them, and read back outputs and chart images.
Access follows Hex roles. The server is offered on Team and Enterprise plans, knowledge tools need the Explorer role or higher, and editing needs the Editor role plus edit access on each specific project. MCP access is separate from the workspace API setting, so turning off API access does not switch MCP off. Deactivating a user is how you revoke it.
How it connects
Your AI app
An assistant or agent that supports MCP
Hex MCP Server
Runs as
- Remote (HTTP)
Gives the agent
- Project search
- Conversational threads
- Project and cell editing
- Running notebooks
- Charts and connections
Hex
Signs in with
- OAuth / browser sign-in
What it can do
- Project search
- search_projects finds existing Hex projects, and get_me returns details about the signed-in user.
- Conversational threads
- create_thread starts a Hex thread that answers a data question, get_thread checks on it, and continue_thread asks a follow-up.
- Project and cell editing
- create_project and get_project manage projects, while list_cells, get_cell, create_cell, update_cell and delete_cell work on the notebook draft.
- Running notebooks
- run_cell and run_notebook execute code, and get_run and get_cell_output report status and results.
- Charts and connections
- get_cell_image returns a rendered cell image, and list_data_connections shows which data connections the workspace has.
Setting it up
In Claude, open Settings, then Connectors, then Browse Connectors, search for Hex, set the server URL to https://app.hex.tech/mcp and click Continue; each user then clicks Connect under Settings > Connectors and completes the OAuth sign-in. In Cursor you can run /add-plugin hex in chat or install it from the Cursor Marketplace. If your workspace lives on a different Hex domain, add a remote server under Cursor Settings > Tools & MCP or edit ~/.cursor/mcp.json with an entry named hex whose url is your domain followed by /mcp, then click Connect. Codex users open Plugins, search for Hex and click Connect. Glean admins add it under Admin Console > Platform > Actions with transport set to Streaming HTTP and authentication set to OAuth User.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Ask a Hex thread a business question from the editor and poll get_thread until the answer is ready.
- Find an existing analysis with search_projects before building a new one.
- Add a SQL or Python cell to a draft notebook, run it, and read the result with get_cell_output.
- Pull a chart image from a project with get_cell_image to drop into a discussion or design review.
Limitations and things to watch
- Editing tools change the project draft directly with no staging step, and collaborators see the changes right away, although published app versions are left alone.
- Threads started over MCP are always new and standalone, and they often take several minutes, so the client has to poll get_thread.
- list_cells returns a flat list without section nesting, and chart cell configuration cannot be read or edited.
- You cannot upload files from the conversation into Hex, and cell labels cannot be changed after a cell is created.
- The official Cursor plugin and ChatGPT app only connect to app.hex.tech, so other domains need a manual remote MCP setup.
Sources
Written from the project's own documentation, checked November 2026.
- learn.hex.tech /docs/administration/mcp-server
- learn.hex.tech /docs/api-integrations/mcp-server
- learn.hex.tech /docs/collaborate/sharing-and-permissions/roles
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.