An MCP server for integrating Todoist with Cursor AI. Requires a Todoist API token.
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.
To install TaskMaster for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mingolladaniele/taskMaster-todoist-mcp --client claude
git clone https://github.com/mingolladaniele/todoist-mcp.git
cd todoist-mcp
pip install -r requirements.txt
# 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.
python server.py
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 filteringpriority
: 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 dateTo 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).
The codebase is organized into modules:
api/
: API wrapper for Todoistconfig/
: Configuration and settingsutils/
: Utility functions and helpers including task formattingHere are the features planned for future releases:
MIT License
MCP server for the Computer-Use Agent (CUA), allowing you to run CUA through Claude Desktop or other MCP clients.
Full implementation of Todoist Rest API for MCP server
AnkiConnect MCP server for interacting with Anki via AnkiConnect.
A server that facilitates structured, progressive thinking through defined stages.
A server for date-time manipulation and timezone conversion.
Human-in-the-loop platform - Allow AI agents and automations to send requests for approval to your gotoHuman inbox.
A Python-based MCP server that allows AI LLMs to execute trades on the MetaTrader 5 platform.
Integrates with Linear project management systems.
Manage your Todoist tasks and projects using the Todoist Python API.
A CalDAV MCP server to expose calendar operations as tools for AI assistants.