Todoist Extended 标志

Todoist Extended

社区
vitalio-sh

An extended version of the MCP server for Todoist integration that enables natural-language task management through Claude.

发布者vitalio-sh
代码仓库todoist-mcp-server-ext
语言JavaScript
复刻数
2
星标数
6
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Todoist Extended 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 6 个星标和 2 个复刻。

Enhanced Todoist MCP Server Extended

smithery badge

Extended Version - Forked and enhanced by kydycode from the original @abhiz123/todoist-mcp-server

A comprehensive MCP (Model Context Protocol) server implementation that provides full integration between Claude and Todoist. This extended version includes additional features, improved compatibility, and enhanced functionality using the complete Todoist API with the latest MCP SDK (@doist/todoist-api-typescript@4.0.4). Completed tasks retrieval uses the Todoist REST API v1.

🆕 Extended Version Features

🔧 Technical Improvements

  • Updated Todoist SDK: Now using @doist/todoist-api-typescript@4.0.4.
  • Updated MCP SDK Compatibility: Compatible with MCP SDK 0.5.0.
  • Enhanced Error Handling: Comprehensive error handling with detailed error messages.
  • Improved TypeScript Support: Better type safety and compatibility.
  • Optimized API Usage: Efficient use of Todoist API, including getTasksByFilter for robust search and moveTasks for semantic task movement.
  • Better Response Formatting: Enhanced task, project, and label formatting for better readability, including project names in search results.

✨ Enhanced Task Management (11 Tools)

  • Direct ID-based Operations: Efficient task operations using task IDs.
  • Comprehensive Task Creation: Support for subtasks, labels, projects, sections, priorities.
  • Quick Add Integration: Natural language task creation using Todoist's Quick Add.
  • Advanced Task Search: Robust keyword search using Todoist's filter engine (search: your query).
  • Task Movement Capabilities: Move tasks between projects, sections, or make them subtasks.
  • Bulk Task Operations: Move multiple tasks with subtasks in a single operation.
  • Task State Management: Complete, reopen, and manage task lifecycle.
  • Detailed Task Output: Search and get-task operations return more task details.

🗂️ Complete Project Management (5 Tools)

  • Full Project CRUD: Create, read, update, delete projects with all properties.
  • Sub-project Support: Create hierarchical project structures.
  • Project Customization: Set colors, favorites, view styles (list/board).
  • Enhanced Project Listing: Improved project retrieval with pagination and detailed formatting.

📋 Section Management (4 Tools)

  • Complete Section Operations: Create, read, update, delete sections.
  • Project-specific Sections: Filter and manage sections within projects.
  • Section Organization: Proper ordering and structure management.

🏷️ Label Management (5 Tools)

  • Full Label CRUD: Create, read, update, delete labels.
  • Label Customization: Set names, colors, favorites, order.
  • Paginated Label Listing: Efficiently retrieve all labels.

💬 Comment Management (5 Tools)

  • Complete Comment CRUD: Create, read, update, delete comments on tasks and projects.
  • Attachment Support: Add file attachments to comments with metadata.
  • Flexible Targeting: Comments can be attached to either tasks or projects.
  • Paginated Comment Retrieval: Efficiently browse through comment threads.

✅ Completed Tasks History (1 Tool) 🆕

  • REST API v1 Integration: Access completed task history via Todoist API v1 (/api/v1/tasks/completed/by_completion_date). Migrated from deprecated Sync API v9.
  • Flexible Filtering: Filter by project, section, date range (since/until).
  • Cursor-based Pagination: Efficient retrieval of large histories.
  • Rich Metadata: Shows labels, priorities, descriptions, note counts, completion timestamps.

🛠️ Available Tools (Total 31)

Task Operations (11 tools)

ToolDescription
todoist_create_taskCreate tasks with full options (subtasks, labels, projects, sections, priorities).
todoist_quick_add_taskNatural language task creation using Todoist's Quick Add syntax.
todoist_get_tasksRetrieve tasks with filtering (project, section, parent, label, IDs) and pagination.
todoist_get_taskGet a specific task by its ID, with detailed information.
todoist_update_taskUpdate task properties (content, description, due date, priority, labels).
todoist_delete_taskDelete task by ID.
todoist_complete_taskMark task complete.
todoist_reopen_taskReopen completed task.
todoist_search_tasksSearch tasks using Todoist's filter engine (e.g., search: keyword).
todoist_move_taskMove a task to a different project, section, or make it a subtask.
todoist_bulk_move_tasksMove multiple tasks with their subtasks to a project, section, or parent task.

Project Operations (5 tools)

ToolDescription
todoist_get_projectsList all active projects with pagination support.
todoist_get_projectGet a specific project by its ID.
todoist_create_projectCreate new project (name, color, favorite, view style, sub-projects).
todoist_update_projectUpdate project properties.
todoist_delete_projectDelete project by ID.

Section Operations (4 tools)

ToolDescription
todoist_get_sectionsList sections (all sections or project-specific).
todoist_create_sectionCreate section in project (name, project, ordering).
todoist_update_sectionUpdate section name.
todoist_delete_sectionDelete section by ID.

Label Operations (5 tools)

ToolDescription
todoist_create_labelCreate a new label (name, color, favorite, order).
todoist_get_labelGet a specific label by its ID.
todoist_get_labelsList all labels with pagination support.
todoist_update_labelUpdate an existing label by its ID (name, color, favorite, order).
todoist_delete_labelDelete a label by its ID.

Comment Operations (5 tools)

ToolDescription
todoist_create_commentCreate a new comment on a task or project (with attachments).
todoist_get_commentGet a specific comment by its ID.
todoist_get_commentsGet comments for a task or project with pagination support.
todoist_update_commentUpdate an existing comment by its ID.
todoist_delete_commentDelete a comment by its ID.

Completed Tasks Operations (1 tool) 🆕

ToolDescription
todoist_get_completed_tasksGet completed tasks history with filtering by project, section, date range (since/until required), and cursor-based pagination. Uses Todoist REST API v1.

🚀 Installation & Setup

Local Development Setup

bash
# Clone the extended repository
git clone https://github.com/kydycode/todoist-mcp-server-ext.git
cd todoist-mcp-server-ext

# Install dependencies
npm install

# Build the project
npm run build

Getting a Todoist API Token

  1. Log in to your Todoist account
  2. Navigate to Settings → Integrations → Developer
  3. Copy your API token

Usage with Claude Desktop

Add to your claude_desktop_config.json:

Option 1: Run locally built version

json
{
  "mcpServers": {
    "todoist-mcp-server": {
      "command": "node",
      "args": ["/path/to/your/todoist-mcp-server-ext/dist/index.js"],
      "env": {
        "TODOIST_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Option 2: Run via npm/npx (recommended for published version)

json
{
  "mcpServers": {
    "todoist-mcp-server": {
      "command": "npx",
      "args": ["-y", "@kydycode/todoist-mcp-server-ext@latest"],
      "env": {
        "TODOIST_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Option 3: Install globally first

bash
# Install the extended version globally
npm install -g @kydycode/todoist-mcp-server-ext@latest

# Then use in Claude Desktop config
{
  "mcpServers": {
    "todoist-mcp-server": {
      "command": "todoist-mcp-server-ext",
      "env": {
        "TODOIST_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

📖 Usage Examples

🎯 Advanced Task Creation & Management

"Create task 'Team Meeting @Tomorrow #Work p1'"
"Add task 'Fix critical bug +KydyCode @DevProject L:Urgent L:Backend'"
"Quick add: 'Buy milk tomorrow at 2pm #shopping !p1'"
"Move task with ID {task_id} to project {project_id}"
"Search tasks: search: API deployment"

🗂️ Project, Section, Label, and Comment Management

"List all my projects"
"Create project 'Q2 Planning' color:blue favorite:true view:board"
"Get sections for project {project_id}"
"Create label 'HighPriority' color:red isFavorite:true"
"List all labels"
"Add comment 'Great progress on this task!' to task {task_id}"
"Get all comments for project {project_id}"
"Update comment {comment_id} with new content"

✅ Completed Tasks History 🆕

"Get completed tasks between 2024-01-01 and 2024-01-31"
"Show tasks completed since 2024-01-01 until today"
"Get completed tasks from project {project_id} since 2024-01-01 until 2024-12-31"
"Show last week's completed tasks"

🆚 Extended vs Original Comparison

FeatureOriginalExtended Version (@kydycode/todoist-mcp-server-ext)
Todoist SDK VersionOlder✅ @doist/todoist-api-typescript@4.0.4
MCP SDK CompatibilityOlder version✅ Latest MCP SDK 0.5.0+
Error HandlingBasic✅ Comprehensive with detailed messages
TypeScript SupportLimited✅ Full type safety
Task OperationsSearch-based, limited features✅ 11 Tools: Direct ID-based, moveTasks, bulk move, robust search, QuickAdd, full CRUD-like ops
Project ManagementLimited✅ 5 Tools: Full CRUD operations, sub-projects, pagination
Section ManagementBasic✅ 4 Tools: Complete section operations
Label ManagementNot Available✅ 5 Tools: Full CRUD operations, pagination
Comment ManagementNot Available✅ 5 Tools: Full CRUD operations, attachments, pagination
Completed Tasks HistoryNot Available✅ 1 Tool: REST API v1 integration, date filtering, cursor pagination
API Parameter HandlingInconsistent✅ Proper parameter validation
Response FormattingBasic✅ Enhanced readability, more details
Build SystemIssues✅ Clean compilation
Search FunctionalityBasic local filter✅ Robust getTasksByFilter (Todoist engine)

🔧 Development

Project Structure

src/
├── index.ts          # Main server implementation with all tools
package.json      # Dependencies and scripts
tsconfig.json     # TypeScript configuration
README.md         # This file
local-instructions.md # Personal publishing guide
LICENSE
.gitignore
dist/             # Compiled JavaScript output (after `npm run build`)
    ├── index.js
    └── index.d.ts

Building from Source

bash
# Install dependencies
npm install

# Build TypeScript
npm run build

# Test the server (requires TODOIST_API_TOKEN)
# Example: Set token and pipe a list tools request
export TODOIST_API_TOKEN="your_actual_todoist_api_token"
echo '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}' | node dist/index.js

Development Scripts

bash
npm run build     # Compile TypeScript and make output executable
npm run watch     # Watch for changes and rebuild (doesn't make output executable)
npm run prepare   # Pre-publish build (runs build)

🤝 Contributing

Contributions are welcome! This extended version accepts contributions for:

  • Additional Todoist API endpoints
  • Enhanced error handling and validation
  • Performance optimizations
  • Documentation improvements
  • Bug fixes and compatibility updates

Please submit issues and pull requests to the extended repository.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Credits

🐛 Issues and Support

🔗 Related Links

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "todoist-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@kydycode/todoist-mcp-server-ext@latest"
      ],
      "env": {
        "TODOIST_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

将 Todoist Extended MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Todoist Extended 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Todoist Extended 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Todoist Extended MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "todoist-extended": {
      "command": "npx",
      "args": [
        "-y",
        "@kydycode/todoist-mcp-server-ext"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Todoist Extended MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Todoist Extended MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Todoist Extended 帮我完成这项任务吗?
Todoist Extended
当然,我看过了。
以下是我使用 Todoist Extended 得到的结果。

常见问题

Todoist Extended MCP 服务器有什么用途?

Todoist Extended 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Todoist Extended MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Todoist Extended。

为什么在 TypingMind 中使用 Todoist Extended MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Todoist Extended 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Todoist Extended MCP 连接到 TypingMind?

Todoist Extended 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Todoist Extended MCP 在 TypingMind 中提供哪些工具?

Todoist Extended 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Todoist Extended MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Todoist Extended 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇