
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 分