Hatchet MCP

Hatchet MCP

Enables running durable, traceable AI agents via LangGraph through a universal MCP interface, integrating with Hatchet for orchestration, logging, and retries. Provides tools for knowledge management (ingestion, RAG) and Kubernetes operations (diagnosis, auto-fix).

Category
Visit Server

README

Personal Agentic AI - Hatchet MCP

This is my personal local AI agent setup that can run durable and fully traceable agents (with LangGraph), utilizing a universal MCP interface. The MCP directly talks to a Hatchet server, which then triggers my custom tasks/workflows, making it trivial to hook up any local LLM chat interface (LMStudio, OpenCode, Claude Code, Open WebUI, etc) and run custom AI workflows. This has the added benefit of full logging, custom loops, orchestration, retries, tracing, and all other goodies provided by Hatchet.


Quick start

uv sync                            # install deps (this is only required for local dev)
just docker-start                  # start Hatchet orchestration server in Docker (localhost:8888)
just worker                        # start local worker (runs LangGraph locally, no Docker)
just dev                           # run LangGraph Studio to visualize and debug graphs

Currently available agents

Agent How to trigger
Knowledge Management ingests files, extracts text, vector embeddings, deep inspection with LLM, RAG retrieval, file indexing
K8s DevOps Troubleshooter full LangGraph agent loop: check cluster, diagnose with LLM, auto-fix via kubectl, verify, self-correct
K8s Direct Tools individual k8s ops (check_pods, get_logs, describe_pod, run_kubectl, etc.) routed through Hatchet

Architecture

LLM client (opencode, claude, etc.)
  │
  ├── MCP Server (kb_server.py)    ◄── stdio
  │     ├── ingest_document        ──▶ event push to Worker
  │     ├── search, get_document
  │     ├── list_documents, search_documents
  │     └── delete_document
  │
  └── MCP Server (k8s_server.py)   ◄── stdio
        ├── check_pods, get_logs, describe_pod
        ├── get_events, debug_pod, run_kubectl
        ├── get_deployments, get_statefulsets, get_daemonsets
        ├── get_services, get_ingresses, get_configmaps
        ├── get_secrets, exec_in_pod
        └── run_devops_agent       ──▶ event push to Worker

                     ┌──────────────────────────────┐
                     │  Hatchet Worker               │
                     │  ├─ knowledge_ingestion       │
                     │  ├─ k8s_devops                │
                     │  └─ k8s_tool                  │
                     │  All runs visible in dashboard │
                     └──────────────────────────────┘

MCP config

Register the servers in your LLM client:

{
  "mcpServers": {
    "knowledge-base": {
      "command": "uv",
      "args": ["run", "python", "src/mcp/kb_server.py"]
    },
    "k8s-devops": {
      "command": "uv",
      "args": ["run", "python", "src/mcp/k8s_server.py"]
    }
  }
}

Adding agents and MCP tools

  1. Create src/langgraph/agents/<name>.py with StateGraph(...) and a graph variable
  2. Create src/hatchet_worker/workflows/<name>.py — wraps the graph in a Hatchet task
  3. Register it in src/hatchet_worker/worker.py with an on_events=[...] trigger
  4. (Optional) Create src/mcp/<name>_server.py with FastMCP and @server.tool() functions

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured