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.1.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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: todoist_mcp_server-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 12362a23deab31c83f24cd5bf8f793b9240b4fdf9225d5b7fd8d72eb3c1bd7cb
MD5 17d09676e4f5bd1569479101a42d5cb7
BLAKE2b-256 a249d9c1697761cf52e84904b85bb650dbba77dc5e0992223a6e68f623b321c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for todoist_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5150b4db1453ece7fc51014a1b52251b9a900ed698af232f39e519140ff54e9
MD5 7a9f75fdec1fc98fe0ed0fd38eb64baa
BLAKE2b-256 7f14e9100ae8e923f1c3ccbc117715f7c89ba6c46275be2eb30d0f3558545c1e

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