Hex MCP server integration for AI agents.

Connect AI agents to Hex through 6 structured actions, including get project, run project, and cancel run. Review authentication, inputs, workflows, and safe…

ACTION CONTRACTS
6
AUTHENTICATION
API key
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Hex integration exposes

The Hex Agent App exposes 6 provider-backed actions for data and developer tools work. Its current contract lets an authorized agent get metadata for a single hex project by project id, trigger a run of the latest published version of a hex project, and cancel an in-progress hex project run. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Hex account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Hex capabilities.

Showing 6 of 6 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

get_projectREAD

Get metadata for a single Hex project by project ID.

INPUTS: projectId / includeSharing

run_projectWRITE

Trigger a run of the latest published version of a Hex project.

INPUTS: projectId / inputParams / notifications / dryRun / updatePublishedResults

cancel_runHIGH IMPACT

Cancel an in-progress Hex project run.

INPUTS: projectId / runId

get_run_statusREAD

Get the status and metadata for a specific Hex project run.

INPUTS: projectId / runId / enableExpandedStats

list_project_runsREAD

List API-triggered runs for a Hex project, optionally filtered by status.

INPUTS: projectId / limit / offset / statusFilter

list_projectsREAD

List Hex projects visible to the connected token, with pagination and common project filters.

INPUTS: limit / after / before / sortBy / sortDirection

INPUT CONTRACTS

Know what the action needs before it runs.

get_project

projectIdREQUIRED
Unique ID for a Hex project.
includeSharingOPTIONAL
Whether to include sharing information in the response.

run_project

projectIdREQUIRED
Unique ID for a Hex project.
inputParamsOPTIONAL
Input parameters for the Hex project run, keyed by project variable name.
notificationsOPTIONAL
Notifications to send when the run completes.
dryRunOPTIONAL
Whether to validate run inputs without executing the project.
updatePublishedResultsOPTIONAL
Whether to update the cached state of the published app after a successful run.

cancel_run

projectIdREQUIRED
Unique ID for a Hex project.
runIdREQUIRED
Unique ID for a run of a Hex project.

get_run_status

projectIdREQUIRED
Unique ID for a Hex project.
runIdREQUIRED
Unique ID for a run of a Hex project.
enableExpandedStatsOPTIONAL
Whether to request expanded run statistics from Hex.

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect Get Project

Get metadata for a single Hex project by project ID. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

get_project

Control Run Project

Trigger a run of the latest published version of a Hex project. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.

run_project

Verify with Get Run Status

Get the status and metadata for a specific Hex project run. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

get_run_status

SAFETY BOUNDARY

Operate Hex with explicit limits

  • Authorize Hex with API key and grant only the provider access required by the selected actions.
  • 2 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
  • Treat `cancel_run` as high-impact operations and require an explicit approval boundary.
  • No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Hex rather than assuming unrestricted access.
  • After a call, inspect the structured result and execution record before reporting that the Hex task completed successfully.

CONNECTION MODEL

API key

Hex personal access token or workspace token used with the Authorization Bearer header. Create it from User settings > Account > API keys.

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
4
WRITE SIGNALS
1
HIGH IMPACT
1
REVIEW SIGNALS
0

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Hex.

Official Hex website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS