How to integrate Temporal MCP with Hermes

Connect Hermes 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

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Temporal account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Temporal with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,500+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Temporal with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Temporal

Ask your agent to connect to Temporal, or simply request any Temporal-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Temporal connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Temporal or request any Temporal-related task. It will prompt you to authenticate and authorize access.

5. Done!

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.

Way Forward

With Temporal connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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. Hermes 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