MCP cover image
See in Github
2025-03-26

轻巧的模型上下文协议(MCP)服务器,可以直接从IDE与您的Todoist任务进行自然语言交互。以简单性和可维护性为基础。

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.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

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

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

    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.