Skip to main content
Glama
To Do & Planner MCP Server

To Do & Planner MCP Server

by srchauhan29

To Do & Planner MCP server

A local MCP server that lets Claude (Desktop chats, Projects and Cowork, or Claude Code) create, read, update and delete Microsoft To Do and Microsoft Planner items through Microsoft Graph, as the signed-in user.

Area

"Project" maps to

Tools

Microsoft To Do

Task list

todo_list_lists, todo_create_list, todo_rename_list, todo_delete_list, todo_list_tasks, todo_get_task, todo_create_task, todo_update_task, todo_move_task, todo_delete_task, todo_add_checklist_item, todo_update_checklist_item, todo_delete_checklist_item

Microsoft Planner

Plan (in a Microsoft 365 group)

planner_list_my_groups, planner_list_plans, planner_create_plan, planner_rename_plan, planner_delete_plan, planner_list_buckets, planner_create_bucket, planner_rename_bucket, planner_delete_bucket, planner_list_tasks, planner_my_tasks, planner_get_task, planner_create_task, planner_update_task, planner_delete_task

Account

–

auth_status, login, auto_login

Lists, plans and buckets can be referenced by ID or exact name (ambiguous names are rejected, never guessed). Delete tools are marked destructive so Claude asks before running them.

Scope note: Graph exposes basic Planner plans. Planner Premium / Project for the web "projects" are Dataverse-based and are not reachable through these Graph endpoints.

Quick install (any Windows machine with Claude)

Pick one method per machine. Installing both gives you duplicate tools.

Option A: Claude Desktop extension (.mcpb), no terminal needed after uv is installed

  1. Install uv once. It's per-user, needs no admin rights and isn't an MSI:

    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  2. Download todo-planner-<version>.mcpb from this repo's Releases page, or build it yourself (see below).

  3. Double-click the file, or go to Claude Desktop → Settings → Extensions and drag the file in. Review the optional settings (tenant, time zone, auto sign-in) and click Install.

  4. In any chat, Project or Cowork task, say "Log in to To Do". Claude asks which sign-in option you want and opens your browser.

The first start takes a little longer while uv downloads Python and the pinned dependencies. Extension settings can be changed later under Settings → Extensions.

Option B: install.ps1, also works for Claude Code and Intune

From a normal PowerShell or Windows Terminal window (not a terminal inside Claude), in a copy of this repo:

powershell -ExecutionPolicy Bypass -File .\install.ps1

The script installs uv if it's missing (it asks first), installs Python and the pinned dependencies, runs the sign-in menu (option 1 or 2), registers the server with Claude Desktop (asking you to quit Claude first) and verifies everything. Useful switches:

Switch

Effect

-App microsoft -Tenant contoso.com.au

Skip the menu: Microsoft-published app, restricted to your tenant

-App own -ClientId <guid> -Tenant <tenant>

Skip the menu: your own app registration

-TimeZone Australia/Sydney

Pin a time zone (default auto)

-ClaudeCode

Also register with Claude Code (claude mcp add, user scope)

-SkipLogin / -SkipClaudeDesktop

Skip those steps (e.g. for an Intune install; the user then signs in from Claude)

-Yes

No confirmation prompts

-Uninstall

Remove the Claude registrations, sign out and optionally delete saved settings

For an Intune Win32 app, run install.ps1 -SkipLogin -Yes in the user context. Each user then says "Log in to To Do" in Claude.

Building the .mcpb

uv run python scripts\build_mcpb.py --schema path\to\mcpb-manifest-v0.4.schema.json

This generates manifest.json from the live tool list and pyproject.toml, validates it against the official MCPB schema when --schema is given (needs uv run --with jsonschema), and writes dist/todo-planner-<version>.mcpb. The bundle is built from an explicit allow-list: source, pyproject.toml, uv.lock, README and icon. It never contains .venv, settings or tokens. Dependencies are installed with --frozen from uv.lock.

Related MCP server: mstodo

Security design

  • Delegated permissions only – everything runs as you; you can only touch lists/plans you already have access to.

  • No secrets – public client (no client secret or certificate). Only the client ID, tenant and time zone are saved, and none of them are secrets.

  • Encrypted token cache – MSAL tokens are stored with msal-extensions, encrypted with Windows DPAPI under your user profile (%USERPROFILE%\.todo-planner-mcp\msal_token_cache.bin). Nothing is written to the repo.

  • MFA / Conditional Access honoured – sign-in happens in the system browser against your tenant.

  • Least privilege – default scopes are User.Read + Tasks.ReadWrite. Extra scopes are opt-in.

  • Tokens only go to Graph: bearer tokens are only ever sent to https://graph.microsoft.com/v1.0/. The server checks the parsed scheme, host, port and path, so look-alike URLs are refused. Logs go to stderr and never contain tokens.

  • Prompt-injection guard: task titles and notes in shared lists and plans are written by other people. Claude is told to treat them as data and never follow instructions inside them. The sign-in app and tenant can't be changed from chat once configured, only from the terminal or the extension settings, which blocks consent-phishing via injected text.

  • Pinned dependencies: every launch uses uv … --frozen, so only the hash-pinned versions in uv.lock are installed.

  • In Claude, don't choose "Always allow" for the *_delete_* tools, so every delete still needs your click.

  • With option 2, pin your tenant (--tenant yourdomain) rather than using organizations, especially if you also have accounts in customer tenants.

  • Prefer option 1 (your own app registration) for managed or MSP use. You can then apply Conditional Access, assignment requirements and sign-in log filtering to it alone.

  • The optional permissions (GroupMember.Read.All, User.ReadBasic.All, MailboxSettings.Read) are read-only. Only grant the ones you use.

Known limitations

  • Anyone who can run code as your Windows user can use your cached session. That's the same trust boundary as Outlook and Teams; DPAPI protects the cache from other users and offline copies, not from malware running as you.

  • planner_list_my_groups with GroupMember.Read.All returns all your group memberships to Claude.

  • If uv is missing and winget isn't available, install.ps1 falls back to astral.sh's official install script (HTTPS, after asking you).

1. Choose how to sign in

At login you pick one of two options:

1. Own app registration

2. Microsoft-published app

What it is

Your own Entra app (public client, no secret)

Microsoft Graph Command Line Tools (14d82eec-204b-4c2f-b7e8-296a70dab67e)

Setup

One-time registration (below)

None

Tenant

Required (tenant ID or domain)

Optional: Enter = any work account (organizations), or pin your domain

Audit / Conditional Access

Shows under its own name and can be targeted on its own

Shared with Graph PowerShell, so you can't tell the two apart

Recommended for

Production / MSP use

Quick personal testing

With option 2, pin your own domain if you also hold accounts in customer tenants. That stops you signing in to a customer tenant by mistake.

Registering your own app (option 1 only, about 5 min)

  1. Entra admin center → Identity → Applications → App registrations → New registration

    • Name: Claude To Do Planner MCP

    • Supported account types: Single tenant

    • Redirect URI: platform Public client/native (mobile & desktop), value http://localhost

  2. API permissions → Add a permission → Microsoft Graph → Delegated:

    • User.Read, Tasks.ReadWrite (required)

    • Optional: GroupMember.Read.All (lets planner_list_my_groups list groups for new plans – admin consent needed)

    • Optional: User.ReadBasic.All (lets you assign Planner tasks to people by email)

  3. Click Grant admin consent (recommended for a managed tenant so users aren't prompted).

  4. Do not create a client secret. Leave "Allow public client flows" = No.

  5. Copy the Application (client) ID and Directory (tenant) ID (or use your verified domain).

2. Install

Requires uv (it installs Python for you).

cd C:\Github\ToDo-MCP
uv sync

3. Sign in once

uv run todo-planner-mcp login
How do you want to sign in to Microsoft 365?
  1. Own app registration (your Entra client ID)
  2. Microsoft-published app (Microsoft Graph Command Line Tools, no registration)
Choose 1 or 2: 1
Application (client) ID: <guid>
Tenant ID or verified domain (e.g. contoso.com.au): contoso.com.au
Time zone ('auto' = detect from Microsoft 365, or e.g. Australia/Sydney) [auto]:

Your browser opens for sign-in and MFA. The choice is saved, without secrets, to %USERPROFILE%\.todo-planner-mcp\settings.json. Tokens are kept in a separate DPAPI-encrypted cache and refresh silently. Run login again to switch options; switching app or tenant clears the old tokens.

To skip the menu: uv run todo-planner-mcp login --app microsoft --tenant contoso.com.au --timezone Australia/Sydney (or --app own --client-id <guid> --tenant <tenant>). status and logout are also available.

You can also sign in from inside Claude. Ask it to "log in to To Do". Claude asks which option you want and then calls the login tool, which opens your browser.

Automatic sign-in when the session expires

You normally sign in once. MSAL refreshes tokens silently, and the refresh token lasts up to 90 days while you keep using it. The session can still end early: a Conditional Access sign-in frequency policy, a password change, revoked sessions or an admin action will all do it.

When that happens, the next request opens the Microsoft sign-in page in your browser automatically, pre-filled with your account. Complete sign-in and MFA, and the request carries on.

  • Only one sign-in window opens, even if Claude is running several requests at once.

  • If you close the window without signing in, it won't reopen for 2 minutes. Ask Claude to "log in to To Do" when you're ready.

  • Status checks (auth_status, status) never open the browser.

  • Turn it off or on with uv run todo-planner-mcp auto-login off|on, ask Claude to "turn off automatic sign-in", or set TODO_MCP_AUTO_LOGIN=off.

  • If the window opens behind other windows, look for the browser flashing on the taskbar.

Time zone detection

Dates you type ("due Friday", "2026-11-01") are interpreted in your time zone. With the default auto setting, the server uses, in order:

  1. Your Microsoft 365 time zone: the one in Outlook → Settings → Time zone, which To Do and Outlook also use. This needs the read-only MailboxSettings.Read permission. With option 2 it is requested at your next interactive sign-in. With option 1, add it to the app registration and to TODO_MCP_EXTRA_SCOPES. Until it's granted, nothing pops up; the server just uses the next source.

  2. This computer's Windows time zone.

  3. UTC.

Microsoft 365 reports Windows zone names (e.g. AUS Eastern Standard Time), which the server maps to IANA names (Australia/Sydney). To pin a zone instead, run login and enter it, or set TODO_MCP_TIMEZONE. Ask Claude "check my To Do sign-in status" to see which zone is in use and where it came from.

4. Add to Claude Desktop (Chat, Projects and Cowork)

  1. Fully quit Claude Desktop (tray icon → right-click → Quit). Closing the window isn't enough. While the app is running it rewrites its config from memory and drops entries added in the meantime.

  2. From a normal terminal, run:

    uv run --directory C:\Github\ToDo-MCP python scripts\register_claude_desktop.py

    The script finds the right config file, makes a timestamped backup and adds the entry below. The Store (MSIX) build of Claude Desktop keeps its config in %LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude\, not in %APPDATA%\Claude. To remove the entry later, add --remove.

  3. Start Claude Desktop. The tools appear under the connectors/tools menu in any chat, Project or Cowork task.

The entry needs no IDs, because the server reads the saved login choice (see claude_desktop_config.example.json):

"mcpServers": {
  "todo-planner": {
    "command": "C:\\Users\\<you>\\.local\\bin\\uv.exe",
    "args": ["run", "--frozen", "--directory", "C:\\Github\\ToDo-MCP", "todo-planner-mcp"]
  }
}

For Claude Code instead:

claude mcp add todo-planner --scope user -- uv run --frozen --directory C:\Github\ToDo-MCP todo-planner-mcp

Configuration

The saved login choice is used by default. Environment variables override it, for example to enforce one app across a managed fleet. If TODO_MCP_CLIENT_ID is set, you can't choose the app at login.

Variable

Description

TODO_MCP_CLIENT_ID

Force a client ID (disables the login menu choice)

TODO_MCP_TENANT_ID

Force a tenant ID, domain or organizations

TODO_MCP_TIMEZONE

auto (default: Microsoft 365 → Windows → UTC) or an IANA zone such as Australia/Sydney

TODO_MCP_AUTO_LOGIN

on (default) / off: open browser sign-in automatically when the session expires

TODO_MCP_EXTRA_SCOPES

Space-separated extra delegated scopes, e.g. GroupMember.Read.All User.ReadBasic.All. Run login again after changing

TODO_MCP_CACHE_PATH

Override token cache location

TODO_MCP_DATA_DIR

Override the settings + cache folder (default %USERPROFILE%\.todo-planner-mcp; avoid AppData, which Claude Desktop redirects)

TODO_MCP_LOG_LEVEL

INFO (default), DEBUG, WARNING

Example prompts

Write naturally; you don't need tool names. Mentioning "To Do" or "Planner" helps Claude pick the right one. These examples are also in the server's description, so Claude sees them in every chat, Project and Cowork task.

Microsoft To Do (lists = projects)

You say

What happens

"Show my To Do lists"

todo_list_lists

"Create a To Do list called Client Onboarding – Acme"

todo_create_list

"Add Renew SSL certificate to my Tasks list, due Friday, high importance"

todo_create_task

"What's still open in my Work list?" / "…including completed"

todo_list_tasks

"Add a reminder tomorrow 9am and a note 'check expiry on the firewall too'"

todo_update_task

"Mark Renew SSL certificate as completed" / "reopen it"

todo_update_task

"Add checklist steps: backup, renew, verify" / "tick off backup"

todo_add_checklist_item / todo_update_checklist_item

"Move it to the Admin list"

todo_move_task

"Rename the Work list to Work – 2026"

todo_rename_list

"Delete the Old ideas list" (Claude confirms first)

todo_delete_list

Microsoft Planner (plans = projects)

You say

What happens

"Show my Planner tasks"

planner_my_tasks

"List my plans" / "Which groups can I create a plan in?"

planner_list_plans / planner_list_my_groups

"Create a plan M365 Migration – Contoso in the IT Projects group with buckets Discovery, Build, Cutover, Hypercare"

planner_create_plan

"Show open tasks in M365 Migration – Contoso, Build bucket only"

planner_list_tasks

"Add Licensing audit to M365 Migration – Contoso in Discovery, assign to me, due 2026-11-01, priority important, label Licensing"

planner_create_task

"Move Licensing audit to Build, set it in progress and add checklist: export licences, compare, report"

planner_update_task

"Assign it to jane@contoso.com" (needs User.ReadBasic.All)

planner_update_task

"Rename the Cutover bucket to Go-live"

planner_rename_bucket

"Delete the task Old test" (Claude confirms first)

planner_delete_task

Account

You say

What happens

"Check my To Do sign-in status" (shows account, time zone, auto sign-in)

auth_status

"Log in to To Do" / "Switch To Do sign-in to my own app registration"

login

"Turn off automatic sign-in for To Do"

auto_login

Combined: "Read my meeting notes below and create Planner tasks in M365 Migration – Contoso for every action item, assigned to me, due next week."

Validation checklist

  1. uv run todo-planner-mcp status → shows your account, token valid.

  2. In Claude: "check To Do auth status" → tokenValid: true.

  3. Create → update → delete a test task in a scratch list; confirm each in the To Do app.

  4. Same for a Planner task in a test plan.

Rollback

  • Remove the todo-planner entry from claude_desktop_config.json and restart Claude.

  • uv run todo-planner-mcp logout, then delete %USERPROFILE%\.todo-planner-mcp (saved choice and token cache).

  • Delete the app registration in Entra ID to revoke all access; optionally revoke sessions for the user.

Troubleshooting

Symptom

Fix

"Not signed in…" / "Sign-in method not chosen"

Run uv run todo-planner-mcp login or ask Claude to log in

"…opened recently but not completed"

The sign-in window was closed. Ask Claude to "log in to To Do"

Dates one day off

Check the zone with "check my To Do sign-in status"; pin it with TODO_MCP_TIMEZONE if needed

AADSTS50194

Your own app is single-tenant: enter your tenant ID/domain instead of organizations

Option 2 blocked (AADSTS50105 / AADSTS65001)

Your tenant restricts or hasn't consented to Microsoft Graph Command Line Tools: use option 1

AADSTS65001 consent

Grant admin consent on the app registration

AADSTS50011 redirect mismatch

Ensure redirect URI http://localhost under Mobile and desktop platform

Graph 403 on groups / user lookup

Add the optional scope to TODO_MCP_EXTRA_SCOPES, consent, re-login

Graph 412 on Planner

Item changed concurrently; just retry

Server not visible in Claude

Check %APPDATA%\Claude\logs\mcp-server-todo-planner.log

Available Tools

31 tools
auth_statusA
Read-only

Show which sign-in app and Microsoft 365 account are in use and whether a valid token is available.

Inputs: no named parameters.

auto_loginA

Turn automatic sign-in on or off. When on (default), an expired Microsoft 365 session opens the browser sign-in automatically and the pending request continues afterwards.

Inputs: enabled (required).

loginA

Sign in to Microsoft 365. Opens the system browser on this computer for sign-in/MFA.

On first use, or when the user wants to switch, ASK THE USER which app to sign in with:

  1. app='own' - their own Entra app registration. Needs client_id (GUID) and tenant (tenant ID or verified domain).

  2. app='microsoft' - Microsoft-published 'Microsoft Graph Command Line Tools' app, no registration needed. tenant is optional (default 'organizations' = any work account); suggest pinning their domain to avoid signing in to the wrong (e.g. customer) tenant.

timezone: 'auto' (default - the user's Microsoft 365 time zone, else this computer's) or an IANA zone such as Australia/Sydney. Omit app to reuse the saved choice. Once a sign-in app is configured it can't be changed from chat (only re-signed into); the user changes it with todo-planner-mcp login in a terminal or in the extension settings.

Inputs: app, tenant, timezone, client_id.

planner_create_bucketC

Create a bucket in a Planner plan.

Inputs: name (required), plan_ref (required).

planner_create_planB

Create a Planner plan (project) in a Microsoft 365 group, optionally with initial buckets (e.g. ['To do', 'In progress', 'Done']).

Inputs: title (required), group_id (required), buckets.

planner_create_taskC

Create a Planner task. assignees: 'me', user object IDs, or emails. labels: label names defined on the plan. Dates: YYYY-MM-DD (local time).

Inputs: title (required), plan_ref (required), due, start, +7 more.

planner_delete_bucketA
Destructive

Permanently delete a bucket and ALL tasks in it. Confirm with the user first.

Inputs: plan_ref (required), bucket_ref (required).

planner_delete_planA
Destructive

Permanently delete a Planner plan with ALL its buckets and tasks. Confirm with the user first.

Inputs: plan_ref (required).

planner_delete_taskA
Destructive

Permanently delete a Planner task. Confirm with the user first.

Inputs: task_id (required).

planner_get_taskB
Read-only

Get a Planner task including description and checklist.

Inputs: task_id (required).

planner_list_bucketsB
Read-only

List buckets (columns) in a Planner plan.

Inputs: plan_ref (required). Returns: result

planner_list_my_groupsA
Read-only

List Microsoft 365 groups the user belongs to (needed as the container when creating a plan). Requires the GroupMember.Read.All permission; otherwise use group IDs from planner_list_plans.

Inputs: no named parameters. Returns: result

planner_list_plansA
Read-only

List Planner plans (projects) shared with the signed-in user, with their group IDs.

Inputs: no named parameters. Returns: result

planner_list_tasksC
Read-only

List tasks in a Planner plan, optionally filtered by bucket, completion and assignment.

Inputs: plan_ref (required), bucket_ref, assigned_to_me, include_completed. Returns: result

planner_my_tasksB
Read-only

List Planner tasks assigned to the signed-in user across all plans.

Inputs: include_completed. Returns: result

planner_rename_bucketC

Rename a bucket in a Planner plan.

Inputs: new_name (required), plan_ref (required), bucket_ref (required).

planner_rename_planB

Rename a Planner plan. plan_ref is the plan ID or exact title.

Inputs: plan_ref (required), new_title (required).

planner_update_taskA

Update a Planner task. Only supplied fields change. Empty string for due/start clears it. bucket_ref moves it to another bucket in the same plan. labels replaces the task's labels. check_items ticks existing checklist items (by ID or title). progress='completed' completes it.

Inputs: task_id (required), due, start, title, +9 more.

todo_add_checklist_itemC

Add a checklist (sub-step) item to a To Do task.

Inputs: text (required), task_id (required), list_ref (required).

todo_create_listC

Create a new Microsoft To Do task list (project).

Inputs: name (required).

todo_create_taskC

Create a task in a To Do list. Dates: YYYY-MM-DD or YYYY-MM-DDTHH:MM (local time). checklist adds sub-steps.

Inputs: title (required), list_ref (required), due, notes, +5 more.

todo_delete_checklist_itemB
Destructive

Delete a checklist item from a To Do task. Confirm with the user first.

Inputs: item_id (required), task_id (required), list_ref (required).

todo_delete_listA
Destructive

Permanently delete a To Do list AND all tasks in it. Confirm with the user first. The default 'Tasks' list cannot be deleted.

Inputs: list_ref (required).

todo_delete_taskB
Destructive

Permanently delete a To Do task. Confirm with the user first.

Inputs: task_id (required), list_ref (required).

todo_get_taskB
Read-only

Get one To Do task with notes and checklist items.

Inputs: task_id (required), list_ref (required).

todo_list_listsA
Read-only

List all Microsoft To Do task lists (projects) for the signed-in user.

Inputs: no named parameters. Returns: result

todo_list_tasksB
Read-only

List tasks in a To Do list. list_ref is the list ID or exact name (e.g. 'Tasks').

Inputs: list_ref (required), max_items, include_completed. Returns: result

todo_move_taskA

Move a task to another To Do list (copies title, notes, dates, importance, status, categories and checklist, then deletes the original). The task gets a new ID.

Inputs: task_id (required), to_list_ref (required), from_list_ref (required).

todo_rename_listB

Rename a To Do list. list_ref is the list ID or its exact name.

Inputs: list_ref (required), new_name (required).

todo_update_checklist_itemB

Rename and/or tick/untick a checklist item on a To Do task.

Inputs: item_id (required), task_id (required), list_ref (required), text, +1 more.

todo_update_taskA

Update a To Do task. Only supplied fields change. Pass an empty string for a date to clear it. Set status='completed' to complete a task, 'notStarted' to reopen it.

Inputs: task_id (required), list_ref (required), due, notes, +6 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 31 tools

    Disambiguation4/5

    The planner_* and todo_* prefixes cleanly separate the two product domains, and within each domain the resource+action combinations are distinct (list_buckets vs list_tasks vs my_tasks). The only mild risk is an agent choosing between planner_create_task and todo_create_task, but the descriptions make the target system explicit.

    Naming Consistency4/5

    Almost every tool follows a predictable prefix + verb_noun pattern (planner_create_plan, todo_update_checklist_item, etc.). Minor deviations: planner_list_my_groups breaks the pattern (elsewhere it's list_plans/list_buckets), and the auth tools (login, auto_login, auth_status) use verb-only and noun-first forms instead of the verb_noun convention.

    Tool Count3/5

    31 tools is heavy for a single MCP server, but it covers two full products (Planner and To Do) each with plans/lists, buckets, tasks, and checklists, so nearly every tool has a genuine role. Still, it sits at the upper edge where an agent faces a large surface and some consolidation (e.g. checklist operations) could trim it.

    Completeness4/5

    Both domains have full lifecycle coverage: create/rename/delete for plans, buckets and lists, plus task create/get/list/update/delete/move and checklist add/update/delete for To Do. Gaps are minor: no planner_get_plan or planner_get_bucket, and Planner checklists can only be ticked via planner_update_task with no dedicated add/delete checklist item tools as To Do has.

    Maintenance

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Lets Claude and other AI clients read and modify Microsoft To Do through natural language, adding, completing, searching, updating, and deleting tasks and sub-steps by title and list name instead of ids. Personal Microsoft accounts need no Azure app registration — a single device-code sign-in grants access, with optional read-only and no-delete modes available.
      18
      MIT