
mite
io.github.Stefan39由 GitHub 账号 Stefan39 发布v1.0.1更新于 Oct 29, 2026
mite time tracking: server-side reports, time entries, master data. Read-only by default.
概览
非官方的 mite 工时记录服务器,让助手获取服务端报表、工时条目和主数据,开启写入模式后还可修改数据。
- 可以做什么
- 运行服务端报表:按项目和月份统计工时与收入、多维度分组报表、项目预算、可计费比例
- 读取指定期间的工时条目、按 ID 获取单条记录、查看计时器状态
- 列出主数据:客户、项目、服务与用户,包括已归档项
- 在写入模式下创建、修改、启停和删除工时条目,支持 dry-run 预览
- 在管理模式下维护客户、项目和服务,删除需两步确认
- 适用场景
- 适合想直接询问工时、收入、预算或可计费比例,并让 mite 在服务端完成汇总而非由模型累加原始条目的场景。也适合在明确受限的权限下让助手记录或调整工时与主数据。
- 运行要求
- 通过 npx 以 stdio 在本地运行(需 Node.js 22 或更高版本),或作为 Claude Desktop 扩展包安装。需要已开启 API 访问的 mite 账户,以及 MITE_ACCOUNT 和 MITE_API_KEY。可选 MITE_MODE(默认只读,或 write、admin)与 MITE_TOOLS 白名单。仅限桌面端。
安装
在 SourceWeft 中
- 打开 控制台中的 mite,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mite-mcp-server
English · Deutsch
Ask Claude about your mite time tracking — "How many hours did we spend on each project per month this year, and what did that earn?" — and get the answer from a report mite computes itself, not from hundreds of entries the model has to add up.
[Demo: monthly report per project in a chat (invented data)]
Unofficial. Not affiliated with or endorsed by mite GmbH.
Why this server
- Ready-made reports. mite groups on the server (
group_by), so a whole year is one request and one small answer. - Safe by default. Starts read-only. Write tools only exist when you switch the mode on, and an allowlist narrows it further. Tools outside mode and allowlist are not even shown to the agent.
- Your key stays yours. API key from the environment only, sent as header, removed from every error message, never logged.
Tools
Deleting with a confirmation token
mite_delete_time_entry and the three master data delete tools never delete on the first call:
- Call it with the
id(or withdry_run: true). It returns a preview of the entry and aconfirm_token; nothing is deleted. - Call it again with the same
idand theconfirm_token. Only then is it deleted.
The token is bound to the tool and its arguments, valid for 5 minutes, usable once, and only known to the running server process (a restart invalidates it).
If the MCP client supports elicitation, the second call (and any call with force: true and a token) additionally asks the human with a short summary of what will be deleted or forced. Only if the human accepts is anything executed. If they decline or cancel, nothing is sent to mite and the token stays unused until it expires. Clients without elicitation are not asked; the token alone applies.
Client support (checked 28.10.2026): Claude Desktop does not offer elicitation yet, so it shows no dialog; deleting there uses the token flow only. Once a client announces elicitation, the extra question applies without a new release of this server.
Locked entries
Locked time entries cannot be changed or deleted by default; mite answers with 423 and the tool returns a "locked" error. force is never set automatically, not even after a 423.
In mode admin only, mite_update_time_entry and mite_delete_time_entry additionally accept force: true. A call with force: true always needs a confirm_token, also on update: the first call (or dry_run: true) returns a preview stating that the entry is locked, plus a token; only a second call with the same arguments, force: true and the token executes. In modes read-only and write the parameter is not part of the input schema.
More tools (more reports) are planned — see the architecture decision.
Install without technical knowledge (Claude Desktop)
- Download
mite-mcp-server.mcpbfrom the latest release. - Double-click the file. Claude Desktop opens and offers to install the extension.
- Fill in the settings and enable the extension:
[mite extension settings in Claude Desktop]
No JSON, no environment variables, no Node.js installation: Claude Desktop runs the bundle with its built-in Node.js. You need a mite account with API access enabled (in your mite user settings) and your API key from there. The settings are in German because mite's users mostly are.
Changing a setting later: Claude Desktop → Settings → Extensions → mite. A changed setting only takes effect after you switch the extension off and on again or restart Claude Desktop — until then the running server keeps the old switches. Ask Claude to call mite_whoami to see the mode the server is actually running in. In the same place you can also switch single tools on and off — on top of the switches above, which decide which tools exist at all.
Manual setup (Claude Desktop, for developers)
Requirements: Node.js 22 or newer, a mite account with API access enabled (enable it in your mite user settings), and your API key from there.
Add the server to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/), then restart Claude Desktop:
Then ask, for example: "Show me hours and revenue per project and month for this year."
Configuration
Use either MITE_MODE or the two switches; the server refuses MITE_MODE together with a switch set to true. Values true/false (also 1/0, yes/no, on/off).
mite still checks every call against the role of your key. The server can only restrict that, never extend it.
Development
See CONTRIBUTING.md and the architecture decision.
License
MIT © Stefan Jacomeit — www.jacomeit.de
来源:README.md,提交 f3b4809
工具
0版本历史
1- v1.0.1最新Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
