Enhanced Todoist MCP Server Extended

Enhanced Todoist MCP Server Extended

A comprehensive MCP server that provides full integration between Claude and Todoist, enabling task, project, section, and label management through 24 different tools with the complete Todoist API.

Category
访问服务器

README

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

🆕 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 (10 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.
  • 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.

🛠️ Available Tools (Total 24)

Task Operations (10 tools)

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.

Project Operations (5 tools)

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.

Section Operations (4 tools)

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.

Label Operations (5 tools)

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.

🚀 Installation & Setup

Local Development Setup

# 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

{
  "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)

{
  "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

# 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, and Label 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"

🆚 Extended vs Original Comparison

Feature Original Extended Version (@kydycode/todoist-mcp-server-ext)
Todoist SDK Version Older @doist/todoist-api-typescript@4.0.4
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
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)

🔧 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

# 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

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选