
Kenotex Mcp
com.kenxcomp由 kenxcomp.com 发布v1.4.0更新于 Oct 30, 2026
Let your coding agent manage real todos, events, and check-in habits in Kenotex on your Mac.
概览
让编程助手在 Mac 上的 Kenotex 规划应用中管理真实的待办、日历事件和打卡习惯。
- 可以做什么
- 创建、读取、更新、完成和删除待办,支持分类与重复规则
- 创建、列出、查看、更新和删除日历事件,包括重复事件的单次发生
- 创建、更新和删除打卡习惯,按日或按时段设置打卡状态,并查看打卡记录
- 列出和创建分类,创建待办时必须指定分类
- 为条目添加和移除提醒
- 适用场景
- 适合让助手直接操作你真实的规划条目而不是草稿:把笔记整理成带分类的待办、安排日历事件,或勾选每日与间隔型习惯,这些内容会通过 iCloud 同步到 iPhone 应用。
- 运行要求
- 在 macOS 26 或更高版本上以本地进程运行,需要 Node.js 20+ 或 Bun;必须安装并运行 Kenotex macOS 应用,它在本机 21519 端口提供 HTTP 服务。令牌通常从磁盘上的令牌文件自动读取,可用 KENOTEX_HOST 和 KENOTEX_TOKEN 覆盖地址与令牌。习惯工具需要应用 1.2.9+,cadence 功能需要更新的本地 API 版本。
安装
在 SourceWeft 中
- 打开 控制台中的 Kenotex Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
kenotex-mcp
Let your coding agent manage your real todos, calendar, and habits.
Kenotex is a native planner for Mac and iPhone. This package is its MCP server: point Claude Code, Claude Desktop, Cursor, Zed, or any MCP client at it, and the agent works on the actual items in the app — creating todos with categories and recurrence, scheduling calendar events, ticking off daily or interval check-in habits. Not a scratchpad, not a markdown file. Everything lives in a local SQLite database on your own machine.
Your agent writes on your Mac. It's on your iPhone via iCloud.
Works with Claude Code, Claude Desktop, Cursor, Zed, OpenClaw, and anything else that speaks MCP over stdio.
Get the app
These tools drive the Kenotex macOS app — it hosts the local server this package talks to, so you need it installed and running. Free to download, with in-app purchases.
The MCP integration is not one of those purchases. Every tool in this package talks to the app's local HTTP server, which has no subscription gate — the whole integration works on the free tier.
Prerequisites
- macOS 26 or later — the app's minimum. The iPhone app syncs over iCloud, but the MCP server talks to the Mac.
- The Kenotex macOS app must be running (it hosts the local HTTP server on port 21519).
- Node.js 20+ or Bun.
Install
Globally:
npm install -g kenotex-mcp
# or
bun add -g kenotex-mcp
Or use it directly via npx / bunx (no install):
npx kenotex-mcp
Configure in an MCP client
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"kenotex": {
"command": "npx",
"args": ["-y", "kenotex-mcp"]
}
}
}
Restart Claude Desktop. You'll see the Kenotex tools appear in the 🛠️ menu.
Cursor / Zed / OpenClaw
Same pattern: point the MCP config at kenotex-mcp as the command.
Environment overrides
KENOTEX_HOST— override base URL (defaulthttp://127.0.0.1:21519).KENOTEX_TOKEN— skip filesystem token discovery and use this token.
Tools exposed
| Category | Tool |
|---|---|
| Todo | create_todo list_todos get_todo update_todo complete_todo delete_todo |
| Event | create_event list_events get_event update_event delete_event |
| Habit | create_habit list_habits get_habit update_habit set_habit_check list_habit_checks delete_habit |
| Category | list_categories create_category |
| Reminder | add_reminder remove_reminder |
create_todo requires a categoryId — todos can no longer be created uncategorized. The flow is: call list_categories and reuse a matching category's id; if none fits, call create_category and use the returned id, then create_todo.
Habits are check-in trackers (medication, water, stretching) — daily by default (up to 6 dose times/day), or interval (Q times every N days / N times a week / N times a month) via cadence. Use create_habit for routines the user ticks off; use create_todo + recurrence for one-off tasks or fixed-slot schedules (a particular weekday, a particular day of the month) — cadence counts how many times per period, recurrence pins which day. Writes take times: ["HH:mm", …]; reads return times: [{id, time}] — pass a slot's id as slotId to set_habit_check for a multi-dose habit (omit it to check all of today's doses). cadence: {"unit":"day"|"week"|"month","interval":N,"quota"?:Q,"startDate"?:"yyyy-MM-dd"} makes an interval habit — quota defaults to 1, out-of-range is a 422 and is never clamped, startDate defaults to today and can never be changed afterwards, and an interval habit takes at most one dose time:
unit | interval | quota | period |
|---|---|---|---|
day | 1–365 | 1–interval | N calendar days, so quota ≤ N; day/1 takes quota 1 = explicitly daily |
week | 1–8 | 1–7×interval | N week(s) |
month | 1–12 | 1–min(31×interval, 365) | N whole calendar months (1st → last day), so the due day is always month end and the period's length follows the calendar rather than a fixed 30 days |
Examples: {"unit":"day","interval":3} = every 3 days · {"unit":"day","interval":5,"quota":2} = twice every 5 days · {"unit":"week","interval":1,"quota":2} = twice a week · {"unit":"month","interval":1,"quota":2} = twice a month.
Reads add cadence, isIntervalHabit and currentPeriod {start,end,dueDay,doneCount,quota,done} (quota is the period's effective quota — the configured quota clamped to the period's checkable days from startDate on, so a 31-a-month habit reports 28 in February and 17 for a first month started on the 14th) — use currentPeriod.done for "is this period satisfied" (checkedToday stays a calendar-day fact). update_habit {"cadence": null} turns an interval habit back into a daily one (anchor kept). A daily cadence with a future start — {"unit":"day","interval":1,"startDate":"<future yyyy-MM-dd>"} — makes a daily habit that starts that day: until then reads report isStarted: false and set_habit_check is a 422 on date. Interval habits are checked per calendar day (no slotId; date never in the future). Checking is explicit set-state (checked: true|false, date defaults to today, idempotent, false un-checks). delete_habit permanently deletes the habit and its entire check-in history — set an endDate via update_habit to stop-but-keep-records instead.
App version: habit tools require the Kenotex app release that ships /v1/habits (1.2.9+, local API v2). cadence additionally requires the release that advertises local API v3 — against an older app a cadence write is refused up front with VERSION_SKEW rather than being silently ignored, and once the app is updated you just retry (the check re-reads the running app's version, no MCP restart needed). Nothing else is gated: on a v2 app every other tool, habit tools included, behaves exactly as it did before — only cadence is unavailable. The daily start date (isStarted, pre-start check refusal) needs local API v4: a daily cadence carrying a startDate is refused with VERSION_SKEW against a v3 app (which would store it but start the habit right away).
Recurrence DSL: 'daily' / 'weekly:mon,wed,fri' / 'monthly:15' / 'yearly' / 'after:daily' (todos only) / 'none'.
Virtual event occurrences: get_event accepts ids like {parentId}__occ__{yyyy-MM-dd}. Recurring parents materialize past occurrences on delete.
How auth works
On each HTTP request the server reads the Kenotex bearer token from (in order):
~/Library/Containers/com.kenxcomp.kenotex/Data/Library/Application Support/Kenotex/local-http-token~/Library/Application Support/Kenotex/local-http-token~/.kenotex-local-token
The token is rotated each time the Kenotex app starts, so a stale MCP session just re-reads the file on its next tool call.
Troubleshooting
"Kenotex app not running or token not accessible" — launch Kenotex.app. If running, the token file should exist at one of the three paths above.
Requests time out — check that no firewall is blocking localhost:21519; tools are hardcoded to 10-second timeout.
License
MIT © kenxcomp
来源:README.md,提交 85e802b
工具
0版本历史
2- v1.4.0最新Oct 29, 2026
- v1.3.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分