temporal-mcp

Wall-clock awareness for LLM agents. Two tools: elapsed-time-between-turns + day rollover detection.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
80%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~345token 数(工具定义)
~1.3 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.27%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "temporal-mcp": {
      "command": "uvx",
      "args": [
        "temporal-mcp"
      ]
    }
  }
}

可运行的软件包

pypitemporal-mcp0.2.0stdio

远程端点

https://temporal-mcp.dev/mcpstreamable-http

它能做什么

工具清单

工具(2)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪temporal_tick(thread_key, client_id, tz_offset_minutes, tz_name)

Advance the temporal clock for a thread and return a snapshot (now / prev / gap / day_rollover / fresh_thread). Call once per user turn. Pass a stable `thread_key` (e.g. the conversation ID) so gap deltas remain meaningful across page reloads.

输入模式

{
  "type": "object",
  "properties": {
    "thread_key": {
      "type": "string",
      "description": "Stable thread identifier within this client. For claude.ai web use the conversation ID; for other MCP clients any caller-stable string. If omitted, falls back to the Mcp-Session-Id header."
    },
    "client_id": {
      "type": "string",
      "description": "Namespace tag (e.g. 'caweb', 'cursor'). Defaults to 'mcp'."
    },
    "tz_offset_minutes": {
      "type": "integer",
      "description": "Caller's UTC offset in minutes (e.g. -360 for MDT). Used for day_rollover detection and header formatting. Defaults to 0 (UTC) so day rollover is always honest even if the caller forgets to pass one."
    },
    "tz_name": {
      "type": "string",
      "description": "Display name for the timezone (e.g. 'MDT'). Cosmetic; appears in the rendered header."
    }
  }
}
🟢temporal_peek(thread_key, client_id, tz_offset_minutes, tz_name)

Read the current temporal snapshot for a thread WITHOUT advancing state. Use this when you want the gap delta but the call is not the canonical per-turn event.

输入模式

{
  "type": "object",
  "properties": {
    "thread_key": {
      "type": "string"
    },
    "client_id": {
      "type": "string"
    },
    "tz_offset_minutes": {
      "type": "integer"
    },
    "tz_name": {
      "type": "string"
    }
  }
}

社区

评价此服务器

证据

最近观测

已验证未记录版本2 个工具
已验证未记录版本2 个工具
已验证未记录版本2 个工具