Todoist MCP Server

Todoist MCP Server

Enables AI assistants to manage Todoist tasks, projects, sections, and labels through natural language, supporting task creation, updates, completion, and intelligent organization of your workflow.

Category
访问服务器

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:

# 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

npm install @hoffination/mcp-todoist

Configuration

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

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

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

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

Creating a Project with Sections

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

Batch Task Creation

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

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

Moving Tasks to Different Projects

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

Completing Multiple Tasks

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

Project Structure

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)

pnpm run build:http
pnpm run start:http

Traditional stdio (Legacy)

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.

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选