Skip to main content
Glama
Todoist MCP Server

Todoist MCP Server

by Chrusic

Todoist MCP 服务器扩展

铁匠徽章

一个 MCP(模型上下文协议)服务器实现,它将 Claude(或者任何兼容 MCP 的 LLM,如果您够精通)与 Todoist 集成,从而支持通过 MCP 工具进行自然语言任务管理。此服务器中的工具允许 Claude 使用日常语言与您的 Todoist 任务、项目、版块和标签进行交互,同时还针对 LLM 工作流程效率进行了优化。

功能概述

  • 任务管理:使用日常语言创建、更新、完成和删除任务

  • 标签管理:创建、更新和管理个人标签和任务标签

  • 项目管理:创建、更新和管理 Todoist 项目

  • 部分组织:创建和管理项目内的部分

  • 智能搜索:使用部分名称匹配查找任务和标签

  • 灵活过滤:按项目、部分、截止日期、优先级和标签过滤任务

  • 丰富的任务详情:支持描述、截止日期、优先级和项目/部分分配

  • 批量操作:工具内置批量操作支持和自定义参数,以便高效使用 LLM 工作流程

有关可用工具及其用法的完整列表,请参阅tools.md 。

Related MCP server: Todoist MCP Server Extended

快速安装指南

假设您已经安装了 npm。

您可以在“操作指南”中找到更全面的安装指南。

通过 Smithery 安装

要通过Smithery安装适用于 Claude Desktop 的 Todoist MCP Server Extended:

  1. 在 cmd\pwsh 中运行以下命令:

    npx -y @smithery/cli install @Chrusic/todoist-mcp-server-extended --client claude

通过将最后一个参数更改为--client cline或--client windsurf ,还可以与 cline 或 windsurf 兼容

通过 npm 安装

  1. 在 cmd\pwsh 中运行以下命令:

    npm install -g @chrusic/todoist-mcp-server-extended

设置

获取 Todoist API 令牌

  1. 登录您的Todoist 帐户

  2. 导航至Settings → Integrations

  3. 在Developer下找到您的 API 令牌

  4. 按下Copy API Token

有关 Todoist API 的更多信息,请访问官方 Todoist API 文档。

添加 MCP 服务器和 API 令牌 Claude 桌面客户端

  1. 在您的claude_desktop_config.json文件中,将以下 json 代码片段粘贴到"mcpServers":{ }:

    "todoist": {
      "command": "npx",
      "args": ["-y", "@chrusic/todoist-mcp-server-extended"],
      "env": {
          "TODOIST_API_TOKEN": "PASTE-YOUR-API-TOKEN-HERE"
      }
    }
  2. 当所有东西放在一起时,它看起来应该是这样的:

    {
    "mcpServers": {
        "todoist": {
        "command": "npx",
        "args": ["-y", "@chrusic/todoist-mcp-server-extended"],
        "env": {
            "TODOIST_API_TOKEN": "PASTE-YOUR-API-TOKEN-HERE"
        }
        }
    }
    }
  3. 然后,Claude Desktop 客户端将启动 MCP 服务器并在下次客户端(重新)启动时加载工具。

示例用法

以下是一些关于如何向 Claude 提问的简单建议。注意,有时你必须非常直接地让 Claude 使用这些工具:

  • “使用 MCP 工具:todoist_get_tasks,列出我当天的所有任务。”

  • 在项目‘工作’部分‘待办事项’中创建任务‘审核 PR’

  • “为任务‘审核 PR’添加‘重要’标签”

  • “显示项目‘工作’中所有带有‘重要’标签的任务”

  • “将任务‘文档’移至‘进行中’部分”

  • “将文档任务标记为完成”

  • “我要去城里购物,请给我一些我今天可以做的列出任务的建议。”

  • 将任务 X 分解为更小的子任务并添加截止日期 x、y、z。

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

问题与支持

如果您遇到任何问题或需要支持,请在GitHub 存储库上提交问题。

Available Tools

19 tools
todoist_complete_taskC

Mark one or more tasks as complete in Todoist

Inputs: tasks, task_id, task_name.

todoist_create_personal_labelC

Create one or more personal labels in Todoist

Inputs: labels, name, color, order, +1 more.

todoist_create_projectC

Create one or more projects with support for nested hierarchies

Inputs: projects, name, parent_id, color, +2 more.

todoist_create_project_sectionC

Create one or more sections in Todoist projects

Inputs: sections, project_id, name, order.

todoist_create_taskC

Create one or more tasks in Todoist with full parameter support

Inputs: tasks, content, description, project_id, +14 more.

todoist_delete_personal_labelC

Delete a personal label from Todoist

Inputs: label_id (required).

todoist_delete_taskC

Delete one or more tasks from Todoist

Inputs: tasks, task_id, task_name.

todoist_get_personal_labelB

Get a personal label by ID

Inputs: label_id (required).

todoist_get_personal_labelsB

Get all personal labels from Todoist

Inputs: no named parameters.

todoist_get_projectsC

Get projects with optional filtering and hierarchy information

Inputs: project_ids, include_sections, include_hierarchy.

todoist_get_project_sectionsC

Get sections from one or more projects in Todoist

Inputs: projects, project_id, project_name, include_empty.

todoist_get_shared_labelsC

Get all shared labels from Todoist

Inputs: omit_personal.

todoist_get_tasksC

Get a list of tasks from Todoist with various filters - handles both single and batch retrieval

Inputs: project_id, section_id, label, filter, +4 more.

todoist_remove_shared_labelsC

Remove one or more shared labels from Todoist tasks

Inputs: labels, name.

todoist_rename_shared_labelsC

Rename one or more shared labels in Todoist

Inputs: labels, name, new_name.

todoist_update_personal_labelC

Update one or more existing personal labels in Todoist

Inputs: labels, label_id, label_name, name, +3 more.

todoist_update_projectC

Update one or more projects in Todoist

Inputs: projects, project_id, name, color, +2 more.

todoist_update_taskC

Update one or more tasks in Todoist with full parameter support

Inputs: tasks, task_id, task_name, content, +14 more.

todoist_update_task_labelsC

Update the labels of one or more tasks in Todoist

Inputs: tasks, task_id, task_name, labels.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 19 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific resources and actions, but there is some overlap between todoist_update_task and todoist_update_task_labels, which could cause confusion as both modify tasks. The descriptions clarify that one handles general updates while the other focuses on labels, but the boundaries are not entirely clear.

    Naming Consistency5/5

    All tool names follow a consistent pattern: 'todoist_' prefix, a verb (e.g., create, get, update, delete), and a noun (e.g., task, project, label). This uniformity makes the set predictable and easy to navigate, with no deviations in style or structure.

    Tool Count4/5

    With 19 tools, the count is slightly high but reasonable for a comprehensive Todoist integration covering tasks, projects, labels, and sections. It includes CRUD operations for each resource, which justifies the number, though it might feel a bit heavy for simpler use cases.

    Completeness5/5

    The tool set provides complete CRUD and lifecycle coverage for the Todoist domain, including tasks, projects, personal labels, shared labels, and sections. There are no obvious gaps; agents can perform all essential operations without dead ends, from creation to deletion and updates.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers