Is the Temporal MCP server safe? What it can reach
What the Temporal MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Temporal’s own temporal-mcp server is a pre-release Go binary you run yourself, locally over stdio or as a shared HTTPS service. It is read-only by default and can inspect workflows, history and task queues. It can start only the workflows you list in its config. The credential you give it decides how much it can really do, so use a read-only key.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| temporalio/temporal-mcp (Temporal, pre-release) | Official | active |
| GethosTheWalrus/temporal-mcp (community, includes terminate and delete schedule tools; not covered below) | Community | active |
It runs as a local process on your machine or as a hosted remote server.
How it signs in
Each target in the config uses a Temporal Cloud API key or an mTLS client certificate, or no credentials for a local dev server. The server acts with that credential’s rights. A shared HTTP deployment can also require OIDC sign-in for its callers.
What its tools can do
| Kind | Tools |
|---|---|
| Read | list_available_targets, check_connection, get_workflows, get_workflow_history, get_workflow_history_summary, get_task_queues, search_workflows, count_workflows, list_search_attributes, list_startable_workflows |
| Write | start_workflow |
| Can’t be undone | none documented |
Every tool except start_workflow is read-only. start_workflow only starts workflow types listed under a target’s workflows setting. list_startable_workflows is available alongside it. The README calls this a pre-release that is not ready for production use.
Built-in limits
| Option | What it does |
|---|---|
Read-only by default | start_workflow is the only tool that changes anything, and a profile gets it only if its tools list names it. |
workflows (per target) | Lists the workflow types an agent may start, with task queue and input schema. start_workflow starts no others. |
authorization profiles | In HTTP mode, tools and tools_deny set which tools each caller gets on each target, matched on token claims. |
payload_handling | Per target: omit (default), passthrough or decode. The default keeps your workflow data out of tool responses. |
Read-only credential | The docs say to give the server a read-only key. On Temporal Cloud, use a namespace-scoped service account key with Read, and Write only where agents may start runs. |
audit_log_file | Writes one JSON audit record per tool call. |
The risks
- Workflow histories can hold customer data, so a prompt injected through a failure message or payload field could pull it into the model’s context. Leave payload_handling on omit unless you need payloads.
- start_workflow runs real workflows on your cluster with agent-written input. The server does not validate that input against the schema you list, so keep the allowlist to safe, idempotent workflow types.
- The server acts with its configured API key or client certificate. A Temporal Cloud client certificate cannot be limited to Read, and a key from the namespace Generate API Key button carries Admin by default.
- Without an auth section, any process that can reach the HTTP port can use every tool on every target. The server only accepts a loopback address in that case.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add temporal -- temporal-mcp --stdio --watch-config --config /absolute/path/to/config.yamlClaude Code names MCP tools mcp__temporal__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__temporal__start_workflow"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.temporal]
command = "temporal-mcp"
args = ["--stdio", "--watch-config", "--config", "/absolute/path/to/config.yaml"]Checklist
- Create a service account API key with Read only, scoped to the namespaces you need.
- Leave start_workflow out of the profile unless an agent must start runs, and list only safe workflow types.
- Keep payload_handling on omit unless you need decoded payloads.
- Turn on audit_log_file and review it.
- Use a local dev server first and check the connection with check_connection.
Checked against the vendor documentation on November 25, 2026. temporalio/temporal-mcp README · temporal-mcp config reference · GethosTheWalrus/temporal-mcp README · Temporal Code Exchange listing (community server)
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing