Skip to main content

MCP Server for Todoist task management

Project description

Todoist MCP Server

Unofficial MCP server for Todoist that allows agents to create, and list tasks in your Todoist account.

Features

  • Create tasks with descriptions, due dates, priorities, and labels and projects.
  • List tasks List completed or uncompleted tasks with filtering by project or Todoist filters.

Works with Claude Desktop, Cursor, and other MCP clients

Installation

pip install todoist-mcp-server

Setup

1. Get Your Todoist API Token

  1. Go to Todoist Integrations Settings
  2. Scroll down to "API token"
  3. Copy your API token (keep it secure!)

2. Configure Your MCP Client

Usage Examples

Here are some examples of how to use the Todoist MCP server with different clients:

Claude Desktop

Add this to your claude_desktop_config.json file: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "todoist": {
      "command": "todoist-mcp-server",
      "env": {
        "TODOIST_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

Cursor

Add this to your Cursor settings:

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Search for "MCP"
  3. Add the MCP server configuration:
{
  "mcpServers": {
    "todoist": {
      "command": "todoist-mcp-server",
      "env": {
        "TODOIST_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

Other MCP Clients

For any MCP-compatible client, use:

  • Command: todoist-mcp-server
  • Environment Variable: TODOIST_API_TOKEN=your-token

3. Restart Your Client

Restart Claude Desktop, Cursor, or your MCP client to load the server.

Usage

Once configured, you can interact with Todoist using natural language:

Creating Tasks

  • "Create a task to buy groceries"
  • "Add a task 'Call dentist' due tomorrow with high priority"
  • "Create a task to finish the report with description 'Include Q4 metrics' due next Friday"

Listing Tasks

  • "Show me my tasks for today"
  • "List all my high priority tasks"
  • "What tasks do I have in my Work project?"

Available Tools

create_task

Create a new task in Todoist.

Parameters:

  • content (required): Task title/content
  • description (optional): Task description
  • project_name (optional): Project name to add task to
  • due_string (optional): Due date in natural language ("tomorrow", "next monday")
  • priority (optional): Priority level 1-4 (1=low, 2=medium, 3=high, 4=urgent)
  • labels (optional): List of label names

list_active_tasks

List active tasks from Todoist.

Parameters:

  • project_name (optional): Filter by project name
  • filter_string (optional): Todoist filter ("today", "overdue", "p1")
  • limit (optional): Maximum number of tasks (default: 50)

Troubleshooting

"Server disconnected" Error

  1. Make sure you've installed the package: pip install todoist-mcp-server
  2. Verify your API token is correct
  3. Check that the config file is in the right location
  4. Restart your MCP client completely

"Command not found" Error

  • Ensure the package is installed in the same Python environment your MCP client uses
  • Try reinstalling: pip uninstall todoist-mcp-server && pip install todoist-mcp-server

API Token Issues

  • Get a fresh token from Todoist Integrations
  • Make sure there are no extra spaces in your config file
  • Verify the token has the necessary permissions

Development

To contribute or run from source:

git clone https://github.com/mehularora8/todoist-mcp
cd todoist-mcp
pip install -e .

Security

  • Your API token is stored locally and only used to communicate with Todoist's API
  • No data is sent to third parties
  • The MCP server runs locally on your machine

License

MIT License - see LICENSE file for details.

Support


Note: This is an unofficial integration and is not affiliated with Todoist or Doist Inc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

todoist_mcp_server-0.1.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

todoist_mcp_server-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file todoist_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: todoist_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for todoist_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dbef44f51a5879441ad55acb3043521817da7712b17077ca19f5bf32aa2c137b
MD5 969c8409f05f9d26894dc43e4caad39d
BLAKE2b-256 eba618596fd691fc4994595f59770211c84adb41959832b62d235010a5690b57

See more details on using hashes here.

File details

Details for the file todoist_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for todoist_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bba5dc4cffe3bde8f278b7846020f06d77fac7f3e59913b6bdf568d489e89657
MD5 ba86e5522c0a9e72d8f467a5681e5231
BLAKE2b-256 9dc7d275e49faf0c52a0f23cc742ff6292c1eb538d1095322ed84271e975354a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page