
Kairos
io.github.SuperAngryMonkey由 GitHub 账号 SuperAngryMonkey 发布v0.1.0更新于 Oct 25, 2026
Microsoft Planner MCP: create tasks and buckets, list plans and tasks, complete tasks.
概览
本地 MCP 服务器,让助手通过 Microsoft Graph 在你自己的 Microsoft Planner 计划中创建、列出和完成任务与存储桶。
- 可以做什么
- 使用设备代码登录工具登录并查看状态,包括当前登录者、Graph 是否可达以及可见计划数量。列出你能看到的所有 Planner 计划及其存储桶和 ID。创建任务(标题、备注、计划、存储桶、截止日期),并以幂等方式创建存储桶。按计划或存储桶列出任务,默认仅列出未完成任务。按任务 ID 或唯一标题将任务标记为完成,也可重新打开。
- 适用场景
- 当你希望助手在本地 MCP 客户端中向 Microsoft Planner 添加、查看或结束工作项时使用,例如把笔记或请求转成指定计划和存储桶中的任务。
- 运行要求
- 以 Python 包(kairos-mcp)通过 stdio 在本地运行,需要 Python 3.10 或更高版本,使用 uvx 最方便。你需要自行注册 Entra 应用,启用公共客户端流并授予委托权限 Tasks.ReadWrite,然后设置 KAIROS_CLIENT_ID,通常还需设置 KAIROS_TENANT_ID。通过命令行或登录工具登录一次。KAIROS_DEFAULT_PLAN 可选。仅支持桌面 MCP 客户端,不支持仅远程 HTTP 连接器。
安装
在 SourceWeft 中
- 打开 控制台中的 Kairos,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
kairos
A Microsoft Planner MCP server that writes tasks.
An agent creates tasks and buckets in your Planner plans, lists what is there,
and marks tasks complete. Sign-in is delegated device-code against your own
Entra app with the single Graph scope Tasks.ReadWrite; the token reaches only
the plans you are a member of and nothing else in the tenant.
kairos is the sibling of iris, the mail server that cannot send. They are deliberately separate. iris's value is an absent capability; a Planner writer's value is the write itself. Creating a task creates a task. Completing one completes one. kairos does not pretend otherwise, so read what it can do before you install it.
Install
Python 3.10 or newer. macOS ships Python 3.9, which is too old — mcp
requires 3.10+. Use uv (it comes with uvx and
manages its own Python), or install a current Python with Homebrew
(brew install [email protected]). The system python3 on macOS will not work.
Setup
You must register your own Entra application. There is no shared app registration and no hosted service — kairos talks directly from your machine to your tenant. A shared app would mean trusting someone else's client ID with write access to your plans.
- Entra admin centre → App registrations → New registration. Single tenant is fine. No redirect URI needed.
- Authentication → Settings → enable Allow public client flows. Device code sign-in needs this. No client secret is used anywhere.
- API permissions → Microsoft Graph → Delegated → add
Tasks.ReadWrite("Create, read, update and delete user's tasks and projects"). Nothing else. - Copy the Application (client) ID and Directory (tenant) ID. Neither is a secret.
Then add kairos to your MCP client:
Sign in once, either from a terminal:
or from inside the MCP client: call kairos_login, open the URL, enter the
code, then call kairos_login_finish. Either way the token cache lands in
~/.config/kairos/token_cache.json, mode 600, and refreshes silently from then
on.
KAIROS_DEFAULT_PLAN is optional. Without it, every call must name a plan —
unless your account can see exactly one, in which case that one is used.
Clients
kairos is a local stdio MCP server: your MCP client launches it as a child process on the same machine. It works with any client that supports local stdio servers — Claude Desktop, Cursor, the Grok CLI and others. It does not work with clients that only accept remote MCP connectors over HTTP.
Tools
Plans and buckets are matched by name, case-insensitively, or by ID. A partial
name works when it is unambiguous. Omit bucket and the plan's first bucket is
used.
Completing by title refuses ambiguity
complete_planner_task(title="deploy") searches open tasks in the plan. One
match: it completes it. Two or more: it stops and lists them with IDs so you can
re-call with the exact task_id. It never picks one for you.
CLI
Re-authenticating
A refresh token stops working after a password change, an admin revocation, or
long disuse. Every tool then returns a message that says so and how to fix it:
kairos-mcp auth in a terminal, or kairos_login → kairos_login_finish from
the client. Nothing else needs to change.
What it can and cannot do
Can: create tasks and buckets in any plan you are a member of; set a task's notes and due date at creation; list plans, buckets and tasks; mark a task complete or reopen it.
Cannot: delete anything — there is no delete tool, and the design keeps it that way. Assign people. Set priority, labels, checklists or attachments. Edit an existing task's title, notes or due date. See plans you are not a member of.
Tasks.ReadWrite is the narrowest Graph scope that permits creating a Planner
task. It also permits reading and updating every task in every plan you belong
to, and in principle deleting them. kairos does not expose delete, but the
token could — the boundary is this code, not Microsoft's consent screen. If
that distinction matters to you, it should; see SECURITY.md.
Other controls
- Kill switch — create
~/.config/kairos/DISABLED, or setKAIROS_DISABLED=1, and every tool refuses. - Audit log — every write (login, create, complete, reopen) is appended to
~/.config/kairos/audit.log. KAIROS_CONFIG_DIRmoves the cache, log and kill-switch file elsewhere;KAIROS_TOKEN_CACHEandKAIROS_AUDIT_LOGoverride individual paths.
Graph notes, for the curious
A task's notes are not on the task; they live on a child details entity that
Graph guards with an ETag. kairos creates the task, reads the details ETag, then
PATCHes with If-Match. Completion is the same dance on the task itself.
Planner throttles hard, so every call retries on 429 with Retry-After and
there is a short pause between chained calls. New tasks and buckets are pinned
to the top of their column (orderHint: " !").
License
MIT — see LICENSE.
来源:README.md,提交 7831b71
工具
0版本历史
1- v0.1.0最新Sep 20, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分