
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 分