
Tm Mcp
io.github.pyunto由 GitHub 帳號 pyunto 發布v0.3.4更新於 Oct 24, 2026
Read your Pyunto Time Management schedule and log time from an AI assistant. E2EE project planning.
概覽
把 AI 助理連接到 Pyunto Time Management 帳號,用來查看行程、彙總工時,並記錄或修改時間區塊與任務。
- 可以做什麼
- 查看帳號身分、金鑰權限範圍與解密狀態
- 列出專案與任務,可依專案或任務涵蓋的日期篩選
- 讀取最長 92 天範圍內的時間區塊,並依專案、任務或日期彙總工時
- 記錄、修改與刪除單一時間區塊,列出並還原近期刪除的區塊
- 建立、完成、重新開啟、重新命名、調整日期或封存甘特任務,並設定每月目標
- 適用情境
- 適合在 Pyunto Time Management 中記錄工作的人,讓助理回答行程與工時去向的問題,或在不開啟應用的情況下補登、調整時間紀錄與任務日期。
- 執行需求
- 以 stdio 方式在本機執行,通常透過 npx 啟動,需要 Node.js。需在 PYUNTO_TM_API_KEY 提供 API 金鑰(於帳號設定中建立);未提供也能列出工具。自架執行個體可設定 PYUNTO_TM_BASE_URL;若要解密端對端加密的專案與任務名稱,需提供 PYUNTO_TM_PASSWORD 或 PYUNTO_TM_PASSWORD_FILE。需要能連線至 Pyunto TM 的 API。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Tm Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@pyunto/tm-mcp
MCP (Model Context Protocol) server for Pyunto Time Management. Connects Claude Code, Claude Desktop, Codex CLI, Cursor and any other MCP client to a Pyunto TM account so an assistant can read the schedule, summarise where the hours went, and log time.
User-facing setup instructions live at https://tm.pyunto.com/docs/mcp.en.md (日本語: https://tm.pyunto.com/docs/mcp.ja.md). This file is the developer view.
Tools
Every tool returns JSON as text. Failures come back as isError results whose
message names the fix (missing scope, wrong key, locked E2EE) rather than
throwing at the transport level — an agent can act on that, a stack trace it
cannot.
Install
Build from source
This package lives in an npm-workspaces repository together with the SDK it depends on; build from the repository root so the workspace link is used:
Result: mcp/dist/cli.js, the executable stdio server (dist/index.js
stays a side-effect-free module the tests can import).
Configuration
Environment only — MCP clients spawn the process and inject env from their config file.
The server starts without an API key and answers tools/list — a client or
a directory can see what it offers before anyone signs up. Calling a tool
without one returns the same guidance as an isError rather than an opaque
401, and whoami reports the missing key instead of failing.
How E2EE is handled
Content fields are encrypted in the user's browser; the server never holds the
plaintext, and neither does this process by default. Given a password, the
server's password-wrapped private key blob (GET /api/v1/keys, scope
keys:read) is unwrapped here, in memory, and used to open each project's
sealed DEK. The password is never transmitted and nothing is written to disk.
Without a password the server still answers everything schedule-shaped — ids,
dates, times, durations, aggregates — and name fields come back empty with a
NOTE: explaining why, so the model reports the limitation instead of inventing
names.
Layout
callTool(name, args) is exported for tests; start() attaches the transport
and is called only by cli.ts.
delete_time_block is deliberately single-id: no range or filter delete is
exposed, because an automated caller getting a range wrong destroys an unbounded
amount of data that has no restore path. Its tool description requires the model
to show the user the exact block first and get a yes for that block.
There is no delete_task for the same reason, and a sharper one: removing a
task detaches every block that logged time against it (tasks.id ON DELETE SET NULL) and orphans its subtasks, with nothing to restore from. update_task
offers archive instead — the task leaves every view and can be brought back.
tasks:write is separate from blocks:write on purpose. Recording time against
a plan and rewriting the plan are different powers; a key given to something that
only logs work should not be able to move deadlines.
update_task returns an array. Moving a task's dates drags its dependents along,
and the caller is told what else moved rather than discovering it on the next
read.
來源:mcp/README.md,提交 6add94b
工具
0版本歷史
1- v0.3.4最新Sep 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分