How to integrate Temporal MCP with Atomic Agent

Connect Atomic Agent to Temporal MCP. Start temporal workflow to process order 12345, list running workflows for customer acme corp, and more using natural language, with authentication handled for you.

Temporal logoTemporal
Api Key

Temporal is a cloud-native workflow orchestration platform for building reliable distributed applications. It ensures workflows run reliably, scale automatically, and recover from failures.

185 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 2,000+ apps through Composio, including Temporal.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Temporal account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Temporal with

How Atomic Agent connects to Temporal

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Temporal to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Temporal. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Temporal account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Temporal MCP server, and what's possible with it?

The Temporal MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Temporal account. It provides structured and secure access to your namespaces, workflows, schedules, workflow rules, batch operations, regions, and export sinks, so your agent can inspect workflows, manage schedules, control workflow executions, monitor operations, and review cloud resources on your behalf.

  • Workflow search and inspection: Have your agent find active or archived workflows, check their status and pending work, count matching executions, and review event history.
  • Workflow execution control: Direct your agent to cancel individual workflows or signal, reset, terminate, delete, and update options across selected workflows in batches.
  • Schedule management: Let the agent create, inspect, list, pause, unpause, trigger, backfill, or delete schedules, and preview their matching run times.
  • Namespace and region operations: Instruct your agent to review namespaces, capacity, assignments, and available regions, or manage namespace moves, regional failovers, and deletion when needed.
  • Rules, exports, and operation tracking: Have your agent manage workflow rules and history export sinks, then track batch jobs and asynchronous cloud operations through completion.

Use Temporal from Atomic Agent

With your account connected, ask Atomic Agent to work with Temporal in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Temporal action and event your agent gets out of the box.

Add User Group Member

Add user to group.

Batch Cancel Workflows

Request cancellation of selected Temporal Workflows.

Batch Delete Workflows

WARNING: Permanently delete selected Temporal Workflow Executions and their Event Histories.

Batch Reset Workflows

WARNING: Irreversibly reset selected Temporal Workflows.

Batch Signal Workflows

Send a named Signal to selected Temporal Workflows.

Batch Terminate Workflows

WARNING: Irreversibly terminate selected Temporal Workflows immediately; Workflow cleanup code does not run.

Batch Update Workflow Options

Update typed execution options on selected Temporal Workflows.

Cancel Activity Execution

Request cooperative cancellation of a standalone Temporal Activity Execution.

Cancel Workflow

Irreversibly request cooperative cancellation of a running Temporal Workflow Execution.

Count Activity Executions

Return an approximate count of Activity Executions matching an optional Temporal Visibility query in a Cloud Namespace, including supported grouped counts.

Count Nexus Operation Executions

Return an approximate count of Nexus operation executions matching an optional Visibility query in a Temporal Cloud Namespace.

Count Schedules

Return an approximate count of Temporal Schedules matching a Schedule Visibility query, including grouped counts when requested.

Count Workers

Count workers in a namespace.

Count Workflows

Return an approximate count of Workflow Executions matching a Temporal Visibility query, including supported grouped counts.

Create Account Audit Log Sink

Create audit log sink.

Create and Apply Workflow Rule

Create a Namespace-wide Temporal Workflow Rule and immediately start a batch job applying it to matching currently running Workflows.

Create Billing Report

Create a billing report.

Create Cloud Nexus Endpoint

Create a Nexus endpoint.

Create Connectivity Rule

Create connectivity rule.

Create Custom Role

Create a custom role.

Create Export Sink

Create a persistent Temporal Cloud Workflow History export sink asynchronously.

Create Project

Create a project.

Create Schedule

Create a Temporal Schedule that starts a configured Workflow on cron, interval, calendar, or structured-calendar times.

Create Server Nexus Endpoint

Create a server Nexus endpoint.

Create Service Account

Create a service account.

Create User

Create a user.

Create User Group

Create a user group.

Create Worker Deployment

Experimental provider API; its contract may change.

Create Worker Deployment Version

Experimental provider API; its contract may change.

Create Workflow Rule

Create a Namespace-wide Temporal Workflow Rule that can pause matching Activities when its trigger occurs.

Delete Account Audit Log Sink

Delete audit log sink.

Delete Cloud Nexus Endpoint

Delete a Nexus endpoint.

Delete Connectivity Rule

Delete connectivity rule.

Delete Custom Role

Delete a custom role.

Delete Export Sink

Delete a Temporal Cloud Workflow History export sink asynchronously.

Delete Namespace

Permanently and irreversibly delete a Temporal Cloud Namespace and all of its Workflow data asynchronously.

Delete Project

Delete a project.

Delete Schedule

Permanently delete one Temporal Schedule from a Namespace.

Delete Server Nexus Endpoint

Delete a server Nexus endpoint.

Delete Service Account

Delete a service account.

Delete User

Delete a user.

Delete User Group

Delete a user group.

Delete Worker Deployment

Delete an empty worker deployment.

Delete Worker Deployment Version

Delete an eligible worker deployment version.

Delete Workflow Rule

Permanently delete one configured Temporal Workflow Rule from a Namespace.

Describe Activity Execution

Describe a standalone Activity Execution in a Temporal Cloud Namespace.

Describe Batch Operation

Return progress, state, selection query, type, and failure counts for one batch operation in an authorized Temporal Cloud Namespace.

Describe Namespace

Return one Temporal Cloud Namespace's configuration, resource version, routing endpoints, state, limits, and capacity.

Describe Nexus Operation Execution

Describe a standalone Nexus Operation Execution in a Temporal Cloud Namespace.

Describe Schedule

Return the complete current definition, state, execution information, Memo, Search Attributes, and conflict token for one Temporal Schedule.

Describe Server Namespace

Describe server namespace configuration.

Describe Task Queue

Describe task queue pollers, backlog and workflow reachability.

Describe Worker

Describe one worker instance.

Describe Worker Deployment

Describe a worker deployment.

Describe Worker Deployment Version

Describe a worker deployment version.

Describe Workflow

Return configuration, status, pending work, callbacks, and child state for one Workflow Execution in an authorized Temporal Cloud Namespace.

Describe Workflow Rule

Return one configured Temporal Workflow Rule, including its trigger, Visibility query, actions, expiration, creation metadata, and description.

Fail Over Namespace Region

Switch a multi-region Temporal Cloud Namespace's active region asynchronously.

Fetch Worker Config

Fetch worker configuration.

Get Account

Get the Temporal Cloud account associated with the connected API key.

Get Account Audit Log Sink

Get audit log sink details.

Get Account Audit Log Sinks

List audit log sinks.

Get Activity Execution Outcome

Get the outcome of a standalone Activity Execution in a Temporal Cloud Namespace.

Get Api Key

Get API key details.

Get Async Operation

Return the current state and failure details of a Temporal Cloud asynchronous operation.

Get Audit Logs

Get audit logs.

Get Billing Report

Get a billing report.

Get Cloud Nexus Endpoint

Get Nexus endpoint details.

Get Cluster Info

Return Temporal cluster information.

Get Connectivity Rule

Get connectivity rule details.

Get Current Identity

Get the currently authenticated Temporal Cloud user or service account and its principal API-key metadata.

Get Custom Role

Get custom role by ID.

Get Export Sink

Return one Temporal Cloud Workflow History export sink, including its resource version, destination configuration, state, and health.

Get Namespace Capacity

Return a Temporal Cloud Namespace's capacity mode, available limits, and seven-day actions-per-second statistics.

Get Project

Get a project.

Get Cloud Region

Return details for one Temporal Cloud region, including its cloud provider, provider-specific identifier, and human-readable location.

Get Server Nexus Endpoint

Get a server Nexus endpoint.

Get Service Account

Get service account details.

Get System Info

Get server system information.

Get User

Get user by ID.

Get User Group

Get user group details.

Get User Group Members

List users in a group.

Get Workflow History

Return one page of a Temporal Workflow Execution's Event History in forward or reverse order.

List Activity Executions

List one page of standalone Activity Executions in an authorized Temporal Cloud Namespace, optionally filtered by a Visibility query.

List Api Keys

List all API keys.

List Archived Workflows

Return one page of archived Workflow Executions matching an exact Temporal Visibility query.

List Batch Operations

Return one page of batch operations in an authorized Temporal Cloud Namespace.

List Cloud Nexus Endpoints

List all Nexus endpoints.

List Connectivity Rules

List all connectivity rules.

List Custom Roles

List custom roles.

List Export Sinks

Return one page of Workflow History export sinks configured on a Temporal Cloud Namespace.

List Namespace Assignments

Return one page of users, User Groups, or Service Accounts assigned to a Temporal Cloud Namespace.

List Namespaces

Return one page of Temporal Cloud Namespaces visible to the API-key identity, optionally filtered by name or Project.

List Nexus Operation Executions

List Nexus operation executions.

List Projects

List all projects.

List Project Scoped Service Accounts

List project-scoped service accounts.

List Cloud Regions

List currently available Temporal Cloud regions for Namespace placement.

List Schedule Matching Times

List times within a required start-to-end range that match one Temporal Schedule's timing specification.

List Schedules

Return one filtered page of Temporal Schedules in an authorized Temporal Cloud Namespace.

List Search Attributes

List available search attributes.

List Server Namespaces

List server namespaces and configuration.

List Server Nexus Endpoints

List server Nexus endpoints.

List Service Account Project Assignments

List service accounts with access to a project.

List Service Accounts

List all service accounts.

List User Group Project Assignments

List user groups with access to a project.

List User Groups

List all user groups.

List User Project Assignments

List users with access to a project.

List Users

List all users.

List Worker Deployments

List namespace worker deployments.

List Workers

List worker status information.

List Workflow Rules

Return one page of Workflow Rules configured for an authorized Temporal Cloud Namespace.

List Workflows

Search one page of Workflow Executions in an authorized Temporal Cloud Namespace using Temporal Visibility query syntax.

Move Namespace To Project

Move a Temporal Cloud Namespace to another Project asynchronously.

Patch Schedule

Apply targeted changes to a Temporal Schedule without replacing its definition: pause or unpause it, trigger one immediate action, or backfill historical times.

Pause Activity

Pause pending activities selected by ID or type; docs announce future deprecation, not current retirement.

Pause Activity Execution

Pause a pending standalone or workflow Activity in a Temporal Cloud Namespace.

Pause Workflow

Pause one Temporal Workflow Execution.

Poll Nexus Operation Execution

Poll a Nexus operation for the requested completion stage.

Poll Workflow Execution Time Skipping

Poll workflow execution time-skipping state.

Query Workflow

Run a synchronous, read-only Query handler against one Temporal Workflow Execution.

Record Activity Task Heartbeat

Record worker activity task heartbeat by task token.

Record Activity Task Heartbeat By Id

Record an activity heartbeat by activity ID.

Record Worker Heartbeat

Record a worker heartbeat.

Register Namespace

Create a billable, persistent Temporal Cloud Namespace asynchronously, returning its full Namespace ID and operation information when provided.

Register Server Namespace

Register a server namespace.

Remove Namespace Access

Remove one user's, user group's, or service account's direct permission on a Temporal Cloud Namespace by setting PERMISSION_UNSPECIFIED.

Remove User Group Member

Remove user from group.

Rename Custom Search Attribute

Rename one custom Search Attribute in a Temporal Cloud Namespace asynchronously.

Replace Workflow

Replace a running Workflow Execution with a new execution using the same Workflow ID.

Request Cancel Nexus Operation Execution

Request cancellation of a Nexus operation.

Reset Activity

Reset pending activities selected by ID or type.

Reset Activity Execution

Reset a pending standalone or workflow Activity in a Temporal Cloud Namespace.

Reset Workflow

WARNING: Irreversibly reset a Temporal Workflow to a selected Workflow Task event.

Respond Activity Task Canceled

Record worker activity task cancellation by task token.

Respond Activity Task Canceled By Id

Record activity cancellation by activity ID.

Respond Activity Task Completed

Record worker activity task completion by task token.

Respond Activity Task Completed By Id

Complete an activity by activity ID.

Respond Activity Task Failed

Record worker activity task failure by task token.

Respond Activity Task Failed By Id

Record an activity failure by activity ID.

Set Namespace Access

Set one user's, user group's, or service account's direct ADMIN, WRITE, or READ permission on a Temporal Cloud Namespace.

Set Service Account Project Access

Set service account project access.

Set User Group Project Access

Set user group project access.

Set User Project Access

Set user project access.

Set Worker Deployment Current Version

Set or unset the current worker deployment version.

Set Worker Deployment Manager

Experimental provider API; its contract may change.

Set Worker Deployment Ramping Version

Set a ramping worker version and traffic percentage.

Signal With Start Workflow

Atomically signal a running Temporal Workflow or start and signal it when absent.

Signal Workflow

Send an asynchronous Signal to one running Temporal Workflow Execution.

Start Activity Execution

Start a standalone Activity Execution in a Temporal Cloud Namespace.

Start Nexus Operation Execution

Start a standalone Nexus operation in a Temporal Cloud Namespace.

Start or Get Workflow

Start a Workflow Execution, or return the already-running execution when the Workflow ID conflicts.

Start Workflow

Start a new Workflow Execution in an authorized Temporal Cloud Namespace.

Stop Batch Operation

Request that Temporal stop an in-progress batch operation.

Terminate Activity Execution

Immediately and irreversibly terminate an existing standalone Temporal Activity Execution.

Terminate Nexus Operation Execution

Terminate a Nexus operation execution.

Terminate Workflow

Immediately and irreversibly terminate one Temporal Workflow Execution.

Trigger Workflow Rule

Trigger an existing configured Temporal Workflow Rule against one Workflow Execution.

Unpause Activity

Resume pending activities selected by ID or type.

Unpause Activity Execution

Unpause a pending Temporal workflow or standalone Activity by ID.

Unpause Workflow

Resume a paused Temporal Workflow Execution.

Update Account

Update account details.

Update Account Audit Log Sink

Update audit log sink.

Update Activity Execution Options

Update options of one standalone or workflow Activity Execution by Activity ID in a Temporal Cloud Namespace.

Update Activity Options

Update pending activity options by ID or type.

Update Cloud Nexus Endpoint

Update a Nexus endpoint.

Update Custom Role

Update a custom role.

Update Export Sink

Update an existing Temporal Cloud Workflow History export sink asynchronously using optimistic concurrency.

Update Namespace

Update a Temporal Cloud Namespace specification asynchronously using the latest resource version for optimistic concurrency.

Update Namespace Tags

Upsert or permanently remove tags on a Temporal Cloud Namespace asynchronously; removed tags no longer exist on the Namespace.

Update Project

Update a project.

Update Schedule

Fully replace an existing Temporal Schedule's spec, Workflow-start action, policies, and state.

Update Server Namespace

Update server namespace configuration.

Update Server Nexus Endpoint

Update a server Nexus endpoint optimistically.

Update Service Account

Update a service account.

Update Task Queue Config

Update task queue configuration.

Update User

Update a user.

Update User Group

Update a user group.

Update Worker Config

Update worker configuration.

Update Worker Deployment Version Compute Config

Experimental provider API; its contract may change.

Update Worker Deployment Version Metadata

Update worker deployment version metadata.

Update Workflow

Send a durable Update to one Temporal Workflow Execution and wait for the requested lifecycle stage.

Update Workflow Options

Update selected options on one Temporal Workflow Execution using an exact protobuf FieldMask.

Validate Account Audit Log Sink

Validate an owned Kinesis or GCP Pub/Sub audit-log destination by delivering a test record.

Validate Export Sink

Validate a Temporal Cloud Workflow History export sink configuration.

Validate Worker Deployment Version Compute Config

Experimental provider API; its contract may change.

FAQ

Frequently asked questions

Start with Temporal.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Temporal tool your agent needs.Free to start.

Start building