Kairos

io.github.SuperAngryMonkeyPublished by GitHub account SuperAngryMonkeyv0.1.0Updated Oct 25, 2026

Microsoft Planner MCP: create tasks and buckets, list plans and tasks, complete tasks.

Overview

AI-generated overview

Local MCP server that lets an assistant create, list and complete tasks and buckets in your own Microsoft Planner plans via Microsoft Graph.

What you can do
Sign in and check status with device-code login tools, including who is signed in and whether Graph is reachable and how many plans are visible. List every Planner plan you can see, with its buckets and IDs. Create tasks with title, notes, plan, bucket and due date, and create buckets idempotently. List tasks in a plan or bucket, open only by default. Mark a task complete by ID or unique title, and reopen it.
When to use it
Use it when you want an assistant to add, review or close out work items in Microsoft Planner from a local MCP client, for example turning notes or requests into tasks in a chosen plan and bucket.
Requirements
Runs locally over stdio as a Python package (kairos-mcp) needing Python 3.10 or newer; uvx is the easiest route. You must register your own Entra app with public client flows and delegated Tasks.ReadWrite, then set KAIROS_CLIENT_ID and usually KAIROS_TENANT_ID. Sign in once via the CLI or the login tools. KAIROS_DEFAULT_PLAN is optional. Desktop MCP clients only; no remote HTTP connectors.
Before you install
It writes to Planner: creating tasks and buckets and completing or reopening tasks are real changes. The Tasks.ReadWrite token also permits reading and updating every task in every plan you belong to and in principle deleting them, though no delete tool is exposed. The token cache is stored on disk under KAIROS_CONFIG_DIR. No client secret is used; the client and tenant IDs are not secrets.

Installation

In SourceWeft

  1. Open Kairos in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

bash
uvx kairos-mcp        # run without installingpip install kairos-mcp

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.

  1. Entra admin centre → App registrations → New registration. Single tenant is fine. No redirect URI needed.
  2. Authentication → Settings → enable Allow public client flows. Device code sign-in needs this. No client secret is used anywhere.
  3. API permissions → Microsoft Graph → Delegated → add Tasks.ReadWrite ("Create, read, update and delete user's tasks and projects"). Nothing else.
  4. Copy the Application (client) ID and Directory (tenant) ID. Neither is a secret.

Then add kairos to your MCP client:

json
{  "mcpServers": {    "kairos": {      "command": "uvx",      "args": ["kairos-mcp"],      "env": {        "KAIROS_CLIENT_ID": "<application (client) id>",        "KAIROS_TENANT_ID": "<directory (tenant) id>",        "KAIROS_DEFAULT_PLAN": "Development"      }    }  }}

Sign in once, either from a terminal:

bash
KAIROS_CLIENT_ID=... KAIROS_TENANT_ID=... uvx kairos-mcp auth

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

ToolWhat it does
kairos_loginStarts device-code sign-in, returns a URL and a code
kairos_login_finishCompletes sign-in; safe to call repeatedly while you type the code
kairos_auth_statusWho is signed in, whether Graph is reachable, how many plans are visible
list_planner_plansEvery plan you can see, with its buckets and IDs (cached a few minutes; refresh=true to re-read)
create_planner_taskCreates a task: title, optional notes, plan, bucket, due_on (YYYY-MM-DD). Returns the task ID and a URL
create_planner_bucketCreates a bucket in a plan. Idempotent — an existing bucket of that name is returned, not duplicated
list_planner_tasksTasks in a plan (or plan="*" for all), optionally one bucket, open only by default
complete_planner_taskMarks a task 100% by task_id, or by title when the match is unique. reopen=true undoes it

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

kairos-mcp            run the MCP server on stdio (what your client launches)kairos-mcp auth       interactive device-code sign-inkairos-mcp status     who is signed in, is Graph reachablekairos-mcp logout     remove the token cache

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 set KAIROS_DISABLED=1, and every tool refuses.
  • Audit log — every write (login, create, complete, reopen) is appended to ~/.config/kairos/audit.log.
  • KAIROS_CONFIG_DIR moves the cache, log and kill-switch file elsewhere; KAIROS_TOKEN_CACHE and KAIROS_AUDIT_LOG override 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.

Source: README.md at commit 7831b71

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 20, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts