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. Delete
token-cache.json to force a fresh sign-in; delete groups.json to 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.
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@mstodo
That'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 with node.
Check with node --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_groups and stores it. From then on, "fetch the Backlog list from Work"
resolves correctly, and same-named lists in different groups are disambiguated.
Everyday phrases