temporal-mcp-server
Provides tools for observing and managing Temporal workflows, including listing workflows, getting workflow status and history, querying, starting, signaling, resetting, and terminating workflows, as well as utilities like waiting for activities and sending webhooks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@temporal-mcp-serverList workflows with status running"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Temporal MCP Server
A Model Context Protocol (MCP) server that lets AI assistants observe and manage Temporal workflows. Built in Kotlin/JVM with a Node.js bridge for fast MCP initialization.
Prerequisites
JDK 17+
Node.js (for the MCP bridge)
Access to a Temporal server (local or Temporal Cloud)
Related MCP server: n8n Manager for AI Agents
Build
./gradlew shadowJarThe JAR is created at build/libs/temporal-mcp-server-1.0-SNAPSHOT.jar.
Configuration
The server is launched via minimal-mcp.js, which handles MCP protocol initialization and spawns the Java process.
MCP Client Configuration
{
"mcpServers": {
"temporal": {
"command": "node",
"args": [
"path/to/minimal-mcp.js",
"--namespace", "my-namespace",
"--address", "my-host:7233"
],
"env": {
"TEMPORAL_API_KEY": "your-api-key"
}
}
}
}Command-Line Arguments
Argument | Required | Description |
| Yes | Temporal namespace |
| Yes | Temporal server address (e.g., |
Environment Variables
Variable | Description |
| API key for Temporal Cloud authentication |
| Path to mTLS client certificate file |
| Path to mTLS client key file |
| mTLS client certificate content (alternative to path) |
| mTLS client key content (alternative to path) |
Authentication
API Key (Temporal Cloud)
Set TEMPORAL_API_KEY in the env section of your MCP config. The key is sent as a Bearer token in gRPC metadata.
mTLS Certificates
For mTLS authentication, provide either file paths or content directly:
{
"mcpServers": {
"temporal": {
"command": "node",
"args": ["path/to/minimal-mcp.js", "--namespace", "my-ns", "--address", "my-host:7233"],
"env": {
"TEMPORAL_CLIENT_CERT_PATH": "/path/to/client.pem",
"TEMPORAL_CLIENT_KEY_PATH": "/path/to/client.key"
}
}
}
}Tools
Workflow Observation
Tool | Description |
| Lists workflows in the namespace. Supports |
| Gets status of a specific workflow by |
| Retrieves the complete event history of a workflow with full event attributes. |
| Executes a query on a running workflow ( |
Workflow Actions
Tool | Description |
| Starts a new workflow ( |
| Sends a signal to a running workflow ( |
| Resets a workflow to a specific point in its history, creating a new run. Supports |
| Terminates a running workflow ( |
Utilities
Tool | Description |
| Polls until a workflow reaches a specific activity ( |
| Sends an HTTP POST webhook ( |
Development
Running Tests
./gradlew testArchitecture
minimal-mcp.js acts as a bridge: it responds immediately to the MCP initialize handshake, then spawns the Java process in the background. Once Java is ready, all subsequent requests are forwarded to it.
This server cannot be deployed
Maintenance
Related MCP Connectors
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
Durable background job execution, async task scheduling, and state persistence for AI agents.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables AI assistants to interact with Netflix Conductor Workflow Engine for troubleshooting workflows, managing executions, and creating/updating workflow and task definitions through natural language.192-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage n8n workflow automation instances through tools for workflow CRUD operations, execution monitoring, and webhook triggering. It facilitates programmatic interaction with n8n instances via the n8n API with AI-optimized descriptions and error handling.62MIT
- AlicenseBqualityDmaintenanceAllows AI clients to list, inspect, and manage n8n workflows.1187 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides AI agents with read-only access to Temporal infrastructure through 28 tools, plus an Agent Skill with expert guidance for writing correct Temporal code.32 npm5MIT