temporal-mcp-server

v1.12.0
temporal-mcp-server Checked 8 hours ago Published 1 month ago

MCP server for Temporal workflow orchestration

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

start_workflow

Start a new Temporal workflow execution

ParameterTypeDescription
task_queue *stringThe task queue to use for this workflow
workflow_id *stringUnique identifier for the workflow execution
workflow_name *stringThe name of the workflow to start
argsobjectArguments to pass to the workflow (as JSON object)
namespacestringTemporal namespace for this operation; omit to use the server default

query_workflow

Query a running workflow for its current state

ParameterTypeDescription
query_name *stringThe name of the query to execute
workflow_id *stringThe workflow execution ID to query
argsobjectArguments for the query (as JSON object)
namespacestringTemporal namespace for this operation; omit to use the server default

signal_workflow

Send a signal to a running workflow

ParameterTypeDescription
signal_name *stringThe name of the signal to send
workflow_id *stringThe workflow execution ID to signal
argsobjectArguments for the signal (as JSON object)
namespacestringTemporal namespace for this operation; omit to use the server default

cancel_workflow

Cancel a running workflow execution

ParameterTypeDescription
workflow_id *stringThe workflow execution ID to cancel
namespacestringTemporal namespace for this operation; omit to use the server default

get_workflow_result

Get the result of a completed workflow

ParameterTypeDescription
workflow_id *stringThe workflow execution ID
namespacestringTemporal namespace for this operation; omit to use the server default

describe_workflow

Get detailed information about a workflow execution

ParameterTypeDescription
workflow_id *stringThe workflow execution ID to describe
namespacestringTemporal namespace for this operation; omit to use the server default

list_workflows

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.

ParameterTypeDescription
limitnumberMaximum number of results to return (default: 100, increase for more results)
namespacestringTemporal namespace for this operation; omit to use the server default
querystringList filter query (e.g., 'WorkflowType="MyWorkflow"')
skipnumberNumber of results to skip for pagination (default: 0)

terminate_workflow

Forcefully terminate a workflow execution

ParameterTypeDescription
workflow_id *stringThe workflow execution ID to terminate
namespacestringTemporal namespace for this operation; omit to use the server default
reasonstringReason for termination

get_workflow_history

Get the complete event history of a workflow execution. Specify 'limit' to control the number of events (default: 1000).

ParameterTypeDescription
workflow_id *stringThe workflow execution ID
limitnumberMaximum number of history events to return (default: 1000)
namespacestringTemporal namespace for this operation; omit to use the server default
run_idstringOptional run ID for the workflow execution; omit to target the latest run

get_workflow_event

Get a single workflow history event with decoded payload fields when present

ParameterTypeDescription
event_id *numberThe history event ID to fetch
workflow_id *stringThe workflow execution ID
namespacestringTemporal namespace for this operation; omit to use the server default
run_idstringOptional run ID for the workflow execution

start_activity

Start a new standalone Temporal activity execution

ParameterTypeDescription
activity *stringActivity type name to start
activity_id *stringUnique identifier for the activity execution
task_queue *stringTask queue for this activity
argsobjectArguments to pass to the activity
namespacestringTemporal namespace for this operation; omit to use the server default
start_to_close_timeout_secondsnumberActivity start-to-close timeout in seconds

execute_activity

Execute a standalone Temporal activity and wait for result

ParameterTypeDescription
activity *stringActivity type name to execute
activity_id *stringUnique identifier for the activity execution
task_queue *stringTask queue for this activity
argsobjectArguments to pass to the activity
namespacestringTemporal namespace for this operation; omit to use the server default
start_to_close_timeout_secondsnumberActivity start-to-close timeout in seconds

get_activity_result

Get the result of a standalone activity

ParameterTypeDescription
activity_id *stringStandalone activity execution ID
namespacestringTemporal namespace for this operation; omit to use the server default
run_idstringRun ID for the standalone activity execution
timeoutnumberOptional timeout in seconds while waiting for result

describe_activity

Get detailed information about a standalone activity execution

ParameterTypeDescription
activity_id *stringStandalone activity execution ID
namespacestringTemporal namespace for this operation; omit to use the server default
run_idstringRun ID for the standalone activity execution

list_activities

List standalone activity executions based on a query. Specify 'limit' to control results and 'skip' for pagination.

ParameterTypeDescription
limitnumberMaximum number of results to return (default: 100)
namespacestringTemporal namespace for this operation; omit to use the server default
querystringList filter query (e.g., 'TaskQueue = "my-task-queue"')
skipnumberNumber of results to skip for pagination (default: 0)

count_activities

Count standalone activity executions matching a query

ParameterTypeDescription
namespacestringTemporal namespace for this operation; omit to use the server default
querystringList filter query (e.g., 'TaskQueue = "my-task-queue"')

cancel_activity

Cancel a running standalone activity execution

ParameterTypeDescription
activity_id *stringStandalone activity execution ID
namespacestringTemporal namespace for this operation; omit to use the server default
run_idstringRun ID for the standalone activity execution

terminate_activity

Forcefully terminate a standalone activity execution

ParameterTypeDescription
activity_id *stringStandalone activity execution ID
namespacestringTemporal namespace for this operation; omit to use the server default
reasonstringReason for termination
run_idstringRun ID for the standalone activity execution

batch_signal

Send a signal to multiple workflows matching a query. Specify 'limit' to control batch size (default: 100).

ParameterTypeDescription
query *stringQuery to select workflows
signal_name *stringThe signal name to send
argsobjectArguments for the signal
limitnumberMaximum number of workflows to signal (default: 100)
namespacestringTemporal namespace for this operation; omit to use the server default

batch_cancel

Cancel multiple workflows matching a query with concurrent processing for speed. Use 'concurrency' to control parallel operations (default: 50).

ParameterTypeDescription
query *stringQuery to select workflows to cancel
concurrencynumberNumber of workflows to cancel concurrently for faster processing (default: 50, max recommended: 100)
limitnumberMaximum number of workflows to cancel (default: 100)
namespacestringTemporal namespace for this operation; omit to use the server default

batch_terminate

Terminate multiple workflows matching a query. Specify 'limit' to control batch size (default: 100).

ParameterTypeDescription
query *stringQuery to select workflows to terminate
limitnumberMaximum number of workflows to terminate (default: 100)
namespacestringTemporal namespace for this operation; omit to use the server default
reasonstringReason for termination

batch_cancel_activities

Cancel multiple standalone activities matching a query with concurrent processing for speed. Use 'concurrency' to control parallel operations (default: 50).

ParameterTypeDescription
query *stringQuery to select activities to cancel
concurrencynumberNumber of activities to cancel concurrently (default: 50)
limitnumberMaximum number of activities to cancel (default: 100)
namespacestringTemporal namespace for this operation; omit to use the server default

batch_terminate_activities

Terminate multiple standalone activities matching a query. Specify 'limit' to control batch size (default: 100).

ParameterTypeDescription
query *stringQuery to select activities to terminate
concurrencynumberNumber of activities to terminate concurrently (default: 50)
limitnumberMaximum number of activities to terminate (default: 100)
namespacestringTemporal namespace for this operation; omit to use the server default
reasonstringReason for termination

create_schedule

Create a new schedule for periodic workflow execution

ParameterTypeDescription
cron *stringCron expression (e.g., '0 12 * * *')
schedule_id *stringUnique identifier for the schedule
task_queue *stringTask queue for the workflow
workflow_name *stringName of the workflow to schedule
argsobjectArguments for the workflow
namespacestringTemporal namespace for this operation; omit to use the server default

list_schedules

List all schedules. Specify 'limit' to control the number of results (default: 100). Use 'skip' to paginate through results.

ParameterTypeDescription
limitnumberMaximum number of schedules to return (default: 100)
namespacestringTemporal namespace for this operation; omit to use the server default
skipnumberNumber of results to skip for pagination (default: 0)

pause_schedule

Pause a schedule

ParameterTypeDescription
schedule_id *stringThe schedule ID to pause
namespacestringTemporal namespace for this operation; omit to use the server default
notestringNote explaining why the schedule was paused

unpause_schedule

Resume a paused schedule

ParameterTypeDescription
schedule_id *stringThe schedule ID to unpause
namespacestringTemporal namespace for this operation; omit to use the server default
notestringNote explaining why the schedule was resumed

delete_schedule

Delete a schedule

ParameterTypeDescription
schedule_id *stringThe schedule ID to delete
namespacestringTemporal namespace for this operation; omit to use the server default

trigger_schedule

Manually trigger a scheduled workflow immediately

ParameterTypeDescription
schedule_id *stringThe schedule ID to trigger
namespacestringTemporal namespace for this operation; omit to use the server default

describe_schedule

Get detailed configuration and runtime information about a schedule, including its spec, action, state, recent executions, and upcoming action times

ParameterTypeDescription
schedule_id *stringThe schedule ID to describe
namespacestringTemporal namespace for this operation; omit to use the server default

continue_as_new

Signal a workflow to continue as new (restart with new inputs while preserving history link)

ParameterTypeDescription
signal_name *stringThe signal name to send (must be handled by the workflow to trigger continue-as-new)
workflow_id *stringThe workflow ID to continue as new
namespacestringTemporal namespace for this operation; omit to use the server default
signal_argsobjectArguments for the signal that will trigger continue-as-new