Skip to main content
Glama

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個)

タスク

ツール

説明

todoist_get_tasks

タスクのリスト表示/フィルタリング — "today", "overdue", "p1", "#ProjectName", "7 days" といったTodoistのフィルタ文字列をサポート

todoist_get_task

IDで単一のタスクを取得

todoist_create_task

自然言語の期限("tomorrow", "every monday" など)でタスクを作成

todoist_update_task

フィールドを更新 — clear_due_date: true を渡すと期限を削除

todoist_complete_task

タスクを完了にする

todoist_reopen_task

完了したタスクを再開する

todoist_delete_task

タスクを完全に削除

プロジェクト

ツール

説明

todoist_get_projects

すべてのプロジェクトをリスト表示

todoist_get_project

IDで単一のプロジェクトを取得

todoist_create_project

プロジェクトを作成(色、表示スタイル、親プロジェクト指定可)

todoist_update_project

プロジェクトを更新

todoist_delete_project

プロジェクトとそのすべてのタスクを完全に削除

セクション

ツール

説明

todoist_get_sections

プロジェクト内のセクションをリスト表示

todoist_create_section

セクションを作成

todoist_update_section

セクション名を変更

todoist_delete_section

セクションを削除

ラベル

ツール

説明

todoist_get_labels

すべての個人用ラベルをリスト表示

todoist_create_label

ラベルを作成

todoist_update_label

ラベルを更新

todoist_delete_label

ラベルを削除

コメント

ツール

説明

todoist_get_comments

タスクまたはプロジェクトのコメントをリスト表示(ページネーション対応)

todoist_get_comment

IDで単一のコメントを取得

todoist_create_comment

タスクまたはプロジェクトにコメントを追加(Markdown対応)

todoist_update_comment

既存のコメントの内容を編集

todoist_delete_comment

コメントを完全に削除

完了したタスク(Pro)

ツール

説明

todoist_get_completed_tasks

完了日(3ヶ月以内)または期限(6週間以内)で完了タスクをクエリ。Pro限定。

リマインダー(Pro)

ツール

説明

todoist_get_reminders

リマインダーをリスト表示(task_idでフィルタリング可能)。Pro限定。

todoist_get_reminder

IDで単一のリマインダーを取得。Pro限定。

todoist_create_reminder

相対的(期限の minute_offset 前)または絶対的なリマインダーを作成。Pro限定。

todoist_update_reminder

リマインダーのタイミングや通知サービスを更新。Pro限定。

todoist_delete_reminder

リマインダーを完全に削除。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 build

3. 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の完全な自然言語フィルタ構文をサポートしています:

フィルタ

意味

today

今日の期限

overdue

期限切れ

7 days

今後7日以内の期限

p1

緊急の優先度

#ProjectName

特定のプロジェクト内のタスク

@labelname

特定のラベルが付いたタスク

no due date

期限のないタスク

`today

overdue`

今日または期限切れ(`

` で結合)

today & @waiting

今日かつ '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 test

APIトークンは Todoist → 設定 → 連携機能 → 開発者 にあります。これは claude_desktop_config.json に入力したものと同じトークンです。

貢献

プルリクエストを歓迎します。目標は、Todoist API v1の最新状態を維持する、最小限で正確な実装です。優先事項:

  1. 巧妙さよりも正確さ

  2. 寛容な出力処理(未知のAPIフィールドを拒否しない)

  3. 何が問題でどう修正すべきかを伝える役立つエラーメッセージ

ライセンス

MIT

Available Tools

20 tools
todoist_complete_taskComplete Todoist TaskA
Idempotent

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 LabelA
Destructive

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 ProjectA
Destructive

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 SectionA
Destructive

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 TaskA
Destructive

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 LabelsA
Read-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 ProjectA
Read-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 ProjectsA
Read-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 SectionsA
Read-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 TaskA
Read-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 TasksA
Read-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 TaskA
Idempotent

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 LabelA
Idempotent

Update an existing Todoist label. Only include fields to change.

Inputs: label_id (required), name, color, order, +1 more.

todoist_update_projectUpdate Todoist ProjectA
Idempotent

Update an existing Todoist project. Only include fields to change.

Inputs: project_id (required), name, color, is_favorite, +1 more.

todoist_update_sectionUpdate Todoist SectionB
Idempotent

Rename an existing Todoist section.

Inputs: section_id (required), name (required).

todoist_update_taskUpdate Todoist TaskA
Idempotent

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

    A4.2/5.0

    Scored across 20 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    Related MCP Servers