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_todoist_mcp-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

iflow_mcp_todoist_mcp-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iflow_mcp_todoist_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"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_todoist_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9881d334fd031676e17252d84d5b657e8a474736052a3cac9a4c53b272bb6c74
MD5 e0503848ffd46dbc76f48ddbb23a5a74
BLAKE2b-256 13739588eacf9c158085e7c90589c437e4fccebc932f12b07183cb38505e1ec2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_todoist_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"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_todoist_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a606ad5174bf06e7ca307434a4b81b89df95b034cb139d9f76e22703cada9bec
MD5 facf8d4d2cc8ad45efbbe3485e5e5efd
BLAKE2b-256 a67e6670b29931cc7888f09894167271ea39fe67a3b47967960dedbe2883265e

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