Todoist TaskMaster MCP server

Integrates with Todoist task management to retrieve, filter, and display tasks using flexible query options without switching contexts.
Back to servers
Provider
Daniele Mingolla
Release date
Mar 24, 2025
Language
Python
Stats
12 stars

This MCP server implementation allows Cursor AI assistants to interact with your Todoist tasks directly from your coding environment, making task management seamless while you work on your code.

Prerequisites

  • Python 3.10 or higher
  • Todoist account and API token

Installation

Get the Code

Clone the repository and navigate to the project directory:

git clone https://github.com/mingolladaniele/todoist-mcp.git
cd todoist-mcp

Install Dependencies

Install all required packages:

pip install -r requirements.txt

Set Up Your API Token

Set your Todoist API token as an environment variable:

# Linux/macOS
export TODOIST_API_TOKEN="your-api-token-here"

# Windows
set TODOIST_API_TOKEN="your-api-token-here"

You can find your Todoist API token in Todoist settings → Integrations → Developer.

Running the Server

Start the MCP server with:

python server.py

Integrating with Cursor AI

Create or edit the MCP configuration file on your system:

Windows: C:\Users\<username>\.cursor\mcp.json

{
  "mcpServers": {
    "todoist-mcp": {
      "command": "C:/Users/<username>/path/to/todoist-mcp/.venv/Scripts/python.exe",
      "args": [
        "C:/Users/<username>/path/to/todoist-mcp/server.py"
      ],
      "env": {
        "TODOIST_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

Replace <username> and paths with your actual username and the correct paths to your installation.

After configuring, go to Cursor Settings → MCP and verify that the server is running (indicated by a green dot).

Using Task Filtering

The MCP tool provides powerful filtering capabilities for retrieving your tasks.

Filter Options

  • Today's tasks: "today"
  • Overdue tasks: "overdue"
  • Due date filtering:
    • Specific date: "Jan 3"
    • Before a date: "due before: May 5"
    • After a date: "due after: May 5"
    • Within timeframe: "due before: +4 hours"
  • Tasks with no due date: "no date"
  • Upcoming tasks: "5 days" or "next 5 days"
  • Recurring tasks: "recurring"
  • Priority filtering: Use priority parameter (1-4, where 1 is highest)

Example Queries

When using Cursor AI, you can request tasks with filters like:

  • "Show me my tasks due today"
  • "What are my overdue high-priority tasks?"
  • "List tasks due in the next 5 days"
  • "Show tasks with no due date"

The assistant will use the appropriate filter to retrieve and display your tasks with their priority levels, due dates, and other relevant information.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later