mstodo
Connects Claude to Microsoft To Do so it can read, plan, and manage your tasks conversationally.
Sign in to Microsoft To Do via device-code flow and check sign-in status.
List your To Do lists, organized by group/folder, and refresh the group mapping (reporting renames/deletions).
Fetch tasks from a named list, optionally scoped to a group, with notes, due dates, and checklist subtasks; open-only by default.
Create tasks with notes, due date, importance, and checklist subtasks.
Complete tasks in batches, including detecting recurring tasks that advance instead of closing.
Update tasks: title, due date, importance, or status (including reopening completed tasks).
Append timestamped notes without overwriting existing content.
Manage checklists: add, check off, or uncheck subtasks.
Assign lists to group folders to mirror how you organize To Do, and disambiguate same-named lists.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mstodo fetch my Grad School list"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mstodo — Microsoft To Do for Claude
Connect Microsoft To Do to Claude Code and Claude Desktop. Claude can fetch tasks from a specific list (disambiguated by your To Do group folders), plan the work with you, mark tasks done, append timestamped notes, and manage checklists — all in conversation.
Ships as a Claude Code plugin (bundling a self-contained MCP server and a /mstodo
planning command), as a one-click Claude Desktop extension (.mcpb), or installable
from source. Pick whichever fits — all three are covered below.
Because Microsoft Graph does not expose To Do's group folders, this server keeps its own
group→list mapping on disk (~/.mstodo-mcp/groups.json) that mirrors how you organize lists in
the To Do app. You teach Claude your groups once, in conversation.
How it works
Auth: MSAL device-code flow using Microsoft's first-party "Graph Command Line Tools" client ID — no Azure app registration required. You sign in once in a browser; the token is cached to
~/.mstodo-mcp/token-cache.json(chmod 600) and silently refreshed forever after.Scope:
Tasks.ReadWrite(delegated). Works with personal Microsoft accounts.State:
~/.mstodo-mcp/holds the token cache and the group mapping. Deletetoken-cache.jsonto force a fresh sign-in; deletegroups.jsonto reset group assignments.Privacy: each person signs into their own Microsoft account and gets their own locally-cached token. Nothing of yours is shared — only the code.
Related MCP server: Todoist Meeting MCP
Install
Option A — Claude Code plugin (recommended)
Inside Claude Code, add this repo as a plugin marketplace and install it:
/plugin marketplace add furkanzt/claude-mstodo
/plugin install mstodo@mstodoThat's it — one step wires up both the MCP tools and the /mstodo command. The plugin
bundles a self-contained server (server/mstodo.mjs, all dependencies inlined), so there's no
build step and no npm install.
Requirement: Node.js ≥ 18 on your
PATH— the plugin launches the server withnode. Check withnode --version.
Then, in any conversation, run the command (plugin commands are namespaced by plugin name):
/mstodo:mstodo
/mstodo:mstodo Grad School…or just talk naturally: "what lists do I have in Microsoft To Do?" The first tool call triggers a browser sign-in (see First-time use).
To update later: /plugin marketplace update mstodo. To remove: /plugin uninstall mstodo@mstodo.
Option B — Claude Desktop extension (one-click)
The whole server is packaged as a Claude Desktop Extension. From the
latest release, download
mstodo-0.1.0.mcpb, then:
Open Claude Desktop → Settings → Extensions.
Drag in
mstodo-0.1.0.mcpb(or click Install and pick the file) and confirm.Ask Claude "what lists do I have in Microsoft To Do?" — a browser sign-in prompt appears.
No terminal and no Azure setup. (The /mstodo slash command is a Claude Code plugin feature;
in Claude Desktop you drive the same tools with the everyday phrases below.)
Option C — from source (manual / development)
git clone https://github.com/furkanzt/claude-mstodo.git
cd claude-mstodo
npm install
npm run build # compiles TypeScript → dist/Claude Code — register the built server at user scope:
claude mcp add --scope user mstodo -- node "$(pwd)/dist/index.js"Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json
(use the absolute path to your node — run which node to find it; it differs between Homebrew
on Apple Silicon, Homebrew on Intel, and the nodejs.org installer — and to dist/index.js), then
fully quit and reopen:
"mcpServers": {
"mstodo": {
"command": "/path/from/which-node",
"args": ["/absolute/path/to/claude-mstodo/dist/index.js"]
}
}To rebuild the shareable .mcpb after changing the code: npm run bundle. To regenerate the
plugin's self-contained server bundle: npm run bundle:plugin.
First-time use
Ask Claude: "What lists do I have in Microsoft To Do?" → it calls
todo_get_lists. The first call triggers sign-in: Claude gives you a URL (https://www.microsoft.com/link) and a code. Enter them in a browser, approve, then tell Claude you're done.Teach it your groups (one time). The To Do API can't see your group folders, so tell Claude how your lists are grouped, e.g.:
"In To Do, my School group has Calculus, Grad School and Ultralearning; my Work group has Backlog, Research and Releases."
Claude calls
todo_set_groupsand stores it. From then on, "fetch the Backlog list from Work" resolves correctly, and same-named lists in different groups are disambiguated.
Everyday phrases
"Fetch the Grad School list from my To Do" → tasks with notes + checklist subtasks.
"Let's plan these." → normal conversation; Claude reads the tasks.
"Mark tasks 1, 3 and 4 as done." →
todo_complete_tasks(batch)."Add a note to the report task explaining what we decided." →
todo_add_note(timestamped, appended — never overwrites)."Create a task 'Email the client' due next Monday with subtasks draft/review/send."
"Check off the 'outline' subtask." / "Reopen that task."
Tools
Tool | Purpose |
| Start/check Microsoft sign-in (device code). |
| All lists by group; reconciles mapping; reports renames/deletions. |
| Tasks from a named list (+group), with notes & checklist. Open-only by default. |
| New task with notes, due date, importance, checklist. |
| Batch-complete tasks. Detects recurring tasks (advance vs. complete). |
| Change title / due date / importance / status (reopen = |
| Append a timestamped note without erasing existing content. |
| Add / check / uncheck subtasks. |
| Assign lists to group folders (mirrors your To Do organization). |
Behavior notes (verified against the live API)
Recurring tasks: completing one advances it to the next occurrence rather than closing it;
todo_complete_tasksreports this asrecurring_advancedso it isn't mistaken for a failure.Due dates are stored at UTC midnight so the calendar date round-trips (no off-by-one).
Notes are stored as HTML (a To Do requirement) and shown back to Claude as plain text.
List renames are handled automatically — the mapping is keyed by the stable list id.
Groups, "My Day", and moving a task between lists are not in the Graph API; only groups are emulated here (via the mapping).
Development
npm run build # compile to dist/
npm test # unit tests (resolve + shape)
tsx test/smoke.ts # end-to-end against a throwaway list (needs a cached token)
npm run inspect # MCP Inspector against the built server
npm run bundle # build the Claude Desktop .mcpb (production deps only)
npm run bundle:plugin # rebuild the plugin's self-contained server/mstodo.mjsThe repo serves three distribution paths from one source tree:
dist/— plaintscoutput, used by the from-source and.mcpbpaths.server/mstodo.mjs— a single-file esbuild bundle (deps inlined) committed for the plugin path, so/plugin installruns it with no build step. Regenerate withnpm run bundle:pluginwheneversrc/changes.mstodo-<version>.mcpb— the Claude Desktop extension, shipped as a GitHub Release asset.
Troubleshooting
Not signed in / expired: ask Claude to sign in again, or run
npm run spike login-and-list.Plugin server won't start: confirm
node --versionis ≥ 18 andnodeis on yourPATH(the plugin runsnode ${CLAUDE_PLUGIN_ROOT}/server/mstodo.mjs). Run/mcpin Claude Code to see whether themstodoserver registered and which tools it exposes.Server won't start in Claude Desktop: check
~/Library/Logs/Claude/mcp-server-mstodo.log. Ensuredist/index.jsexists (npm run build) and thecommandpath matcheswhich node.Wrong list picked: run "show my To Do lists" to see the mapping; re-run
todo_set_groups.Use your own Azure app instead of the first-party client ID: register a public client app ("Personal Microsoft accounts only", enable Allow public client flows, add delegated
Tasks.ReadWrite), then setMSTODO_CLIENT_ID(and optionallyMSTODO_AUTHORITY) in the server'senvblock. No client secret needed.
License
MIT — see LICENSE.
Available Tools
9 toolstodo_add_noteAppend a note to a To Do taskA
Append a timestamped note to a Microsoft To Do task's notes/body WITHOUT erasing existing content. Use to record explanations, decisions, or what was done on a task.
Inputs: note (required), list_id (required), task_id (required).
todo_checklistManage checklist subtasksA
Add, check off, or uncheck checklist subtasks on a Microsoft To Do task. Provide at least one of add / check / uncheck.
Inputs: list_id (required), task_id (required), add, check, +1 more.
todo_complete_tasksComplete To Do tasksA
Mark one or more Microsoft To Do tasks as completed. Batch-friendly: pass every finished task id at once. Use the list_id and task ids returned by todo_get_tasks.
Inputs: list_id (required), task_ids (required).
todo_create_taskCreate a To Do taskB
Create a new task in a Microsoft To Do list, optionally with notes, a due date, importance, and checklist subtasks.
Inputs: list (required), title (required), group, notes, +3 more.
todo_get_listsList all To Do lists by groupA
List all of the user's Microsoft To Do lists, organized by their group/folder. Use when the user asks what lists they have, or to disambiguate a list name. Also refreshes the group mapping and reports any renamed or deleted lists.
Inputs: no named parameters.
todo_get_tasksFetch tasks from a To Do listA
Fetch tasks from a Microsoft To Do list by name, optionally scoped to a group/folder (e.g. 'the Backlog list from Work'). Returns titles, status, due dates, notes and checklist subtasks. Defaults to open (not completed) tasks only.
Inputs: list (required), group, include_details, include_completed.
todo_loginSign in to Microsoft To DoA
Sign in to the user's Microsoft To Do account (device-code flow), or report current sign-in status. Call this whenever another To Do tool returns error 'not_signed_in'. Returns a sign-in URL and code to relay to the user; it does not block waiting for them.
Inputs: no named parameters.
todo_set_groupsAssign lists to groupsA
Assign Microsoft To Do lists to named groups/folders that mirror how the user organizes them in the To Do app, so lists can later be found by group. Also used to move a list to a different group (set group) or clear it (set group to null). Each assignment's 'list' may be a list name or a listId.
Inputs: assignments (required).
todo_update_taskUpdate a To Do taskC
Update a Microsoft To Do task: change its title, due date, importance, or status. To reopen a completed task set status to 'notStarted'. To clear the due date pass due_date as null.
Inputs: list_id (required), task_id (required), title, status, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clear, distinct purpose covering authentication, listing, CRUD on tasks, notes, and subtasks. There is a slight overlap between update_task and add_note for modifying task content, but the tools are well-described to avoid confusion.
All tool names follow a consistent verb_noun pattern (todo_login, todo_get_lists, todo_create_task, etc.), making it easy for an agent to predict tool existence and purpose. The prefix 'todo_' is uniformly applied.
9 tools is a reasonable number for a to-do management server, covering core operations without being overwhelming. It's slightly on the higher side for a focused domain but each tool addresses a distinct need.
The tool surface covers login, list management, CRUD on tasks, notes, and subtasks well. Missing operations like deleting a task or list are minor gaps that an agent can work around with existing tools (e.g., update to mark completion).
Maintenance
Related MCP Connectors
Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.
Manage Redbooth tasks, task lists, comments, tags and files from Claude and other AI assistants.
AI-powered to-do list: add, list, complete and organise tasks across lists from any assistant.
Manage Superlist tasks and lists in plain language from any MCP-compatible AI agent.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables comprehensive Microsoft To Do task management through Microsoft Graph API with Entra ID OAuth authentication. Supports creating, updating, and managing todo lists, tasks, reminders, and due dates through natural language.-
- AlicenseAqualityDmaintenanceConnects Claude to Todoist for transforming meeting notes into actionable tasks with inferred due dates and priorities. It enables full task lifecycle management, including creating subtasks, listing projects, and completing tasks through natural language.7MIT
- AlicenseBqualityBmaintenanceEnables Claude to create, read, update and delete Microsoft To Do lists, tasks and checklist items, and Microsoft Planner plans, buckets and tasks, through Microsoft Graph as the signed-in user. Lists, plans and buckets can be referenced by ID or exact name, with destructive deletes requiring confirmation.31MIT
- AlicenseBqualityCmaintenanceLets 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.18MIT