Todoist

效率与工作流

by Hint-Services

在工作流中直接管理 Todoist 的任务、项目、分区和标签,支持自然语言创建、更新、完成及批量编辑。

什么是 Todoist

在工作流中直接管理 Todoist 的任务、项目、分区和标签,支持自然语言创建、更新、完成及批量编辑。

README

smithery badge npm version

Todoist MCP Server

A Model Context Protocol (MCP) server that connects AI assistants to Todoist for seamless task management. This server enables AI assistants to create, read, update, and complete tasks, manage projects, organize sections, and work with labels in your Todoist account.

Why This Tool?

Todoist is one of the most popular task management platforms, helping millions of people organize their work and life. This MCP server brings the power of AI-assisted task management to your workflow, enabling:

  • Natural Language Task Creation: Create tasks using conversational language
  • Intelligent Organization: AI can help organize your tasks into projects and sections
  • Smart Prioritization: Automatically set priorities and due dates based on context
  • Batch Operations: Perform multiple operations efficiently
  • Context-Aware Management: AI can understand your task context and suggest improvements

Features

  • Comprehensive Todoist Integration: Full access to tasks, projects, sections, and labels via the official API
  • Type-Safe Implementation: Written in TypeScript with comprehensive type definitions
  • Input Validation: Robust validation for all API inputs using Zod schemas
  • Error Handling: Graceful error handling with informative messages
  • Batch Operations: Support for creating, updating, and managing multiple items at once
  • MCP Integration: Full compatibility with Claude, Cursor, Windsurf, Cline, and other MCP hosts

Available Tools

Task Management

  • todoist_create_task: Create one or more tasks with full parameter support

    • Set content, description, due dates, priorities
    • Assign to projects and sections
    • Add labels and parent tasks
    • Support for duration and deadline fields
  • todoist_get_tasks: Retrieve tasks with flexible filtering

    • Filter by project, section, label, or priority
    • Use natural language filters ('today', 'tomorrow', 'overdue')
    • Pagination support
  • todoist_update_task: Update existing tasks by ID or name

    • Modify any task property
    • Support for batch updates
  • todoist_move_task: Move tasks to different projects, sections, or parents

    • Change task location (use instead of update for moving)
    • Move to a different project, section, or make it a subtask
    • Support for batch moves
  • todoist_delete_task: Delete tasks by ID or name

    • Support for batch deletion
  • todoist_complete_task: Mark tasks as complete

    • Support for batch completion

Project Management

  • todoist_get_projects: Retrieve all projects with optional hierarchy

    • Include sections for each project
    • Filter by specific project IDs
  • todoist_create_project: Create new projects

    • Set colors, view styles (list/board)
    • Create nested projects with parent_id
    • Mark as favorite
    • Optionally create sections during project creation
  • todoist_update_project: Update existing projects

    • Modify name, color, favorite status, view style
    • Update by ID or search by name

Section Management

  • todoist_get_project_sections: Get sections from one or more projects

    • Support for batch retrieval
    • Find by project ID or name
  • todoist_create_project_section: Create sections within projects

    • Set section name and order
    • Support for batch creation

Label Management

  • todoist_get_personal_labels: Retrieve all personal labels

  • todoist_get_personal_label: Get a specific label by ID

  • todoist_create_personal_label: Create new labels

    • Set color and favorite status
    • Define label order
    • Support for batch creation
  • todoist_update_personal_label: Update existing labels

    • Modify name, color, order, favorite status
    • Update by ID or search by name
  • todoist_delete_personal_label: Remove labels from your account

Use Cases

For Personal Productivity

  • Daily Planning: AI can help organize your day by creating and prioritizing tasks
  • Inbox Processing: Quickly process task ideas into organized projects
  • Review & Reflection: AI can analyze your task patterns and suggest improvements

For Knowledge Workers

  • Meeting Follow-up: Automatically create action items from meeting notes
  • Project Planning: Break down large projects into manageable tasks and sections
  • Workload Management: Balance tasks across projects based on priorities and deadlines

For Team Collaboration

  • Task Delegation: Assign tasks to team members
  • Project Organization: Create consistent project structures across teams
  • Progress Tracking: Monitor task completion and project status

Installation

Using Smithery (Recommended)

The easiest way to install Todoist MCP is using Smithery:

bash
# For Claude Desktop
npx -y @smithery/cli install @Hint-Services/mcp-todoist --client claude

# For Cursor
npx -y @smithery/cli install @Hint-Services/mcp-todoist --client cursor

# For Windsurf
npx -y @smithery/cli install @Hint-Services/mcp-todoist --client windsurf

# For Cline
npx -y @smithery/cli install @Hint-Services/mcp-todoist --client cline

Manual Installation

bash
npm install @hoffination/mcp-todoist

Configuration

Add the server to your MCP settings file with the following configuration:

json
{
  "mcpServers": {
    "todoist": {
      "command": "npx",
      "args": ["-y", "@hoffination/mcp-todoist"],
      "env": {
        "TODOIST_API_TOKEN": "your-todoist-api-token"
      }
    }
  }
}

Required Environment Variables

  • TODOIST_API_TOKEN: Your Todoist API token (get it here)

Getting Your API Token

  1. Visit Todoist Settings > Integrations > Developer
  2. Sign in to your Todoist account
  3. Scroll to the "API token" section
  4. Copy your API token
  5. Important: Never share your API token or commit it to source control

Example Workflows

Creating a Task

json
{
  "tool": "todoist_create_task",
  "arguments": {
    "content": "Review quarterly goals",
    "description": "Analyze Q4 performance and set Q1 objectives",
    "due_string": "tomorrow at 2pm",
    "priority": 3,
    "labels": ["work", "planning"]
  }
}

Getting Today's Tasks

json
{
  "tool": "todoist_get_tasks",
  "arguments": {
    "filter": "today"
  }
}

Creating a Project with Sections

json
{
  "tool": "todoist_create_project",
  "arguments": {
    "name": "Website Redesign",
    "color": "blue",
    "view_style": "board",
    "sections": ["Design", "Development", "Testing"]
  }
}

Batch Task Creation

json
{
  "tool": "todoist_create_task",
  "arguments": {
    "tasks": [
      {
        "content": "Design homepage mockup",
        "due_string": "Monday",
        "priority": 4
      },
      {
        "content": "Set up development environment",
        "due_string": "Tuesday"
      },
      {
        "content": "Create component library",
        "due_string": "Wednesday"
      }
    ]
  }
}

Updating Tasks by Name

json
{
  "tool": "todoist_update_task",
  "arguments": {
    "task_name": "Review quarterly goals",
    "priority": 4,
    "due_string": "today"
  }
}

Moving Tasks to Different Projects

json
{
  "tool": "todoist_move_task",
  "arguments": {
    "task_id": "6f624qq0GfvXJR9C",
    "project_id": "6XvWFBgqvg9qPVH2"
  }
}

Completing Multiple Tasks

json
{
  "tool": "todoist_complete_task",
  "arguments": {
    "tasks": [
      { "task_name": "Morning standup" },
      { "task_name": "Email review" },
      { "task_name": "Code review" }
    ]
  }
}

Project Structure

code
mcp-todoist/
├── src/
│   ├── index.ts          # Main MCP server entry point
│   └── todoist/          # Todoist integration
│       ├── client.ts     # Todoist client implementation
│       └── types.ts      # TypeScript type definitions
├── docs/                 # Documentation
├── package.json          # Project configuration
└── tsconfig.json         # TypeScript configuration

For Developers

Development Commands

  • pnpm install - Install dependencies
  • pnpm run build - Build the project for HTTP streaming (default)
  • pnpm run dev - Run in development mode with hot reloading
  • pnpm run inspector - Launch MCP inspector for testing (stdio mode)
  • pnpm run test - Run tests
  • pnpm run lint:fix - Fix linting issues
  • pnpm run format:fix - Format code

Deployment Options

HTTP Streaming (Recommended)

bash
pnpm run build:http
pnpm run start:http

Traditional stdio (Legacy)

bash
pnpm run build:stdio
pnpm run start:stdio

The HTTP streaming interface offers better performance and simplified deployment without requiring Docker, while maintaining full backwards compatibility with the traditional stdio interface.

API Reference

The server implements 15 Todoist tools organized into four categories:

Task Tools

  • todoist_create_task
  • todoist_get_tasks
  • todoist_update_task
  • todoist_move_task
  • todoist_delete_task
  • todoist_complete_task

Project Tools

  • todoist_get_projects
  • todoist_create_project
  • todoist_update_project
  • todoist_get_project_sections
  • todoist_create_project_section

Label Tools

  • todoist_get_personal_labels
  • todoist_get_personal_label
  • todoist_create_personal_label
  • todoist_update_personal_label
  • todoist_delete_personal_label

For detailed API documentation, see the Todoist API v1 Documentation.

Privacy & Security

  • Your API token is used only to authenticate with Todoist's official API
  • No data is stored or cached by this MCP server
  • All communication is directly between your client and Todoist's servers
  • Follow Todoist's privacy policy and terms of service

Troubleshooting

API Token Issues

  • Ensure your API token is valid and not expired
  • Check that you're using the correct environment variable name: TODOIST_API_TOKEN
  • Verify your Todoist account has API access enabled

Tasks Not Appearing

  • Confirm you're querying the correct project or using the right filters
  • Check that tasks haven't been completed or deleted
  • Verify project and section IDs are correct

Connection Issues

  • Check your internet connection
  • Verify Todoist services are operational
  • Ensure you're using the latest version of the MCP server

Common Errors

  • "Task not found": The task name search couldn't find a matching task
  • "Project not found": Invalid project ID or name
  • "Invalid color": Use valid Todoist color names (e.g., "blue", "red", "green")

Learn More

For further information, refer to:

About Hint Services

"The future is already here, it's just unevenly distributed"

— William Gibson, Author

Hint Services is a boutique consultancy with a mission to develop and expand how user interfaces leverage artificial intelligence technology. We architect ambition at the intersection of AI and User Experience, founded and led by Ben Hofferber.

We offer specialized AI workshops for design teams looking to embrace AI tools without becoming developers. Learn more about our training and workshops.

常见问题

Todoist 是什么?

在工作流中直接管理 Todoist 的任务、项目、分区和标签,支持自然语言创建、更新、完成及批量编辑。

相关 Skills

技能工坊

by anthropics

Universal
热门

覆盖 Skill 从创建到迭代优化全流程:起草能力、补测试提示、跑评测与基准方差分析,并持续改写内容和描述,提升效果与触发准确率。

技能工坊把技能从创建、迭代到评测串成闭环,方差分析加描述优化,特别适合把触发准确率打磨得更稳。

效率与工作流
未扫描111.8k

表格处理

by anthropics

Universal
热门

围绕 .xlsx、.xlsm、.csv、.tsv 做读写、修复、清洗、格式整理、公式计算与格式转换,适合修改现有表格、生成新报表或把杂乱数据整理成交付级电子表格。

做 Excel/CSV 相关任务很省心,能直接读写、修复、清洗和格式转换,尤其擅长把乱七八糟的表格整理成交付级文件。

效率与工作流
未扫描111.8k

Word文档

by anthropics

Universal
热门

覆盖Word/.docx文档的创建、读取、编辑与重排,适合生成报告、备忘录、信函和模板,也能处理目录、页眉页脚、页码、图片替换、查找替换、修订批注及内容提取整理。

搞定 .docx 的创建、改写与精排版,目录、批量替换、批注修订和图片更新都能自动化,做正式文档尤其省心。

效率与工作流
未扫描111.8k

相关 MCP Server

文件系统

编辑精选

by Anthropic

热门

Filesystem 是 MCP 官方参考服务器,让 LLM 安全读写本地文件系统。

这个服务器解决了让 Claude 直接操作本地文件的痛点,比如自动整理文档或生成代码文件。适合需要自动化文件处理的开发者,但注意它只是参考实现,生产环境需自行加固安全。

效率与工作流
83.1k

by wonderwhy-er

热门

Desktop Commander 是让 AI 直接执行终端命令、管理文件和进程的 MCP 服务器。

这工具解决了 AI 无法直接操作本地环境的痛点,适合需要自动化脚本调试或文件批量处理的开发者。它能让你用自然语言指挥终端,但权限控制需谨慎,毕竟让 AI 执行 rm -rf 可不是闹着玩的。

效率与工作流
5.9k

EdgarTools

编辑精选

by dgunning

热门

EdgarTools 是无需 API 密钥即可解析 SEC EDGAR 财报的开源 Python 库。

这个工具解决了金融数据获取的痛点——直接让 AI 读取结构化财报,比如让 Claude 分析苹果的 10-K 文件。适合量化分析师或金融开发者快速构建数据管道。但注意,它依赖 SEC 网站稳定性,高峰期可能延迟。

效率与工作流
2.0k

评论