Skip to content
MCP server
Registry

hatchet-mcp MCP Server

Observe and operate Hatchet workflows from an AI agent — runs, logs, trigger, cancel, replay.

hatchet-mcp scores 57 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 9 tools. Filed under Monitoring. GitHub shows 1 stars. Package registries report about 45 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by elliotpadfieldMITTypeScript1 stars
Trust score
57Fair
Trust score 57 of 100, Fair

Fair trust

57 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 57 comes from

22 + 10 + 1 + 10 + 4 + 10 = 57. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "elliotpadfield-hatchet-mcp": {      "command": "npx",      "args": [        "-y",        "hatchet-mcp@0.1.1"      ],      "env": {        "HATCHET_CLIENT_TOKEN": "YOUR_HATCHET_CLIENT_TOKEN",        "HATCHET_API_BASE": "",        "HATCHET_TENANT_ID": ""      }    }  }}

Environment variables

NameRequiredNotes
HATCHET_CLIENT_TOKENSecretRequiredHatchet API token (a JWT). Encodes the server URL and tenant, so it is normally the only setting required.
HATCHET_API_BASEOptionalOverride the API base URL. Self-hosters can point this at any Hatchet instance.
HATCHET_TENANT_IDOptionalOverride the tenant id decoded from the token.

Tools9Tool docs quality grade B

All capabilities
  • Cancel one or more runs/tasks by external id.

  • Get task/queue metrics for the tenant (queue health).

  • Get the full detail of one workflow run — status, tasks, errors.

  • Get log lines for a task by its external id.

  • List workflow runs (with an optional lookback window and filters).

  • List workers and their status.

  • List workflow definitions for the tenant.

  • Replay/retry one or more runs/tasks by external id.

  • Trigger a new workflow run by name with a JSON input payload.

About

hatchet-mcp

CI npm version license: MIT

An MCP server that lets AI agents observe and operate Hatchet workflows — status, runs, logs, workers, and metrics, plus trigger / cancel / replay.

Why: Hatchet has a great API but no MCP. This wraps it so agents (Claude Code / Desktop, etc.) can see and act on workflow state.

Install

Add this to your Claude Code / Claude Desktop MCP config:

{
  "mcpServers": {
    "hatchet": {
      "command": "npx",
      "args": ["-y", "hatchet-mcp"],
      "env": { "HATCHET_CLIENT_TOKEN": "<your-hatchet-api-token>" }
    }
  }
}

Get the token from the Hatchet dashboard → API tokens. The token is a JWT that encodes the server URL and tenant, so it's the only required setting.

Configuration

VariableRequiredDescription
HATCHET_CLIENT_TOKENYesHatchet API token (JWT). Encodes the server URL + tenant, so it's normally all you need.
HATCHET_API_BASENoOverride the API base URL. Self-hosters can point this at any Hatchet instance.
HATCHET_TENANT_IDNoOverride the tenant id decoded from the token.

Self-hosting? Set HATCHET_API_BASE to your own Hatchet instance and it works anywhere.

Tools

Observability (read-only)

ToolDescription
whoamiShow the resolved Hatchet tenant + server URL and confirm the token works.
list_workflowsList workflow definitions for the tenant.
list_runsList workflow runs (with an optional lookback window and filters).
get_runGet the full detail of one workflow run — status, tasks, errors.
get_run_logsGet log lines for a task by its external id.
list_workersList workers and their status.
get_queue_metricsGet task/queue metrics for the tenant (queue health).

Actions (mutate live state)

ToolDescription
trigger_workflowTrigger a new workflow run by name with a JSON input payload.
cancel_runsCancel one or more runs/tasks by external id.
replay_runsReplay/retry one or more runs/tasks by external id.

Safety

The read tools (whoami, list_workflows, list_runs, get_run, get_run_logs, list_workers, get_queue_metrics) are non-destructive.

trigger_workflow, cancel_runs, and replay_runs mutate live state — their descriptions are prefixed MUTATES LIVE STATE so agents and users know they affect real runs.

The token grants full tenant access — treat it as a secret. Never commit it to source control.

Development

pnpm install
pnpm test    # vitest
pnpm build   # tsup -> dist/index.js

TypeScript / ESM, tested with vitest.

Status

v0.1.0 — all tools verified against Hatchet Cloud; works with self-hosted instances via HATCHET_API_BASE. trigger_workflow uses the stable /workflow-runs/trigger endpoint.

Frequently asked questions

What is hatchet-mcp MCP Server?

Observe and operate Hatchet workflows from an AI agent — runs, logs, trigger, cancel, replay.

How do I install hatchet-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. hatchet-mcp MCP Server runs locally from the npm package hatchet-mcp with the command npx -y hatchet-mcp@0.1.1.

Is hatchet-mcp MCP Server free and open source?

Yes. hatchet-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does hatchet-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for hatchet-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does hatchet-mcp MCP Server provide?

hatchet-mcp MCP Server provides 9 tools, including cancel_runs, get_queue_metrics, get_run, and get_run_logs. See the full tool list for descriptions and parameters.

How is hatchet-mcp MCP Server's trust score calculated?

hatchet-mcp MCP Server scores 57 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server