Todoist MCP Server

Todoist MCP Server

A comprehensive Model Context Protocol (MCP) server for the Todoist API. Provides full access to tasks, projects, labels, sections, and comments with support for all task properties including priorities, due dates, labels, subtasks, and more.

Category
Visit Server

README

Todoist MCP Server

A comprehensive Model Context Protocol (MCP) server for the Todoist API. Provides full access to tasks, projects, labels, sections, and comments with support for all task properties including priorities, due dates, labels, subtasks, and more.

Features

  • Complete Task Management: Create, read, update, delete, complete, and reopen tasks
  • Full Task Properties Support: Content, description, due dates (natural language or specific), priority (1-4), labels, duration estimates, subtasks, assignees, and more
  • Project Management: Create and manage projects with colors, hierarchies, and view styles
  • Label Management: Create and organize labels for cross-project task categorization
  • Section Management: Organize tasks within projects using sections
  • Comment Management: Add and manage comments on tasks and projects
  • Rate Limiting: Built-in rate limit handling (450 requests per 15 minutes)
  • Error Handling: Comprehensive error handling with meaningful error messages

Installation

Prerequisites

  • Node.js (v18 or higher)
  • npm
  • A Todoist account with API token

Get Your Todoist API Token

  1. Log in to your Todoist account
  2. Go to Settings → Integrations → Developer
  3. Copy your API token
  4. Set it as an environment variable: TODOIST_API_TOKEN

Install the Server

# Clone or download this repository
cd todoist-mcp

# Install dependencies
npm install

# Build the project
npm run build

Configuration

For Claude Desktop

Add this to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "todoist": {
      "command": "node",
      "args": [
        "E:\\my drive\\programs and files\\dev\\todoist MCP\\build\\index.js"
      ],
      "env": {
        "TODOIST_API_TOKEN": "your_api_token_here"
      }
    }
  }
}

Replace the path with your actual installation path and add your Todoist API token.

For Other MCP Clients

Set the TODOIST_API_TOKEN environment variable and run:

node build/index.js

Available Tools

Task Management

list_tasks

Get all active tasks with optional filtering.

Parameters:

  • project_id (optional): Filter by project
  • section_id (optional): Filter by section
  • label (optional): Filter by label name
  • filter (optional): Custom filter string (e.g., 'today', 'p1', 'overdue')
  • lang (optional): Language code for filter parsing

Example:

{
  "filter": "today",
  "project_id": "2203306141"
}

get_task

Get a single task by ID with all properties.

Parameters:

  • task_id (required): Task ID

create_task

Create a new task with comprehensive properties.

Parameters:

  • content (required): Task title
  • description (optional): Task description
  • project_id (optional): Project ID
  • section_id (optional): Section ID
  • parent_id (optional): Parent task ID for subtasks
  • priority (optional): 1-4, where 4 is urgent
  • labels (optional): Array of label names
  • due_string (optional): Natural language due date (e.g., "tomorrow at 14:00")
  • due_date (optional): YYYY-MM-DD format
  • due_datetime (optional): RFC3339 format
  • due_lang (optional): Language for parsing due_string
  • assignee_id (optional): User ID to assign
  • duration (optional): Duration amount
  • duration_unit (optional): "minute" or "day"

Example:

{
  "content": "Buy groceries",
  "description": "Milk, eggs, bread",
  "priority": 3,
  "labels": ["shopping", "urgent"],
  "due_string": "tomorrow at 14:00"
}

update_task

Update an existing task.

Parameters:

  • task_id (required): Task ID
  • All other parameters from create_task (optional)

complete_task

Mark a task as complete. Recurring tasks move to next occurrence.

Parameters:

  • task_id (required): Task ID

reopen_task

Reopen a completed task.

Parameters:

  • task_id (required): Task ID

delete_task

Permanently delete a task.

Parameters:

  • task_id (required): Task ID

Project Management

list_projects

Get all projects.

get_project

Get a single project by ID.

Parameters:

  • project_id (required): Project ID

create_project

Create a new project.

Parameters:

  • name (required): Project name
  • parent_id (optional): Parent project ID for nested projects
  • color (optional): Color name (e.g., "blue", "red")
  • is_favorite (optional): Boolean
  • view_style (optional): "list" or "board"

update_project

Update an existing project.

Parameters:

  • project_id (required): Project ID
  • All other parameters from create_project (optional)

delete_project

Permanently delete a project and all its tasks.

Parameters:

  • project_id (required): Project ID

Label Management

list_labels

Get all labels.

get_label

Get a single label by ID.

Parameters:

  • label_id (required): Label ID

create_label

Create a new label.

Parameters:

  • name (required): Label name
  • color (optional): Color name
  • order (optional): Position in list
  • is_favorite (optional): Boolean

update_label

Update an existing label.

Parameters:

  • label_id (required): Label ID
  • All other parameters from create_label (optional)

delete_label

Permanently delete a label.

Parameters:

  • label_id (required): Label ID

Section Management

list_sections

Get all sections, optionally filtered by project.

Parameters:

  • project_id (optional): Project ID

get_section

Get a single section by ID.

Parameters:

  • section_id (required): Section ID

create_section

Create a new section.

Parameters:

  • name (required): Section name
  • project_id (required): Project ID
  • order (optional): Position in project

update_section

Update an existing section.

Parameters:

  • section_id (required): Section ID
  • name (required): New section name

delete_section

Delete a section (tasks are not deleted).

Parameters:

  • section_id (required): Section ID

Comment Management

list_comments

Get comments for a task or project.

Parameters:

  • task_id (optional): Task ID
  • project_id (optional): Project ID

get_comment

Get a single comment by ID.

Parameters:

  • comment_id (required): Comment ID

create_comment

Create a new comment.

Parameters:

  • content (required): Comment text
  • task_id (optional): Task ID
  • project_id (optional): Project ID
  • attachment (optional): File attachment object

update_comment

Update an existing comment.

Parameters:

  • comment_id (required): Comment ID
  • content (required): Updated comment text

delete_comment

Permanently delete a comment.

Parameters:

  • comment_id (required): Comment ID

Development

# Watch mode for development
npm run watch

# Build
npm run build

Rate Limits

The Todoist API has the following rate limits:

  • 450 requests per 15 minutes per user

The server automatically tracks requests and throws an error if the limit is exceeded.

Error Handling

All tools provide meaningful error messages when operations fail. Common errors include:

  • Missing or invalid API token
  • Rate limit exceeded
  • Invalid task/project/label IDs
  • Invalid parameter values

License

MIT

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

API Version

This server uses Todoist REST API v2.

Acknowledgments

Built using the Model Context Protocol SDK and the Todoist REST API.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured