todoist-v1-mcp-server
todoist-v1-mcp-server
Todoist unified API v1に基づいて構築された、クリーンで信頼性の高いTodoist用MCP(Model Context Protocol)サーバーです。
なぜこれが必要なのか
公式のTodoist web MCP (todoist-ai) には、Anthropic側で毎日再接続が必要になるという既知の永続的な切断バグがあります。コミュニティによる代替案は、非推奨となったREST API v2に基づいているか、TodoistのAPI進化に伴って追加されるフィールドによってスキーマ検証エラーが発生するバグを抱えています。
このサーバーの特徴:
現在のTodoist API v1をターゲットとしています(非推奨のv2ではありません)
stdioトランスポートを使用 — クラウド依存関係がなく、毎日の再接続も不要です
最新のMCP SDK
registerTool()APIを使用(非推奨のsetRequestHandlerパターンではありません)APIレスポンスに対して厳格な出力スキーマを強制しません — Todoistが新しいフィールドを追加しても、何も壊れることはありません
SDKラッパーへの依存ゼロ — axiosを介した直接的なHTTP呼び出しを行うため、APIから乖離する中間ライブラリが存在しません
Related MCP server: MCP Todoist
ツール(合計31個)
タスク
ツール | 説明 |
| タスクのリスト表示/フィルタリング — |
| IDで単一のタスクを取得 |
| 自然言語の期限( |
| フィールドを更新 — |
| タスクを完了にする |
| 完了したタスクを再開する |
| タスクを完全に削除 |
プロジェクト
ツール | 説明 |
| すべてのプロジェクトをリスト表示 |
| IDで単一のプロジェクトを取得 |
| プロジェクトを作成(色、表示スタイル、親プロジェクト指定可) |
| プロジェクトを更新 |
| プロジェクトとそのすべてのタスクを完全に削除 |
セクション
ツール | 説明 |
| プロジェクト内のセクションをリスト表示 |
| セクションを作成 |
| セクション名を変更 |
| セクションを削除 |
ラベル
ツール | 説明 |
| すべての個人用ラベルをリスト表示 |
| ラベルを作成 |
| ラベルを更新 |
| ラベルを削除 |
コメント
ツール | 説明 |
| タスクまたはプロジェクトのコメントをリスト表示(ページネーション対応) |
| IDで単一のコメントを取得 |
| タスクまたはプロジェクトにコメントを追加(Markdown対応) |
| 既存のコメントの内容を編集 |
| コメントを完全に削除 |
完了したタスク(Pro)
ツール | 説明 |
| 完了日(3ヶ月以内)または期限(6週間以内)で完了タスクをクエリ。Pro限定。 |
リマインダー(Pro)
ツール | 説明 |
| リマインダーをリスト表示( |
| IDで単一のリマインダーを取得。Pro限定。 |
| 相対的(期限の |
| リマインダーのタイミングや通知サービスを更新。Pro限定。 |
| リマインダーを完全に削除。Pro限定。 |
Proプランの扱い: リマインダーおよび完了タスクのクエリにはTodoist Proサブスクリプションが必要です。APIがPro制限エラー(HTTP 402、または
premium/pro/upgrade/paid/subscriptionキーワードを含む403)を返した場合、サーバーは生のAPIエラーを漏らす代わりに、その機能にはProが必要であることを説明するクリーンなメッセージを返します。
セットアップ
1. Todoist APIトークンの取得
Todoist → 設定 → 連携機能 → 開発者 に移動し、APIトークンをコピーします。
2. インストールとビルド
git clone https://github.com/christulino/todoist-v1-mcp-server
cd todoist-v1-mcp-server
npm install
npm run build3. Claude Desktopの設定
~/Library/Application Support/Claude/claude_desktop_config.json を編集します:
{
"mcpServers": {
"todoist": {
"command": "node",
"args": ["/absolute/path/to/todoist-v1-mcp-server/dist/index.js"],
"env": {
"TODOIST_API_TOKEN": "your_api_token_here"
}
}
}
}Claude Desktopを再起動します。接続されたMCPサーバーに「todoist」が表示されるはずです。
4. Claude Codeの設定(オプション)
claude mcp add todoist -- node /absolute/path/to/todoist-v1-mcp-server/dist/index.js次に環境変数を設定します:
export TODOIST_API_TOKEN=your_api_token_hereまたは、シェルプロファイルに追加してください。
使用例
接続後、Claudeは以下のような自然言語を処理できます:
"What's on my plate today?" →
filter: "today"を指定してtodoist_get_tasksを使用"Add a task to call the dentist next Tuesday" →
todoist_create_taskを使用"Mark the dentist task as done" →
todoist_complete_taskを使用"Show me everything overdue" →
filter: "overdue"を指定してtodoist_get_tasksを使用"Create a project called Home Renovation" →
todoist_create_projectを使用"What projects do I have?" →
todoist_get_projectsを使用
Todoistフィルタ構文
todoist_get_tasks の filter パラメータは、Todoistの完全な自然言語フィルタ構文をサポートしています:
フィルタ | 意味 | ||
| 今日の期限 | ||
| 期限切れ | ||
| 今後7日以内の期限 | ||
| 緊急の優先度 | ||
| 特定のプロジェクト内のタスク | ||
| 特定のラベルが付いたタスク | ||
| 期限のないタスク | ||
`today | overdue` | 今日または期限切れ(` | ` で結合) |
| 今日かつ 'waiting' ラベルが付いたタスク |
フィルタの完全なドキュメント: https://todoist.com/help/articles/introduction-to-filters
要件
Node.js 18以上
Todoistアカウント(無料プランでも動作)
開発
npm run dev # tsx watch mode with auto-reload
npm run build # compile TypeScript
npm start # run compiled serverテスト
テストスイートはライブのTodoist APIにアクセスし、タスク、プロジェクト、セクション、ラベル、コメント、リマインダーにわたる完全なCRUDサイクルを実行します。さらに、完了タスククエリの読み取り専用スモークテストも行います。リマインダーと完了タスクのテストは、Proプランの制限(HTTP 402/403)を検出し、アカウントが無料プランの場合はクリーンに報告します。すべてのテストデータには [mcp-test] というプレフィックスが付き、自動的にクリーンアップされます。
TODOIST_API_TOKEN=your_token npm testAPIトークンは Todoist → 設定 → 連携機能 → 開発者 にあります。これは claude_desktop_config.json に入力したものと同じトークンです。
貢献
プルリクエストを歓迎します。目標は、Todoist API v1の最新状態を維持する、最小限で正確な実装です。優先事項:
巧妙さよりも正確さ
寛容な出力処理(未知のAPIフィールドを拒否しない)
何が問題でどう修正すべきかを伝える役立つエラーメッセージ
ライセンス
MIT
Available Tools
20 toolstodoist_complete_taskComplete Todoist TaskAIdempotent
Mark a Todoist task as completed (close it).
This is the standard way to check off a task. For recurring tasks, this advances to the next occurrence rather than permanently removing it.
Use todoist_delete_task to permanently remove a task instead.
Inputs: task_id (required).
todoist_create_labelCreate Todoist LabelA
Create a new personal label in Todoist.
Returns the created label's ID and name. Use the label name (not ID) when assigning labels to tasks with todoist_create_task or todoist_update_task.
Inputs: name (required), color, order, is_favorite.
todoist_create_projectCreate Todoist ProjectA
Create a new project in Todoist.
Color options: berry_red, red, orange, yellow, olive_green, lime_green, green, mint_green, teal, sky_blue, light_blue, blue, grape, violet, lavender, magenta, salmon, charcoal, grey, taupe.
Returns the full created project object including its assigned ID.
Inputs: name (required), parent_id, color, is_favorite, +1 more.
todoist_create_sectionCreate Todoist SectionA
Create a new section within a Todoist project.
Returns the created section's ID and details. Use the section ID when creating tasks (todoist_create_task) to add them directly to this section.
Inputs: name (required), project_id (required), order.
todoist_create_taskCreate Todoist TaskA
Create a new task in Todoist.
The due_string field supports natural language: "tomorrow", "every monday",
"Feb 20", "next week", "in 3 hours", etc.
Priority levels: 1=normal (default), 2=medium, 3=high, 4=urgent.
Returns the full created task object including its assigned ID.
Inputs: content (required), description, project_id, section_id, +6 more.
todoist_delete_labelDelete Todoist LabelADestructive
Permanently delete a personal Todoist label.
The label will be removed from all tasks that currently use it. This cannot be undone.
Inputs: label_id (required).
todoist_delete_projectDelete Todoist ProjectADestructive
Permanently delete a Todoist project and all its tasks. This cannot be undone.
WARNING: All tasks within the project will also be deleted.
Inputs: project_id (required).
todoist_delete_sectionDelete Todoist SectionADestructive
Permanently delete a Todoist section.
Tasks within the section are NOT deleted — they are moved to the parent project (unsectioned). The section itself is permanently removed and cannot be undone.
Inputs: section_id (required).
todoist_delete_taskDelete Todoist TaskADestructive
Permanently delete a Todoist task. This action cannot be undone.
For recurring tasks or tasks you just want to mark as done, use todoist_complete_task instead.
Inputs: task_id (required).
todoist_get_labelsGet Todoist LabelsARead-onlyIdempotent
List all personal labels in the user's Todoist account.
Returns label IDs, names, colors, and sort order. Use label names (not IDs) when creating or updating tasks.
Inputs: response_format.
todoist_get_projectGet Todoist ProjectARead-onlyIdempotent
Retrieve a single Todoist project by its ID.
Returns full project details including name, color, parent project, comment count, sharing status, and view style.
Inputs: project_id (required), response_format.
todoist_get_projectsGet Todoist ProjectsARead-onlyIdempotent
List all projects in the user's Todoist account.
Returns project IDs, names, colors, hierarchy (parent_id for sub-projects), and metadata like whether each project is a favorite or shared.
Use project IDs with todoist_get_tasks to fetch tasks for a specific project.
Inputs: response_format.
todoist_get_sectionsGet Todoist SectionsARead-onlyIdempotent
List all sections within a Todoist project.
Sections are used to organize tasks within a project into groups. Returns section IDs, names, and sort order.
Use section IDs with todoist_get_tasks (section_id param) or todoist_create_task (section_id param) to work with tasks in specific sections.
Inputs: project_id (required), response_format.
todoist_get_taskGet Todoist TaskARead-onlyIdempotent
Retrieve a single Todoist task by its ID.
Returns full task details: content, description, due date, priority, labels, project/section IDs, comment count, and creation timestamp.
Inputs: task_id (required), response_format.
todoist_get_tasksGet Todoist TasksARead-onlyIdempotent
List and filter tasks from Todoist.
Use the filter parameter for powerful natural-language Todoist filters:
"today" → tasks due today
"overdue" → past-due tasks
"7 days" → due in the next 7 days
"p1" → priority 1 (urgent)
"#Work" → tasks in project named Work
"@waiting" → tasks with label 'waiting'
"no due date" → tasks with no due date
Combine with & (AND), | (OR): "today | overdue"
Alternatively, filter by project_id, section_id, or label directly.
Returns task IDs, content, due dates, priorities, labels, and project/section IDs.
Inputs: filter, project_id, section_id, label, +3 more.
todoist_reopen_taskReopen Todoist TaskAIdempotent
Reopen (uncomplete) a previously completed Todoist task.
Useful for tasks that were marked done by mistake or need to be revisited.
Inputs: task_id (required).
todoist_update_labelUpdate Todoist LabelAIdempotent
Update an existing Todoist label. Only include fields to change.
Inputs: label_id (required), name, color, order, +1 more.
todoist_update_projectUpdate Todoist ProjectAIdempotent
Update an existing Todoist project. Only include fields to change.
Inputs: project_id (required), name, color, is_favorite, +1 more.
todoist_update_sectionUpdate Todoist SectionBIdempotent
Rename an existing Todoist section.
Inputs: section_id (required), name (required).
todoist_update_taskUpdate Todoist TaskAIdempotent
Update an existing Todoist task.
Only include the fields you want to change — all fields are optional. To clear a due date, pass clear_due_date: true (sends due_string: "no date" — empty string is silently ignored and due: null returns 400). To remove all labels, pass labels as an empty array [].
Priority: 1=normal, 2=medium, 3=high, 4=urgent.
Inputs: task_id (required), content, description, clear_due_date, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool has a clearly distinct purpose targeting specific resources (tasks, projects, labels, sections) and actions (create, get, update, delete, complete, reopen). Descriptions explicitly differentiate similar tools (e.g., todoist_complete_task vs. todoist_delete_task), eliminating ambiguity.
All tool names follow a consistent verb_noun pattern with the prefix 'todoist_' (e.g., todoist_create_task, todoist_get_labels). The naming is uniform across all 20 tools, using snake_case and clear action verbs aligned with CRUD operations.
With 20 tools, the server provides comprehensive coverage for Todoist's domain, including tasks, projects, labels, and sections. Each tool serves a distinct, necessary function, and the count is well-scoped for managing a task management system without being excessive.
The tool set offers complete CRUD/lifecycle coverage for all core resources (tasks, projects, labels, sections), including specialized actions like complete, reopen, and filtering. There are no obvious gaps; agents can perform all essential operations without dead ends.
Related MCP Connectors
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Headless task management for bots, apps and AI agents. Remote MCP server, OAuth or access token.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that enables advanced task and project management in Todoist via Claude Desktop and other MCP-compatible clients.276 npm2MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server implementation compatible with Todoist API, allowing AI agents to interact with task management functionality through standardized MCP tools.51MIT
- AlicenseAqualityFmaintenanceMCP Server to create and manage tasks, projects, labels and more in Todoist, using their unified v1 API718 npm7GPL 3.0
- AlicenseAqualityDmaintenanceA Python MCP server that enables AI assistants to manage Todoist tasks and projects through the Model Context Protocol. It supports full CRUD operations for tasks and projects, including support for nested projects and Todoist's advanced filter syntax.11MIT