microsoft-365-todo-mcp
Use the Microsoft 365 To Do MCP tools (todo_*) to browse task lists, read tasks, and create, update, complete or delete tasks. Invoke whenever a task involves the user's Microsoft To Do reminders or task lists: it gives exact tool signatures, the two IDs every task operation needs, the dateTimeTimeZone shape for due dates, paging rules, the confirm-before-write flow, and how to interpret confirmed / confirmed_but_unreadable / rejected / indeterminate results.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 29
- Forks
- 156
01 前言 Front Matter
- name
- microsoft-365-todo-mcp
- description
- Use the Microsoft 365 To Do MCP tools (todo_*) to browse task lists, read tasks, and create, update, complete or delete tasks. Invoke whenever a task involves the user's Microsoft To Do reminders or task lists: it gives exact tool signatures, the two IDs every task operation needs, the dateTimeTimeZone shape for due dates, paging rules, the confirm-before-write flow, and how to interpret confirmed / confirmed_but_unreadable / rejected / indeterminate results.
03 SKILL.md 正文
Microsoft 365 To Do (MCP tools)
Connect to the To Do endpoint /todo/mcp. It exposes only todo_* tools — mail, calendar,
files, Teams and people lookups live behind separate endpoints.
Choosing a tool
| You want to… | Call |
|---|---|
| Check which account this endpoint is signed in as | todo_me |
| Find which task lists exist (and their ids) | todo_lists |
| See the tasks in a list | todo_list_tasks |
| Read one task in full | todo_get_task |
| Add a reminder / task | todo_create_task |
| Change title, body, due date, importance or status | todo_update_task |
| Tick a task off | todo_complete_task |
| Remove a task | todo_delete_task |
Tool signatures
| Tool | Notes |
|---|---|
todo_me() |
Signed-in user (id, display_name, mail, user_principal_name) and tenant_id for this endpoint's token. Other M365 endpoints have their own tokens and may be signed in as someone else. |
todo_lists(max_items=100, next_link?) |
Lists with id, displayName, wellknownListName. |
todo_list_tasks(list_id, max_items=100, next_link?) |
Tasks in one list. |
todo_get_task(list_id, task_id) |
One task. |
todo_create_task(list_id, title, body?, due_date_time?, importance?, status?, confirm=false) |
Creates only with confirm=true. |
todo_update_task(list_id, task_id, title?, body?, due_date_time?, importance?, status?, confirm=false) |
Patches only the fields you pass; at least one required. |
todo_complete_task(list_id, task_id, confirm=false) |
Sets status to completed. |
todo_delete_task(list_id, task_id, confirm=false) |
Deletes. |
Enumerations: importance ∈ low, normal, high. status ∈ notStarted, inProgress,
completed, waitingOnOthers, deferred.
Structured arguments:
due_date_time:{"date_time": "2026-09-03T00:00:00", "time_zone": "Europe/Madrid"}— both fields required,date_timeis a naive local timestamp (noZ, no offset). To Do due dates are date-only: the time of day is dropped and the task is due at local midnight of that date, so never promise the user a due time.body:{"content": "...", "content_type": "text"}— both fields required. To Do stores plain text:"html"is accepted but converted to text, so formatting is lost.
Responses use Graph's camelCase field names, not the snake_case of the arguments: lists have
displayName, wellknownListName, isOwner, isShared; tasks have title, status,
importance, dueDateTime.dateTime / dueDateTime.timeZone, body.contentType,
completedDateTime.
Discovering ids
Every task operation needs two ids and there is no "default list" shortcut:
todo_lists→ pick thelist_id(match ondisplayName; if several plausibly match, ask the user).todo_list_tasks(list_id)→ pick thetask_id.
Never guess or reuse an id across lists.
Reading and paging
- Lists return
{ "items": [...], "next": <cursor|null> }. For more, repeat the call withnext_linkset tonextverbatim and nothing else changed; never edit or build the URL. Onlynext: nullmeans the collection is exhausted — the last page can be empty withnext: nulleven though the page before it still had anext.max_itemsis 1–100 (default 100). - Filter client-side on what the tools return; there is no server-side search over tasks.
Writing: describe → approval → confirm
Every write takes confirm (default false).
- Call it without
confirm. Nothing is written; you get a barerejectedoutcome with aconfirmation_requirederror and no preview body. - Restate the change yourself — list name, title, due date with time zone, status — and get explicit user approval.
- Re-run the identical call with
confirm: true.
Read status on the result:
status |
Meaning | Do |
|---|---|---|
confirmed |
It happened. | Report success using body (contains the task id). |
confirmed_but_unreadable |
It happened; only the response was unreadable. | Treat as success. Do not retry. todo_list_tasks to recover the task. |
rejected |
Nothing happened (no confirm, or invalid request). |
error.error == "confirmation_required": it was a preview — get approval, retry with confirm: true. Any other error (invalid_request, a 4xx): fix the arguments and retry safely. |
indeterminate |
It may have happened (timeout / server error). | For create_task, do not retry — you would create a duplicate. todo_list_tasks first, then tell the user it is unverified. |
todo_update_task, todo_complete_task and todo_delete_task are idempotent enough to retry
once after you verify state; todo_create_task is not.
Best practices
- Built-in lists (those whose
wellknownListNameis notnone, e.g.flaggedEmails) have mutability limits. A write against them can fail with a hint to use a custom list — surface that hint to the user instead of retrying. - Completing a task is
todo_complete_task, nottodo_update_taskwith a status string; use the dedicated tool. - An empty patch (
update_taskwith no field) returnsrejected/invalid_request; there is no way to clear a field. - State the due date and the time zone you used back to the user (a date, not a time).
- Never paste the bearer token, and never quote raw Graph error bodies to the user.
Examples
// Find the list, then the task
todo_lists { }
// -> items: [{ "id": "AQMkAD...", "displayName": "Tasks", "wellknownListName": "defaultList" }]
todo_list_tasks { "list_id": "AQMkAD...", "max_items": 50 }
todo_list_tasks { "list_id": "AQMkAD...", "next_link": "https://graph.microsoft.com/v1.0/me/todo/lists/AQMkAD.../tasks?$skiptoken=..." }
// Add a task: describe, ask, confirm
todo_create_task {
"list_id": "AQMkAD...", "title": "Send Q3 review",
"due_date_time": { "date_time": "2026-09-03T00:00:00", "time_zone": "Europe/Madrid" },
"importance": "high"
}
// -> { "status": "rejected", ... confirmation_required } nothing was created
todo_create_task { /* identical arguments */ "confirm": true }
// Tick it off later
todo_complete_task { "list_id": "AQMkAD...", "task_id": "AAMkAG...", "confirm": true }
Not available — don't promise these
- Creating, renaming or deleting task lists (only tasks are writable).
- Recurrence, reminders, checklist steps, attachments, linked resources and categories.
- Searching or filtering tasks server-side; page and filter what you get.
- Shared or other users' task lists; only the signed-in user's To Do.
When something fails
- A tool is missing from
tools/list→ the user's token lacks its scope. Reads needTasks.Read(orTasks.ReadWrite); every write needsTasks.ReadWrite. Calling it anyway returnsinsufficient_scopewithrequired_scopes; report it rather than working around it. 401→ the token is missing or expired; ask the caller for a fresh one.- 429 /
retryable→ waitretry_after, and retry reads only. invalid_graph_url→ thenext_linkwas altered; restart from the first page.- Validation errors (missing
time_zone, empty patch, bad enum value) mean nothing was written; fix the arguments. - Ambiguity (two lists that could be "work") → ask the user before writing.
Golden path
- Check the tool is listed; if not, report the missing scope.
todo_lists→list_id;todo_list_tasks→task_id. Page withnext_linkverbatim.- Write without
confirm, restate the change (list, title, due date + zone), get approval. - Repeat the identical call with
confirm: true. confirmed→ done ·confirmed_but_unreadable→ done, no retry ·rejected→ nothing happened ·indeterminate→ list the tasks to verify, never blindly re-create.- Report the list, task id and due-date time zone you used.
04 同仓库更多 Skills
business-data
暂无简介
workflow
Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow sdk", "queue", "event", "push", "subscribe", or step-based orchestration.
workflow
Vercel Workflow SDK expert guidance. Use when building durable workflows, long-running tasks, API routes or agents that need pause/resume, retries, step-based execution, or crash-safe orchestration with Vercel Workflow.
verification
Full-story verification — infers what the user is building, then verifies the complete flow end-to-end: browser → API → data → response. Triggers on dev server start and 'why isn't this working' signals.
vercel-storage
Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.
vercel-services
Configure and troubleshoot Vercel Services for multiple frontends and backends in one project. Use when composing a polyglot or multi-service application on one Vercel deployment; defining the `services` key, service-targeted rewrites, or service bindings in `vercel.json`; or running all services with `vercel dev`.