Skip to main content

No project description provided

Project description

MseeP.ai Security Assessment Badge

🚀 TaskMaster: Todoist MCP for Cursor AI

smithery badge

A Model Context Protocol (MCP) server implementation for Todoist integration, specifically developed for Cursor AI. This server allows Cursor AI assistants to interact with your Todoist tasks directly from your coding environment.

Demo Video

TaskMaster Demo

Features

  • Flexible Task Filtering: Filter tasks using Todoist's powerful filter syntax
    • Filter by due date: today, tomorrow, overdue
    • Filter by priority levels (1-4, where 1 is highest)
    • Filter using complex query combinations
  • Rich Task Formatting: Each task displays priority, due date, and other relevant information with clear icons
  • Cursor AI Integration: Seamlessly use Todoist within your Cursor AI coding environment

Installation

Installing via Smithery

To install TaskMaster for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mingolladaniele/taskMaster-todoist-mcp --client claude

Prerequisites

  • Python 3.10 or higher
  • Poetry (for dependency management)
  • Todoist account and API token

Setup

  1. Clone this repository:
git clone https://github.com/mingolladaniele/todoist-mcp.git
cd todoist-mcp
  1. Install dependencies:
pip install -r requirements.txt
  1. 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.

Usage

Running the server

python server.py

MCP Tool

The server provides the following MCP tool:

get_tasks_tool

Retrieves tasks with powerful filtering options.

Parameters:

  • filter_string: Advanced Todoist filter query string for complex filtering
  • priority: Optional priority level (1-4, where 1 is highest priority)

Example filter strings:

  • "today" - Tasks due today
  • "overdue" - Overdue tasks
  • "Jan 3" - Tasks due on January 3rd
  • "due before: May 5" - Tasks due before May 5th
  • "due after: May 5" - Tasks due after May 5th
  • "due before: +4 hours" - Tasks due within the next four hours and all overdue tasks
  • "no date" - Tasks with no due date
  • "5 days" or "next 5 days" - Tasks due in the next 5 days
  • "recurring" - Tasks with a recurring date

Setting up with Cursor AI

To use with Cursor AI, create or edit the MCP configuration file:

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.

Once you do that, go to Cursor Settings → MCP and check that the server is correctly running (green dot).

Project Structure

The codebase is organized into modules:

  • api/: API wrapper for Todoist
  • config/: Configuration and settings
  • utils/: Utility functions and helpers including task formatting

Roadmap

Here are the features planned for future releases:

  • Task Creation: Add new tasks to your Todoist directly from Cursor AI
  • Task Completion: Mark tasks as complete without switching context
  • Task Deletion: Remove tasks that are no longer needed
  • Smart Task Balancing: AI-powered task rebalancing based on:
    • Project priority
    • Time commitments
    • Due dates
    • Current workload
  • Project Management: Create and manage Todoist projects
  • Labels and Filters: Add custom labels and create saved filters

License

MIT License

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

iflow_mcp_mingolladaniele_todoist_mcp-0.1.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

  • Download URL: iflow_mcp_mingolladaniele_todoist_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_mingolladaniele_todoist_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a0cb923752359a6381086dab89a112ce3010e7fb4dd0e73da47b21b6b59bd4c5
MD5 39a5ec46d75a0559a3a1a4d0dffc7113
BLAKE2b-256 14ab32c1bef5d263431ac426054e163e5af1b9b6fa859e0c4db9ad09c7caaaf7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_mingolladaniele_todoist_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_mingolladaniele_todoist_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17e14268bf59c165dc65b7c4cd4072e4edfa3cad199a38427ec463e05edefd14
MD5 13fb3598ef6cffded7d1a7960e8d2eb1
BLAKE2b-256 cde0b20a49747887d053de7e358189902c9464c02d66da03f34f95f8151a40d9

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