Cover image
Try Now
2025-03-26

Un serveur de protocole de contexte de modèle léger (MCP) qui permet une interaction en langage naturel avec vos tâches tabatives directement à partir de votre IDE. Construit avec simplicité et maintenabilité à l'esprit.

3 years

Works with Finder

2

Github Watches

1

Github Forks

10

Github Stars

🚀 TaskMaster: Todoist MCP for Cursor AI

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

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

    Reviews

    2 (1)
    Avatar
    user_2HrZ5G5P
    2025-04-18

    As a devoted user of the TaskMaster-todoist-mcp, I find it indispensable for managing my daily tasks. The integration with Todoist is seamless and enhances productivity remarkably. The intuitive interface and robust features make task management effortless. Kudos to mingolladaniele for this fantastic tool! Highly recommend checking it out at https://github.com/mingolladaniele/taskMaster-todoist-mcp.