Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

An MCP server for debugging Temporal workflows, enabling LLM-assisted inspection of workflow executions, detailed workflow info, and event history.

README.md

Temporal MCP Server

An MCP (Model Context Protocol) server for debugging Temporal workflows. This server enables LLM-assisted debugging by exposing Temporal workflow inspection tools.

Features

  • list_workflows - List workflow executions with optional query filter
  • describe_workflow - Get detailed info about a specific workflow
  • get_workflow_history - Fetch event history for debugging

Requirements

  • Python 3.11+
  • uv for dependency management
  • A running Temporal server (local or cloud)

Installation

# Clone the repository
git clone <repo-url>
cd temporal-mcp

# Create virtual environment and install
uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"

Configuration

Set environment variables to configure the Temporal connection:

| Variable | Description | Default | |----------|-------------|---------| | TEMPORAL_ADDRESS | Temporal server address | localhost:7233 | | TEMPORAL_NAMESPACE | Temporal namespace | default | | TEMPORAL_TLS_CERT | Path to TLS certificate (for Cloud) | - | | TEMPORAL_TLS_KEY | Path to TLS key (for Cloud) | - | | TEMPORAL_API_KEY | API key (for Cloud) | - |

Docker

Connect to Temporal Server

If you have Temporal running (locally or remotely):

# Connect to Temporal on host machine
docker compose up

# Or specify a custom address
TEMPORAL_ADDRESS=my-temporal:7233 docker compose up

Connect to Temporal Cloud

For Temporal Cloud with mTLS certificates:

# Place your certificates in a certs/ directory, then:
docker compose up
# After uncommenting the TLS environment variables in docker-compose.yml

Or with API key:

TEMPORAL_ADDRESS=your-ns.tmprl.cloud:7233 \
TEMPORAL_NAMESPACE=your-ns \
TEMPORAL_API_KEY=your-key \
docker compose up

Local Development (without Docker)

Install and run directly with Python:

For Temporal Cloud, set the appropriate environment variables:

export TEMPORAL_ADDRESS="your-namespace.tmprl.cloud:7233"
export TEMPORAL_NAMESPACE="your-namespace"
export TEMPORAL_API_KEY="your-api-key"

Or with TLS certificates:

export TEMPORAL_ADDRESS="your-namespace.tmprl.cloud:7233"
export TEMPORAL_NAMESPACE="your-namespace"
export TEMPORAL_TLS_CERT="/path/to/cert.pem"
export TEMPORAL_TLS_KEY="/path/to/key.pem"

Usage

With Cursor

Add to your Cursor MCP settings (~/.cursor/mcp.json):

{
  "mcpServers": {
    "temporal": {
      "command": "uv",
      "args": ["run", "temporal-mcp"],
      "cwd": "/path/to/temporal-mcp",
      "env": {
        "TEMPORAL_ADDRESS": "localhost:7233",
        "TEMPORAL_NAMESPACE": "default"
      }
    }
  }
}

Standalone

temporal-mcp

Available Tools

list_workflows

List workflow executions with optional filtering.

list_workflows(query="", limit=10)
  • query: Optional Temporal list filter syntax (e.g., WorkflowType="MyWorkflow" AND ExecutionStatus="Running")
  • limit: Maximum workflows to return (default 10, max 100)

describe_workflow

Get detailed information about a specific workflow.

describe_workflow(workflow_id, run_id="")
  • workflow_id: The workflow ID to describe
  • run_id: Optional run ID (uses latest if not specified)

get_workflow_history

Fetch the event history for a workflow execution.

get_workflow_history(workflow_id, run_id="", max_events=100)
  • workflow_id: The workflow ID
  • run_id: Optional run ID (uses latest if not specified)
  • max_events: Maximum events to return (default 100, max 1000)

Development

Setup

uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"

Commands

# Format code
black src tests

# Lint
ruff check src tests

# Type check
mypy src

# Run tests
pytest

# Run all checks
black src tests && ruff check src tests && mypy src && pytest

Project Structure

temporal-mcp/
├── pyproject.toml          # Project config and dependencies
├── Dockerfile
├── docker-compose.yml       # Docker setup for MCP server
├── README.md
├── src/temporal_mcp/
│   ├── __init__.py
│   ├── server.py           # MCP server and tool definitions
│   ├── client.py           # Temporal client wrapper
│   ├── config.py           # Environment-based configuration
│   └── models.py           # Pydantic models
├── tests/
│   ├── conftest.py         # Test fixtures
│   ├── test_config.py
│   ├── test_client.py
│   └── test_server.py
└── docs/
    └── PLAN.txt

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Developer Tools servers.