
Todoist
STDIOTodoist任务管理增强版Claude集成
Todoist任务管理增强版Claude集成
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/[email protected]
).
@doist/[email protected]
.getTasksByFilter
for robust search and moveTasks
for semantic task movement.search: your query
).Tool | Description |
---|---|
todoist_create_task | Create tasks with full options (subtasks, labels, projects, sections, priorities). |
todoist_quick_add_task | Natural language task creation using Todoist's Quick Add syntax. |
todoist_get_tasks | Retrieve tasks with filtering (project, section, parent, label, IDs) and pagination. |
todoist_get_task | Get a specific task by its ID, with detailed information. |
todoist_update_task | Update task properties (content, description, due date, priority, labels). |
todoist_delete_task | Delete task by ID. |
todoist_complete_task | Mark task complete. |
todoist_reopen_task | Reopen completed task. |
todoist_search_tasks | Search tasks using Todoist's filter engine (e.g., search: keyword ). |
todoist_move_task | Move a task to a different project, section, or make it a subtask. |
Tool | Description |
---|---|
todoist_get_projects | List all active projects with pagination support. |
todoist_get_project | Get a specific project by its ID. |
todoist_create_project | Create new project (name, color, favorite, view style, sub-projects). |
todoist_update_project | Update project properties. |
todoist_delete_project | Delete project by ID. |
Tool | Description |
---|---|
todoist_get_sections | List sections (all sections or project-specific). |
todoist_create_section | Create section in project (name, project, ordering). |
todoist_update_section | Update section name. |
todoist_delete_section | Delete section by ID. |
Tool | Description |
---|---|
todoist_create_label | Create a new label (name, color, favorite, order). |
todoist_get_label | Get a specific label by its ID. |
todoist_get_labels | List all labels with pagination support. |
todoist_update_label | Update an existing label by its ID (name, color, favorite, order). |
todoist_delete_label | Delete a label by its ID. |
Tool | Description |
---|---|
todoist_create_comment | Create a new comment on a task or project (with attachments). |
todoist_get_comment | Get a specific comment by its ID. |
todoist_get_comments | Get comments for a task or project with pagination support. |
todoist_update_comment | Update an existing comment by its ID. |
todoist_delete_comment | Delete a comment by its ID. |
# 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
Add to your claude_desktop_config.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" } } } }
{ "mcpServers": { "todoist-mcp-server": { "command": "npx", "args": ["-y", "@kydycode/todoist-mcp-server-ext@latest"], "env": { "TODOIST_API_TOKEN": "your_api_token_here" } } } }
# 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" } } } }
"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"
"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"
Feature | Original | Extended Version (@kydycode/todoist-mcp-server-ext ) |
---|---|---|
Todoist SDK Version | Older | ✅ @doist/[email protected] |
MCP SDK Compatibility | Older version | ✅ Latest MCP SDK 0.5.0+ |
Error Handling | Basic | ✅ Comprehensive with detailed messages |
TypeScript Support | Limited | ✅ Full type safety |
Task Operations | Search-based, limited features | ✅ 10 Tools: Direct ID-based, moveTasks , robust search, QuickAdd, full CRUD-like ops |
Project Management | Limited | ✅ 5 Tools: Full CRUD operations, sub-projects, pagination |
Section Management | Basic | ✅ 4 Tools: Complete section operations |
Label Management | Not Available | ✅ 5 Tools: Full CRUD operations, pagination |
Comment Management | Not Available | ✅ 5 Tools: Full CRUD operations, attachments, pagination |
API Parameter Handling | Inconsistent | ✅ Proper parameter validation |
Response Formatting | Basic | ✅ Enhanced readability, more details |
Build System | Issues | ✅ Clean compilation |
Search Functionality | Basic local filter | ✅ Robust getTasksByFilter (Todoist engine) |
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
# 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
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)
Contributions are welcome! This extended version accepts contributions for:
Please submit issues and pull requests to the extended repository.
This project is licensed under the MIT License - see the LICENSE file for details.
@kydycode/todoist-mcp-server-ext