
Mjucius Cozi Mcp
ai.smithery由 smithery.ai 发布官方发布者v1.14.0更新于 Nov 24, 2026
Manage your family's calendars and lists in Cozi. View, create, and update appointments; organize…
发布方自己的服务:222wcnm Bilistalkermcp
概览
非官方 MCP 服务器,让助手读取并更新 Cozi 家庭日程应用中的共享清单和日历。
- 可以做什么
- 列出家庭成员及其 ID,用于预约的参与者,并读取本机当前日期时间和运行中的服务器版本。浏览购物清单和待办清单、查看条目,并创建、重命名或删除清单。添加、修改或移除清单条目,包括标记为已完成。读取某月的日历条目、跨月搜索预约,并创建、修改或删除预约,包括重复系列和多日活动。
- 适用场景
- 适合家庭把共享购物清单、待办事项和家庭日历放在 Cozi 中,并希望助手无需打开应用就能查询或修改的场景。只读模式适合只想让助手回答清单和日程问题的人。
- 运行要求
- 需要 Cozi 账号的用户名和密码,通过 COZI_USERNAME 和 COZI_PASSWORD 提供(桌面安装包会提示输入并存入系统钥匙串)。本地方式需要 Node.js 22 或更高版本;自托管方式需要自己的 Cloudflare 账号和 ALLOWED_EMAIL 设置。此处列出的远程端点需要用于 Smithery 身份验证的 Authorization bearer 令牌。需要访问 Cozi API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Mjucius Cozi Mcp,将其添加到工作区。
- 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/ai.smithery%2Fmjucius-cozi_mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mjucius-cozi": {
"type": "http",
"url": "https://server.smithery.ai/@mjucius/cozi_mcp/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
Cozi MCP Server
An unofficial Model Context Protocol server that lets AI assistants like Claude read and update your Cozi Family Organizer lists and calendar.
Each user runs their own instance against their own Cozi account. With the MCPB or npx install, your credentials stay in your MCP client's secure config (Claude Desktop's OS keychain or your local environment) and never leave your machine. With your own server on Cloudflare, they are stored encrypted in your Cloudflare account. Either way, the author of this server has no access to your data.
Install
1. MCPB (recommended for Claude Desktop)
Download the latest .mcpb from the Releases page and double-click to install in Claude Desktop. You'll be prompted for your Cozi username and password. They're stored securely in your OS keychain.
This path requires no Node, npm, or Python install on your machine.
2. npx (any other MCP client)
Add this to your Claude Desktop claude_desktop_config.json (or any other MCP client config file):
{
"mcpServers": {
"cozi": {
"command": "npx",
"args": ["-y", "@mjucius/cozi-mcp"],
"env": {
"COZI_USERNAME": "[email protected]",
"COZI_PASSWORD": "your-password",
"COZI_READ_ONLY": "true"
}
}
}
}
Requires Node 22+. The package will be downloaded on first run.
Set COZI_READ_ONLY=true to expose only read operations. In read-only mode, the server registers
family_members, get_lists, get_list_items, get_calendar, search_calendar, today, and server_version; tools that create, update, or
delete Cozi data are hidden from MCP clients. Omit the variable, or set it to any value other than
1, true, yes, or on, for the default read-write tool surface.
3. Your own server on Cloudflare (Claude on the web, phone and desktop)
MCPB and npx run on your computer, so only apps on that computer can use them. To use Cozi from Claude on the web, in the phone apps or through an agent, you run your own small server in your own free Cloudflare account, which you own and are responsible for. It works in Claude Desktop too, so one setup covers every place you use Claude. It takes more setup than MCPB, and it works with Claude only.
Like the rest of this project, it's unofficial. Neither Cozi nor Cloudflare makes or endorses it. Other free hosts can run it too. The guide uses Cloudflare because it's relatively simple to set up.
Follow the step-by-step setup guide. It shows one screen at a time and explains what to choose and why. It also explains how to have an AI assistant do the install. After setup covers updates, troubleshooting and how to remove everything.
Troubleshooting
Tools fail with "Authentication failed" even after I corrected my password
COZI_USERNAME and COZI_PASSWORD are read once, when the server process
starts. Editing them in your MCP client's settings updates the stored config but
does not reach a server that is already running. It keeps presenting the old
credentials until it is respawned.
Fully quit and relaunch your MCP client (on macOS, Cmd-Q rather than closing the window). Reloading, reconnecting, or toggling the extension off and on is usually not enough.
How do I tell which version is actually running?
The running server advertises its version in the MCP handshake; your client
displays it (Claude Desktop: Settings > Extensions). That is independent of what
is in your working tree: installing an MCPB installs whatever is inside the
.mcpb file, which is only as current as the last npm run bundle:mcpb. Build
the bundle immediately before installing it, or install from a GitHub release.
On your own Cloudflare server, the page at the server's address shows the
version.
Repeated failures start returning "Too many failed login attempts"
Five consecutive failed authentications for a username trigger an exponential backoff, capped at 15 minutes; the message states the remaining wait. The counter lives in process memory, so restarting the client clears it.
Trust and Security
Cozi has no OAuth, so its API only accepts a username and password.
- Per-user, by architecture. Each user runs their own instance against their own Cozi account. There is no shared backend, no proxy, no multi-tenant database. The author of this server never sees anyone's credentials or data.
- Credentials live only where you put them. Claude Desktop stores them in your OS keychain. The npx path reads them from environment variables you set yourself. Your own Cloudflare server keeps them encrypted in your Cloudflare account. Nothing is logged, and your credentials are sent nowhere except
https://rest.cozi.com. - API surface is constrained. This server only contacts
rest.cozi.comfor the same endpoints the Cozi web app uses (auth, lists, calendar, family members). The Cloudflare server also fetches release files from GitHub and Claude's published client description from claude.ai, and calls Cloudflare's API to install updates. The Cozi request and response code lives insrc/cozi/, about 1,500 lines of TypeScript you can audit yourself. - Open source, MIT licensed. Pin a specific version (
@mjucius/[email protected]) if you want a stable target, or fork the repo and run your own build if you want zero supply-chain trust.
Security & trust model
This is a single-user server by design. The Cozi credential holder is the principal. Apart from the Cloudflare server's sign-in page, there is no separate per-caller authentication gate, because each user runs their own instance against their own Cozi account. Concretely:
- stdio (npx / MCPB) trusts the local user. Whoever can launch the process and read the configured
COZI_USERNAME/COZI_PASSWORD(or the OS keychain entry) is treated as the account owner. The trust boundary is your machine and its user account. - Your Cloudflare server trusts its sign-in page. Only Claude's published client can start a sign-in. The email must match
ALLOWED_EMAILbefore anything reaches Cozi, and then Cozi must accept the password. The server keeps the password and the Cozi session inside Claude's connection, encrypted under a key that only that connection's tokens unlock. It signs in to Cozi again at every hourly token refresh, so a changed password cuts off every connection within the hour. - Cloudflare updates are signed after the maintainer approves them. Your server installs only releases signed with a key it already trusts, and only about 3 days after it first sees one. Each release is signed in GitHub Actions once the maintainer approves that step in GitHub, and the key is a secret only that step can read. Someone who takes over the npm package can't push code to your server, but someone who takes over the maintainer's GitHub account could sign a release. The 3-day wait leaves time to pull a bad release by deleting its signature. The update token you give your server can replace the code of any Worker in your Cloudflare account, which is why a Cloudflare account used only for this is safer.
- No multi-tenancy. Each user configures their own instance with their own Cozi account. There is no shared backend, no tenant isolation to breach, and no per-caller authentication beyond possession of valid Cozi credentials, which is the same access model as the Cozi web app itself.
Two defensive measures narrow the blast radius of that model:
- Time-bounded credential cache. Authenticated clients are cached only for a bounded lifetime, so a rotated or revoked Cozi password stops working rather than being honored indefinitely from a stale cached session.
- Failed-login rate limiting. Repeated failed authentication attempts are rate-limited to blunt credential-guessing against the Cozi endpoint.
Tools
The server exposes 16 tools by default, or 7 read-only tools when COZI_READ_ONLY=true (or
the MCPB read-only setting) is enabled. Returns are slim dicts with null/empty fields omitted.
Family
family_members()→[{id, name, color?}]— call this first to get attendee IDs for appointments.
Lists
get_lists(list_type?)→[{id, title, type, item_count, completed_count}]—list_typeis optional,'shopping'or'todo'.get_list_items(list_id, include_completed=false)→[{id, text, status, position?, header?}]—header: truemarks a section heading (e.g. "PRODUCE"), not an item.create_list(name, list_type)→{id, title, type}.rename_list(list_id, title)→{id, title, type}— the items stay as they are.delete_list(list_id)→boolean.
create_list, rename_list and delete_list are hidden in read-only mode.
Items
add_item(list_id, text, position=0)→{id, text}.update_item(list_id, item_id, text?, completed?)→{id, text, status}— pass either or both. Non-atomic when both are passed: the text is updated first, then the status.remove_items(list_id, item_ids)→boolean.
All item tools are hidden in read-only mode.
Calendar
today()→{date, weekday, time, timezone}— the current local time on your machine. Every tool result also ends with this as a separate line, so the assistant resolves "tomorrow" against your clock rather than its own (often UTC). Set the standardTZenv var (e.g.TZ=America/New_York) if the server runs somewhere other than your own computer. Your own Cloudflare server uses the time zone of the browser you signed in from.get_calendar(year, month)→[{id, subject, day, all_day, start?, end?, end_day?, attendees?, location?, notes?, reminders?, kind?, read_only?, source?, recurring?, recurrence?, series_start?, series_end?, skipped_days?}].dayis the day the entry happens;end_dayappears only on multi-day events, which Cozi lists in every month they overlap (sodaymay fall outside the month you asked for). A recurring series is listed once per occurrence in the month, on the days Cozi itself expands it to: each entry has the seriesid, its ownday(andend_daywhen the occurrence spans days),series_start, andrecurrence(Cozi's wording of the rule). Occurrences deleted in the Cozi app are left out and named inskipped_days; a series with no occurrence left in a month is not listed for that month.kindmarks non-appointments such as birthdays;read_onlyitems (holidays, subscribed calendars, named bysource) cannot be changed.remindersare minutes before the start.search_calendar(query)→{appointments: [...same fields, last_day?, next_days?], more?}— Cozi's own search across months. A recurring series reports its latest past occurrence and the next ten. Cozi searches from a few years back onward, and a brand-new appointment can take a few seconds to show up.create_appointment(subject, start, end, attendees?, all_day=false, notes='', location?, repeat?, reminders?, notify?)—startandendare ISO datetimes (e.g.'2026-06-15T10:00:00'). For all-day events (all_day=true) a bare date (e.g.'2026-06-15') is also accepted andendmay equalstart; a bare date on a timed event is an error. Putendon a later date for a multi-day event; the result reports the span asend_day. Anendbeforestartis an error.repeatmakes it a series:{frequency: 'daily'|'weekly'|'monthly'|'yearly', interval?, weekdays?, monthly_by?: 'day_of_month'|'weekday', until?}(nountilrepeats forever).remindersare minutes before the start, e.g.[30, 1440].update_appointment(appointment_id, year, month, ...)— partial update via fetch-then-merge: pass(appointment_id, year, month)plus any fields to change. Omitted fields are preserved. To switch a timed appointment to all-day passall_day=true; to switch to timed pass newstart/end. Passingendre-spans the event against its (possibly newly set) start day, so anendon a later date makes it multi-day and one on the start day collapses it back; passingstartalone moves the event and keeps its length. A bare date is accepted forstart/endwhen the event is, or is being made, all-day; on a timed event it is an error. A recurring series needsscope:'this'changes only the occurrence onoccurrence_day(Cozi stores the changed copy as its own appointment, which is returned),'this_and_following'changes it and every later one (Cozi splits the series),'series'changes every occurrence.repeatreplaces a series' rule or turns a one-off into a series;remindersreplace the existing ones ([]clears them).delete_appointment(appointment_id, year, month, scope?, occurrence_day?, notify?)→boolean. Errors if the id is not on the(year, month)page. A recurring series needsscope:'this'removes the occurrence onoccurrence_day,'this_and_following'ends the series before it,'series'removes every occurrence. Single-occurrence deletes are read back to confirm Cozi applied them.
Holidays, subscribed calendars and birthdays are refused by update_appointment and delete_appointment. notify=true on any calendar write sends Cozi's change notification to the attendees who have notifications on (like the Cozi app's "notify" option); it is off by default.
create_appointment, update_appointment, and delete_appointment are hidden in read-only mode.
Version
server_version()→{name, version}— the version of cozi-mcp that's running. On your own Cloudflare server it changes when an automatic update installs.
Workflow tip
When creating or updating appointments with specific attendees, call family_members() first and use those id values in the attendees arg. Calendar tools are scoped to a (year, month) page, so pass the same year/month back when updating or deleting an appointment from that page.
Migration from v1 (Python)
v2.0 is a Node/TypeScript rewrite of the previous Python implementation, distributed as MCPB and npx. The runtime changed AND the tool surface was consolidated. If you have prompts written against v1, update them as follows:
| v1 (Python, 14 tools) | v2 (Node, 12 tools) |
|---|---|
get_family_members | family_members |
get_lists_by_type(t) | get_lists(list_type=t) |
update_item_text(...) + mark_item(...) | update_item(text?, completed?) (merged) |
add_item(list_id, item_text, ...) | add_item(list_id, text, ...) (param renamed) |
update_appointment(appointment_obj) | update_appointment(appointment_id, year, month, ...partial) |
update_list (item reordering) | removed |
delete_appointment(id) | delete_appointment(id, year, month) |
get_lists returned nested items | now summary only — fetch items via get_list_items(list_id) |
The legacy v1 Python source is preserved at git tag v1.0.0 for reference.
Development
Requires Node 22+ (see .nvmrc).
nvm use
npm install
npm test # vitest, mocked at the CoziClient boundary; no credentials
npm run test:live # live conformance suite against real Cozi (creds.env); required before a release
npm run typecheck
npm run build # tsup → dist/
npm run dev # local stdio dev with COZI_USERNAME / COZI_PASSWORD env vars
npm run bundle:mcpb # produces cozi-mcp.mcpb at repo root
The repo layout:
cozi_mcp/
├── src/
│ ├── server.ts # MCP server factory
│ ├── bin.ts # npx + MCPB stdio entry point
│ ├── worker.ts # Cloudflare Worker entry (OAuth, /mcp, daily update check)
│ ├── remote.ts # The Worker's sign-in page, landing page and MCP handling
│ ├── update.ts # Signed self-update; public keys in update-keys.ts
│ ├── instructions.ts
│ ├── cozi/ # Inlined Cozi HTTP client (no separate npm package)
│ └── tools/ # 15 MCP tools
├── deploy/cloudflare/ # Template the Deploy to Cloudflare button copies
├── scripts/ # Release signing (maintainer only)
├── tests/ # vitest, mocks CoziClient at the boundary
├── manifest.json # MCPB manifest (Claude Desktop)
└── package.json
The Cozi HTTP client is inlined under src/cozi/ rather than published as a separate npm package: it's small, only useful for this MCP server, and avoids the supply-chain surface area of a separate dependency. If you'd prefer the Python equivalent for your own projects, see py-cozi-client.
Acknowledgments
- The
?apikey=coziwc|v…_productionrequirement on the Cozi auth endpoint was reverse-engineered from the livemy.cozi.comweb bundle by Wetzel402/py-cozi PR #3. Without that discovery, every login attempt from a server environment fails with a misleading 401 regardless of credential validity. - Built on the Model Context Protocol and its TypeScript SDK by Anthropic.
Trademark and affiliation
Cozi and the Cozi logo are trademarks of Cozi Inc. This project is unofficial and not affiliated with, endorsed by, or sponsored by Cozi Inc. Use of the Cozi API is at your own risk and subject to Cozi's Terms of Use.
License
MIT — see LICENSE.
Contributing
PRs welcome. Please run npm test and npm run typecheck before submitting.
来源:README.md,提交 37ebc2e
工具
0版本历史
1- v1.14.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Smithery 集成

222wcnm Bilistalkermcp
ai.smithery官方发布者
Bilibili MCP 服务器,让助手按 uid 或用户名查询创作者资料、视频、动态、专栏、字幕和评论。

Zwldarren Akshare One Mcp
ai.smithery官方发布者
一个 MCP 服务器,让助手访问中国 A 股市场数据:历史与实时行情、新闻、估值、财务报表及内部交易数据。

Zhaoganghao Hellomcp
ai.smithery官方发布者
一个小型远程 MCP 服务器,让助手按名字向人问候,并介绍“Hello, World”的由来。

Zeta Chain Cli
ai.smithery官方发布者
一个远程 MCP 服务器,让助手为任意姓名或受众生成友好、可定制的问候语。

Yuna0x0 Hackmd Mcp
ai.smithery官方发布者
一个连接 HackMD API 的 MCP 服务器,让助手读取、创建、更新和删除 HackMD 笔记并管理团队。