temporal-mcp
Wall-clock awareness for LLM agents. Two tools: elapsed-time-between-turns + day rollover detection.
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~345Token(工具定義)
~1.3 KB典型回應大小
極小的注意力影響(128k 上下文的 0.27%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"temporal-mcp": {
"command": "uvx",
"args": [
"temporal-mcp"
]
}
}
}可執行的套件
pypitemporal-mcp
0.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 個工具