Skip to content
Start here

Connect Hex to your agents

A trial starts first, then a project installs Hex from its marketplace.

Connect Hex
MCP serversLast verified

Hex MCP server

Let agents reuse the Hex projects your data team already trusts

Install the Hex MCP server in an Aldena project with a Hex API token, and agents find, run and read the data projects your analysts already built.

Sign-in
API key
Installs as
hex
Transport
Streamable HTTP

Hex is a collaborative data workspace where analysts build projects that mix SQL, Python and charts, then publish them for others to use. Its MCP server lets an agent find those projects, run them and read the results, using a Hex API token.

The point is reuse. When someone in an Aldena project asks an agent about last month's revenue, the agent runs the finance team's existing Hex project rather than writing a fresh query that might define revenue differently, and answers with the same numbers the business reports. Engineering agents use it for impact checks: before changing a table, the agent finds the Hex projects that depend on it and lists them in the pull request it opens through the GitHub connector, so the data team can review the change in time.

A weekly agent can run a published dashboard project and post the highlights through the Slack connector, with a link back to Hex for anyone who wants the detail. One token serves the whole project, so scope it to the projects agents should run. Pair Hex with the Google BigQuery MCP server when the agent needs raw warehouse access, or the Amplitude MCP server for product analytics.

With Hex, your agents can

  • Find the Hex projects in a workspace by name or topic

  • Run a published project and read its results

  • Inspect a project's logic before relying on its numbers

  • Answer data questions from analysis your team already reviewed

Try asking

Things to ask an agent in a project chat once it's installed.

  • “Find the Hex project our finance team uses for monthly revenue and run it for October, then summarize the top three changes.”

  • “Run the Hex churn analysis with the cohort set to customers who signed up in Q2 and tell me how retention compares with Q1.”

  • “Which Hex projects read from the orders table? List them so I know what the schema change will affect.”

Server

Server URL
https://app.hex.tech/mcp
Website
hex.tech
MCP docs
Hex MCP docs

How to connect Hex

  1. Open Marketplace

    In a project, open Settings → Connectors → MCP servers and press Marketplace.

  2. Install Hex

    Search for Hex and press Install. Aldena adds it as hex.

  3. Paste your API key

    The server URL and Header name Authorization come prefilled. Aldena sends the Token as typed, so follow the Hex docs: often Bearer <key>, sometimes another Header name.

  4. Let agents use it

    Agents find its tools with mcp_search and call them with mcp_call. Each tool gets its own row in the project's permissions.

Related MCP servers

FAQ

How do I connect the Hex MCP server to Aldena?

Install Hex from the project's MCP marketplace. It signs in with a key, so Aldena opens the add form with the server URL already filled in. Aldena sends the Token as typed, so enter a Hex API token as Hex documents it, usually Bearer followed by the token, then save. The token is encrypted at rest and never shown in the browser again.

Why use Hex instead of letting an agent write SQL?

Because the analysis in a Hex project has already been checked by your data team. Running that project gives an agent the same definitions of revenue or churn that the business uses, instead of a new query that might count differently.

Whose access does the Hex token carry?

Whatever the token was created with in Hex, scoped to the workspace and projects it can reach. Every agent in the Aldena project shares that token, so create one with access to the projects those agents should run and nothing more.

Ready when you are

Spin up your first project.

One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.