by jordanburke
# Add to your Claude Code skills
git clone https://github.com/jordanburke/microsoft-todo-mcp-serverGuides for using mcp servers skills like microsoft-todo-mcp-server.
microsoft-todo-mcp-server is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by jordanburke. It has 122 GitHub stars.
microsoft-todo-mcp-server's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/jordanburke/microsoft-todo-mcp-server" and add it to your Claude Code skills directory (see the Installation section above).
microsoft-todo-mcp-server is primarily written in TypeScript. It is open-source under jordanburke on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh microsoft-todo-mcp-server against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A Model Context Protocol (MCP) server that enables AI assistants like Claude and Cursor to interact with Microsoft To Do via the Microsoft Graph API. This service provides comprehensive task management capabilities through a secure OAuth 2.0 authentication flow.
Running this server yourself means registering an app in Azure and managing its client secret. If you'd rather skip that, Agent Todo is a hosted MCP server that supports Microsoft To Do, from the same maintainer. You sign in to Agent Todo, connect your Microsoft To Do account on its Connections page, then add the connector to your AI assistant. There's nothing to register or install.
Connect it from any MCP client that supports remote servers. It signs you in with OAuth on first use.
# Claude Code
claude mcp add --transport http agent-todo https://api.agent-gate.com/agent-todo/mcp
In Claude Desktop or claude.ai, open Settings, then Connectors, and add https://api.agent-gate.com/agent-todo/mcp as a custom connector.
Want to run it on your own machine, or keep your tokens local? Keep reading to set up this server.
recurrence (daily / weekly / absoluteMonthly / relativeMonthly / absoluteYearly / relativeYearly) on create-task and update-task# Install globally using npm
npm install -g microsoft-todo-mcp-server
# Or using pnpm
pnpm install -g microsoft-todo-mcp-server
# Or run directly with npx (no installation)
npx microsoft-todo-mcp-server
The package provides five commands:
microsoft-todo-mcp-server - The MCP servermstodo - Short alias for the MCP servermstodo-config - Writes an mcp.json that points the server at your tokens.jsonmstodo-setup - Guided setup. It does not yet finish on its own after you sign in, so use the steps under Usage insteadmstodo-http - The MCP server over HTTP, for remote clients; each user signs in with their own Microsoft account (see HTTP Mode)git clone https://github.com/jordanburke/microsoft-todo-mcp-server.git
cd microsoft-todo-mcp-server
pnpm install
pnpm run build
http://localhost:3000/callback. For HTTP Mode, also add <your base URL>/oauth/callbackopenid and profile), so adding them here is what lets an admin approve them ahead of time:
Tasks.Read, Tasks.ReadWrite, Tasks.Read.Shared, Tasks.ReadWrite.SharedUser.Read, offline_accessCreate a .env file in the repository root, where you run pnpm run auth (required for sign-in):
CLIENT_ID=your_client_id
CLIENT_SECRET=your_client_secret
TENANT_ID=your_tenant_setting
REDIRECT_URI=http://localhost:3000/callback
organizations - For multi-tenant organizational accounts (the default when TENANT_ID is unset)consumers - For personal Microsoft accounts onlycommon - For both organizational and personal accountsyour-specific-tenant-id - For single-tenant configurationsExamples:
# For multi-tenant organizational accounts (default)
TENANT_ID=organizations
# For personal Microsoft accounts
TENANT_ID=consumers
# For both organizational and personal accounts
TENANT_ID=common
# For a specific organization tenant
TENANT_ID=00000000-0000-0000-0000-000000000000
The server stores authentication tokens in tokens.json. It looks in three places, in order:
MSTODO_TOKEN_FILE, if set~/.config/microsoft-todo-mcp/tokens.json, or %APPDATA%\microsoft-todo-mcp\tokens.json on Windowstokens.json in the working directory, which is migrated to whichever of (1) or (2) is in effect on first read# Override the location
export MSTODO_TOKEN_FILE=/path/to/custom/tokens.json
You can also supply tokens directly, which takes precedence over the file:
export MS_TODO_ACCESS_TOKEN=your_access_token
export MS_TODO_REFRESH_TOKEN=your_refresh_token
These two are a starting point, not a live store — nothing rewrites your environment when a token is renewed. A renewal is kept for the rest of the session and written to the token file. On later launches the server uses that token file instead, as long as the environment still holds the same pair it was renewed from; set a new pair, for example after signing in again, and it starts over from that.
How the expiry is known depends on your account type. Work and school accounts get a JWT access token, so the server reads the real deadline from it and renews 5 minutes early. Personal accounts get an opaque token, where there is nothing to read and the server assumes an hour from when it first saw the value. Either way renewal needs CLIENT_ID and CLIENT_SECRET; without them the server cannot refresh, and calls start failing once the supplied token runs out.
Sign-in runs from a clone of this repository, with the .env file from Configuration in its root:
git clone https://github.com/jordanburke/microsoft-todo-mcp-server.git
cd microsoft-todo-mcp-server
pnpm install
pnpm run build
pnpm run auth
Open http://localhost:3000 and sign in. Microsoft sends you back to /callback, and the server writes tokens.json in the repository root. Stop it with Ctrl+C when the page says authentication succeeded.
tokens.json holds your refresh token and your client secret, so keep it private:
# macOS and Linux
mkdir -p ~/.config/microsoft-todo-mcp
mv tokens.json ~/.config/microsoft-todo-mcp/tokens.json
chmod 600 ~/.config/microsoft-todo-mcp/tokens.json
On Windows, move it to %APPDATA%\microsoft-todo-mcp\tokens.json. To keep it elsewhere, set MSTODO_TOKEN_FILE to its path in the next step.
The server finds the token file itself and renews tokens with the client credentials stored in it, so the config needs no secrets.
Claude Code:
claude mcp add -s user microsoft-todo -- npx -y microsoft-todo-mcp-server
# Token file somewhere else:
claude mcp add -s user microsoft-todo -e MSTODO_TOKEN_FILE=/path/to/tokens.json -- npx -y microsoft-todo-mcp-server
-s user makes it available in every project; without it, Claude Code adds it only to the folder you ran the command in.
Claude Desktop: add this to its config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"microsoftTodo": {
"command": "npx",
"args": ["--yes", "microsoft-todo-mcp-server"]
}
}
}
Add "env": { "MSTODO_TOKEN_FILE": "/path/to/tokens.json" } if the file is not in the default location.
Cursor: add the same mcpServers entry to ~/.cursor/mcp.json.
About mstodo-config: pnpm run create-config (or mstodo-config) writes an mcp.json with the entry above, plus MSTODO_TOKEN_FILE set to the token file's absolute path. It copies no tokens into the config. It warns if the token file lacks