Temporal MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TEMPORAL_HOST | No | Temporal host | localhost:7233 |
| TEMPORAL_API_KEY | No | API key. When set, TLS is enabled automatically. | |
| TEMPORAL_NAMESPACE | No | Namespace | default |
| TEMPORAL_CODEC_AUTH | No | Codec Authorization header | |
| TEMPORAL_TLS_ENABLED | No | TLS | auto-detect |
| TEMPORAL_CODEC_ENDPOINT | No | Codec server URL | |
| TEMPORAL_CODEC_OAUTH_URL | No | Codec OAuth server URL | |
| TEMPORAL_CODEC_TOKEN_CACHE | No | Codec token cache file. Requires TEMPORAL_CODEC_OAUTH_URL, TEMPORAL_CODEC_OAUTH_CLIENT_ID, and TEMPORAL_CODEC_OAUTH_AUDIENCE to enable OAuth token refresh. | |
| TEMPORAL_ALLOWED_NAMESPACES | No | Allowed namespaces. Comma-separated allowlist such as 'default,payments', or '*' to permit any namespace reachable through the configured Temporal host and credentials. Defaults to the configured namespace only. | |
| TEMPORAL_TLS_CLIENT_KEY_PATH | No | mTLS key path | |
| TEMPORAL_CODEC_OAUTH_AUDIENCE | No | Codec OAuth audience | |
| TEMPORAL_TLS_CLIENT_CERT_PATH | No | mTLS cert path | |
| TEMPORAL_CODEC_OAUTH_CLIENT_ID | No | Codec OAuth client ID |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| start_workflowC | Start a new Temporal workflow execution |
| query_workflowC | Query a running workflow for its current state |
| signal_workflowC | Send a signal to a running workflow |
| cancel_workflowC | Cancel a running workflow execution |
| get_workflow_resultB | Get the result of a completed workflow |
| describe_workflowC | Get detailed information about a workflow execution |
| list_workflowsC | List workflow executions based on a query. Specify 'limit' to control the number of results (default: 100, max recommended: 1000). Use 'skip' to paginate through results. |
| terminate_workflowC | Forcefully terminate a workflow execution |
| get_workflow_historyC | Get the complete event history of a workflow execution. Specify 'limit' to control the number of events (default: 1000). |
| get_workflow_eventB | Get a single workflow history event with decoded payload fields when present |
| start_activityC | Start a new standalone Temporal activity execution |
| execute_activityB | Execute a standalone Temporal activity and wait for result |
| get_activity_resultB | Get the result of a standalone activity |
| describe_activityC | Get detailed information about a standalone activity execution |
| list_activitiesC | List standalone activity executions based on a query. Specify 'limit' to control results and 'skip' for pagination. |
| count_activitiesB | Count standalone activity executions matching a query |
| cancel_activityC | Cancel a running standalone activity execution |
| terminate_activityC | Forcefully terminate a standalone activity execution |
| batch_signalB | Send a signal to multiple workflows matching a query. Specify 'limit' to control batch size (default: 100). |
| batch_cancelC | Cancel multiple workflows matching a query with concurrent processing for speed. Use 'concurrency' to control parallel operations (default: 50). |
| batch_terminateC | Terminate multiple workflows matching a query. Specify 'limit' to control batch size (default: 100). |
| batch_cancel_activitiesC | Cancel multiple standalone activities matching a query with concurrent processing for speed. Use 'concurrency' to control parallel operations (default: 50). |
| batch_terminate_activitiesC | Terminate multiple standalone activities matching a query. Specify 'limit' to control batch size (default: 100). |
| start_batch_jobA | Start a server-side batch job that applies one operation to every workflow (or standalone activity) matched by a visibility query or a list of workflow IDs. The Temporal server runs the job: this call returns a job_id immediately without waiting, and the job appears on the Temporal Web UI Batch page. Track it with describe_batch_job, list it with list_batch_jobs, and stop it with stop_batch_job. Prefer this over the older batch_* tools, which run client-side, loop inside this MCP call, and do not appear in the UI. Exactly one of 'query' or 'workflow_ids' is required; an empty filter is rejected because it would target the whole namespace. |
| describe_batch_jobA | Describe a server-side batch job started with start_batch_job (or from the UI/CLI): state, operation type, start/close time, total/complete/failure counts, reason, identity and query. |
| list_batch_jobsA | List server-side batch jobs in the namespace (the same jobs shown on the Temporal UI Batch page). Paginate by passing the returned next_page_token back. |
| stop_batch_jobB | Stop a running server-side batch job. Operations already applied are not undone. |
| describe_task_queueA | Describe a task queue: which workers poll it (pollers with identity, last access time and rate) and its backlog count/age and add/dispatch rates, per task queue type. Use this first when a workflow or activity is not progressing (for example stuck at its first workflow task or with an activity never started): has_pollers is false and a warning is set when no worker is polling the queue. Works on every Temporal server, unlike list_workers. |
| list_workersA | List running workers in the namespace from their heartbeats (instance key, identity, host, task queue, SDK, deployment version, last heartbeat), as on the Temporal UI Workers page. Needs a server with worker heartbeating enabled; otherwise returns a not_supported error, so use describe_task_queue to see a queue's pollers instead. Paginate by passing the returned next_page_token back. |
| count_workersA | Count heartbeating workers in the namespace, optionally filtered by a worker query. Needs worker heartbeating like list_workers; otherwise use describe_task_queue. |
| describe_workerA | Describe one worker from its latest heartbeat: host, process, task slots, pollers, SDK and deployment version. Get the key from list_workers. Needs worker heartbeating; otherwise use describe_task_queue. |
| list_worker_deploymentsA | List worker deployments (Worker Versioning) in the namespace with create time, routing config and latest version summary. Paginate by passing the returned next_page_token back. |
| describe_worker_deploymentB | Describe a worker deployment: its versions (build IDs, status) and routing config (current version, ramping version and percentage). |
| describe_worker_deployment_versionA | Describe one worker deployment version: status, drainage info and the task queues it polls (with backlog stats when report_task_queue_stats is true). |
| create_scheduleC | Create a new schedule for periodic workflow execution |
| list_schedulesA | List all schedules. Specify 'limit' to control the number of results (default: 100). Use 'skip' to paginate through results. |
| pause_scheduleC | Pause a schedule |
| unpause_scheduleB | Resume a paused schedule |
| delete_scheduleC | Delete a schedule |
| trigger_scheduleC | Manually trigger a scheduled workflow immediately |
| describe_scheduleB | Get detailed configuration and runtime information about a schedule, including its spec, action, state, recent executions, and upcoming action times |
| continue_as_newA | Signal a workflow to continue as new (restart with new inputs while preserving history link) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 42 tools
Most tools are cleanly separated by resource+action (workflow / activity / schedule / worker / deployment), but the five legacy client-side batch_* tools overlap with start_batch_job, and the description itself tells agents to prefer the newer tool over the older ones. start_activity vs execute_activity (fire-and-forget vs wait for result) and cancel_workflow vs terminate_workflow are further pairs that require careful reading of descriptions to choose correctly.
Nearly every name is a consistent snake_case verb_noun (start_workflow, describe_activity, list_schedules, stop_batch_job), with nouns and verbs reused predictably across sub-resources. continue_as_new is the only non-verb-first name, and it is a well-known Temporal domain term rather than an inconsistency.
42 tools is heavy, but the domain genuinely spans workflows, activities, batch jobs, task queues, workers, deployments and schedules, so most tools earn their place. The surface is inflated by five deprecated client-side batch_* tools that are explicitly superseded by start_batch_job/stop_batch_job and could be dropped.
Workflow and activity lifecycles are well covered (start, signal, query, describe, list, cancel, terminate, result, history, continue-as-new), plus schedules, workers, deployments and task queues. Notable gaps: no update_schedule despite create/pause/delete, no workflow update (a core Temporal API), no workflow reset, and count_workflows is missing while count_activities exists.