Microsoft Todo MCP Service
Microsoft To Do MCP
この MCP (モデル コンテキスト プロトコル) サービスを使用すると、AI アシスタントを使用して Microsoft To Do タスクを操作できます。
セットアップ手順
1. 前提条件
Node.js 16以上
npm
Microsoftアカウント
Azure アプリ登録 (以下のセットアップを参照)
2. インストール
このツールのインストールは 2 つの部分から構成されます。
パッケージのインストール
認証の設定(リポジトリのクローン作成が必要)
ステップ1: パッケージをインストールする
npm install -g @jhirono/todomcpステップ2: 認証を設定する
パッケージをグローバルにインストールする場合でも、認証プロセスを完了するにはリポジトリをクローンする必要があります。
git clone https://github.com/jhirono/todoMCP.git
cd todoMCP
npm install3. Azure アプリの登録
Azureポータルへアクセス
「アプリ登録」に移動して新しい登録を作成します
アプリケーションに名前を付けます(例:「To Do MCP」)
「サポートされているアカウントの種類」では、ニーズに応じて次のいずれかを選択します。
この組織ディレクトリ内のアカウントのみ(単一テナント) - 単一組織内で使用
任意の組織ディレクトリ内のアカウント (任意の Azure AD ディレクトリ - マルチテナント) - 複数の組織で使用可能
組織のディレクトリ内のアカウントと個人の Microsoft アカウント- 仕事用アカウントと個人用アカウントの両方
リダイレクトURIを
http://localhost:3000/callbackに設定するアプリを作成したら、「証明書とシークレット」に移動して新しいクライアントシークレットを作成します。
「API 権限」に移動して、次の権限を追加します。
Microsoft Graph > 委任されたアクセス許可:
タスク.読み取り
タスク.読み取り/書き込み
ユーザー.読み取り
これらの権限に対して「管理者の同意を与える」をクリックします
4. 構成
ルート ディレクトリに次の情報を含む.envファイルを作成します。
CLIENT_ID=your_client_id
CLIENT_SECRET=your_client_secret
TENANT_ID=your_tenant_setting
REDIRECT_URI=http://localhost:3000/callbackTENANT_ID オプション:
organizations- マルチテナント組織アカウントの場合(指定されていない場合はデフォルト)consumers- 個人の Microsoft アカウントのみcommon- 組織アカウントと個人アカウントの両方your-specific-tenant-id- シングルテナント構成の場合
例:
# 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-000000000000Related MCP server: Todoist Python MCP Server
使用法
完全なワークフロー
トークンを取得するには認証が必要です(クローンしたリポジトリから行う必要があります)
npm run authこれにより、Microsoft で認証し、
tokens.jsonファイルを作成するためのブラウザ ウィンドウが開きます。MCP 構成ファイルを作成する(クローンしたリポジトリから実行する必要があります)
npm run create-configこれにより、認証トークンを含む
mcp.jsonファイルが作成されます。グローバルMCP構成を設定する
# Copy the mcp.json file to your global Cursor configuration directory cp mcp.json ~/.cursor/mcp-servers.jsonこれにより、Microsoft To Do MCP をすべてのカーソル プロジェクトで使用できるようになります。
AIアシスタントを使い始める
カーソルでは、Microsoft To Do コマンドを任意のプロジェクトで直接使用できるようになりました。
開始するには、
auth statusやlist up todosなどのコマンドを試してください。
Claude Desktop の構成ファイルは次の場所にあります。
macOS :
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows :
%APPDATA%\Claude\claude_desktop_config.jsonLinux :
~/.config/Claude/claude_desktop_config.json
利用可能なツール
auth-status: 認証ステータスを確認するget-task-lists: すべてのToDoタスクリストを取得するcreate-task-list: 新しいタスクリストを作成するupdate-task-list: 既存のタスクリストを更新するdelete-task-list: タスクリストを削除するget-tasks: リスト内のすべてのタスクを取得するcreate-task: 新しいタスクを作成するupdate-task: 既存のタスクを更新するdelete-task: タスクを削除するget-checklist-items: タスクのチェックリスト項目を取得するcreate-checklist-item: チェックリスト項目を作成するupdate-checklist-item: チェックリスト項目を更新するdelete-checklist-item: チェックリスト項目を削除する
制限事項
APIには適切な認証と権限が必要です
Microsoft のポリシーに従ってレート制限が適用される場合があります
トラブルシューティング
認証の問題
「MailboxNotEnabledForRESTAPI」エラー: これは通常、個人用の Microsoft アカウントを使用していることを意味します。Microsoft To Do API へのアクセスは、Graph API を介した個人アカウントに制限されています。
トークン取得の失敗:
.envファイル内のCLIENT_ID、CLIENT_SECRET、およびTENANT_IDが正しいことを確認してください。アクセス許可の問題: Azure アプリの登録で必要なアクセス許可に対して管理者の同意が付与されていることを確認してください。
アカウントの種類に関する問題
職場/学校アカウント: 通常、To Do API との連携に最適です。TENANT_ID
TENANT_ID=organizationsまたは特定のテナント ID を使用してください。個人アカウント:To Do APIへのアクセスが制限されています。個人アカウントをご利用になる場合は、
TENANT_ID=consumersまたはTENANT_ID=commonをお試しください。
認証ステータスの確認
認証ステータスはauth-statusツールを使用するか、トークンの有効期限を調べることで確認できます。
cat tokens.json | grep expiresAtタイムスタンプを読み取り可能な日付に変換するには:
date -r $(echo "$(cat tokens.json | grep expiresAt | cut -d ":" -f2 | cut -d "," -f1) / 1000" | bc)Available Tools
13 toolsauth-statusA
Check if you're authenticated with Microsoft Graph API. Shows current token status and expiration time, and indicates if the token needs to be refreshed.
Inputs: no named parameters.
create-checklist-itemA
Create a new checklist item (subtask) for a task. Checklist items help break down a task into smaller, manageable steps.
Inputs: listId (required), taskId (required), displayName (required), isChecked.
create-taskA
Create a new task in a specific Microsoft Todo list. A task is the main todo item that can have a title, description, due date, and other properties.
Inputs: listId (required), title (required), body, dueDateTime, +6 more.
create-task-listA
Create a new task list (top-level container) in Microsoft Todo to help organize your tasks into categories or projects.
Inputs: displayName (required).
delete-checklist-itemA
Delete a checklist item (subtask) from a task. This removes just the specific subtask, not the parent task.
Inputs: listId (required), taskId (required), checklistItemId (required).
delete-taskA
Delete a task from a Microsoft Todo list. This will remove the task and all its checklist items (subtasks).
Inputs: listId (required), taskId (required).
delete-task-listA
Delete a task list (top-level container) from Microsoft Todo. This will remove the list and all tasks within it.
Inputs: listId (required).
get-checklist-itemsA
Get checklist items (subtasks) for a specific task. Checklist items are smaller steps or components that belong to a parent task.
Inputs: listId (required), taskId (required).
get-task-listsA
Get all Microsoft Todo task lists (the top-level containers that organize your tasks). Shows list names, IDs, and indicates default or shared lists.
Inputs: no named parameters.
get-tasksB
Get tasks from a specific Microsoft Todo list. These are the main todo items that can contain checklist items (subtasks).
Inputs: listId (required), filter, select, orderby, +3 more.
update-checklist-itemA
Update an existing checklist item (subtask). Allows changing the text content or completion status of the subtask.
Inputs: listId (required), taskId (required), checklistItemId (required), displayName, +1 more.
update-taskB
Update an existing task in Microsoft Todo. Allows changing any properties of the task including title, due date, importance, etc.
Inputs: listId (required), taskId (required), title, body, +7 more.
update-task-listA
Update the name of an existing task list (top-level container) in Microsoft Todo.
Inputs: listId (required), displayName (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool has a clearly distinct purpose with no ambiguity, as they are organized around specific resources (task lists, tasks, checklist items) and actions (create, get, update, delete). For example, create-task and create-checklist-item target different levels of the hierarchy, and operations like delete-task-list and delete-task are clearly separated by scope.
The tool names follow a highly consistent verb_noun pattern throughout, such as create-task, get-tasks, update-checklist-item, and delete-task-list. All tools use hyphen-separated lowercase names, making them predictable and easy to understand without any deviations in style.
With 13 tools, the count is well-scoped for managing Microsoft Todo, covering CRUD operations for task lists, tasks, and checklist items. Each tool earns its place by addressing specific needs in the domain, avoiding both redundancy and significant gaps.
The tool surface provides complete CRUD/lifecycle coverage for the Microsoft Todo domain, including authentication status, and operations on task lists, tasks, and checklist items. There are no obvious gaps or dead ends, enabling agents to handle all core workflows effectively.
Maintenance
Related MCP Connectors
Read and write your own Microsoft To Do, Google Tasks or Todoist tasks from any AI agent.
Manage Superlist tasks and lists in plain language from any MCP-compatible AI agent.
Simple, fast todo app: manage tasks, projects and tags from Claude and other MCP clients.
Create, list, and complete todo items through MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates with Notion's API to manage personal todo lists, allowing users to view, add, and update tasks directly from Claude.31MIT
- AlicenseAqualityDmaintenanceA Model Context Profile server that enables Claude to interact with Todoist, allowing users to create, retrieve, update, and manage tasks through natural language commands.62MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol server that bridges Claude with Google Tasks, allowing users to manage task lists and tasks directly through Claude interface.1551MIT
- AlicenseBqualityDmaintenanceProvides Todoist task management capabilities to AI assistants through the Model Context Protocol. Enables users to interact with their Todoist projects and tasks directly through Claude Desktop using natural language commands.33MIT