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.

63 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 1,500+ 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.

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.

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 Workflow

Irreversibly request cooperative cancellation of a running Temporal Workflow Execution.

Count Schedules

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

Count Workflows

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

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 Export Sink

Create a persistent Temporal Cloud Workflow History export sink asynchronously.

Create Schedule

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

Create Workflow Rule

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

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 Schedule

Permanently delete one Temporal Schedule from a Namespace.

Delete Workflow Rule

Permanently delete one configured Temporal Workflow Rule from a 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 Schedule

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

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.

Get Async Operation

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

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 Cloud Region

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

Get Workflow History

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

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 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 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 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 Workflow

Pause one Temporal Workflow Execution.

Query Workflow

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

Register Namespace

Create a billable, persistent Temporal Cloud Namespace asynchronously and return its full Namespace ID and operation ID.

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.

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.

Reset Workflow

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

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.

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 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 Workflow

Immediately and irreversibly terminate one Temporal Workflow Execution.

Trigger Workflow Rule

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

Unpause Workflow

Resume a paused Temporal Workflow Execution.

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 Schedule

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

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 Export Sink

Validate a Temporal Cloud Workflow History export sink configuration.

FAQ

Frequently asked questions

With a standalone Temporal MCP server, the agents and LLMs can only access a fixed set of Temporal tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Temporal and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Temporal tools.

Yes, absolutely. You can configure which Temporal scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Temporal data and credentials are handled as safely as possible.

Start with Temporal.It takes 30 seconds.

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

Start building