io.github.chrischall/tempo-api-mcp
Tempo time-tracking for Claude — worklogs, plans, and timesheet approvals
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
tempo-api-mcpclaude mcp add tempo-api-mcp -e 'TEMPO_API_TOKEN=<your tempo_api_token>' -- npx -y tempo-api-mcp@3.2.6
{
"mcpServers": {
"tempo-api-mcp": {
"command": "npx",
"args": [
"-y",
"tempo-api-mcp@3.2.6"
],
"env": {
"TEMPO_API_TOKEN": "<your tempo_api_token>"
}
}
}
}
متغيرات البيئة
TEMPO_API_TOKENإلزامي سري Your Tempo API token (Settings → API integration in your Tempo workspace)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
tempo-api-mcp
Tempo API MCP server for Claude — developed and maintained by AI (Claude Code)
Confirmations
Every write (create/update/delete, and the timesheet submit/approve/reject/reopen/recall actions) asks the user to confirm before it changes anything: a confirmation prompt where the client supports one; otherwise the first call returns a preview of exactly what would be sent plus a confirmToken, and only a repeat call with that token proceeds.
| variable | default | |
|---|---|---|
MCP_CONFIRM_MODE | ask-user | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: writes are refused on such clients. A client that can show prompts (Claude Code) gets the real prompt unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse. |
MCP_CONFIRM_ELICITATION | on | off never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE two-step flow. Set it for opencode v2: it claims to support prompts but never displays them, so writes (including timesheet approvals) hang. Any other value stays on. |
MCP_CONFIRM_TTL_SECONDS | 600 | How long a token stays valid. |
MCP_CONFIRM_SECRET | random per process | Signing key; set it only if tokens must survive a server restart. |
In opencode, set it in the server's environment block:
{
"mcp": {
"servers": {
"tempo": {
"type": "local",
"command": ["npx", "-y", "tempo-api-mcp"],
"environment": { "TEMPO_API_TOKEN": "…", "MCP_CONFIRM_ELICITATION": "off" }
}
}
}
}
الأسئلة الشائعة
ما هو io.github.chrischall/tempo-api-mcp؟
Tempo time-tracking for Claude — worklogs, plans, and timesheet approvals
كيف أثبّت io.github.chrischall/tempo-api-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add tempo-api-mcp -e 'TEMPO_API_TOKEN=<your tempo_api_token>' -- npx -y tempo-api-mcp@3.2.6. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.chrischall/tempo-api-mcp إلى مفتاح API؟
نعم. يتطلب TEMPO_API_TOKEN، وتضبطها في إعداداته.
هل io.github.chrischall/tempo-api-mcp مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.chrischall/tempo-api-mcp؟
ينشره chrischall. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.