Home / MCP / TaskMaster Todoist MCP Server
Provides a TaskMaster MCP server to query and filter Todoist tasks from Cursor AI with rich task details.
Configuration
View docs{
"mcpServers": {
"todoist_mcp": {
"command": "python",
"args": [
"server.py"
],
"env": {
"TODOIST_API_TOKEN": "YOUR_API_TOKEN"
}
}
}
}You run a TaskMaster MCP server that lets Cursor AI access and manage your Todoist tasks directly from your coding environment. It supports flexible filtering, rich task formatting, and seamless integration so you can query tasks, deadlines, and priorities without leaving your editor.
You connect using an MCP client by configuring an MCP entry that points to your local TaskMaster Todoist MCP server. Start the server and ensure the connection shows as running in your Cursor AI settings. Use the server’s get_tasks_tool to fetch tasks with advanced filters such as due dates, priorities, or combinations of criteria. The tool returns tasks with their priority, due date, and other useful details so you can act on them from within your coding workflow.
Prerequisites you need before installation are Python 3.10 or higher, Poetry for dependency management, and a Todoist account with an API token.
Step 1: Install Python dependencies
pip install -r requirements.txtStep 2: 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"Step 3: Run the server
python server.pyStep 4: Configure Cursor AI to connect to the MCP server
{
"mcpServers": {
"todoist_mcp": {
"command": "python",
"args": [
"server.py"
],
"env": {
"TODOIST_API_TOKEN": "your-api-token-here"
}
}
}
}The server exposes a single MCP tool named get_tasks_tool that accepts a filter_string and an optional priority to refine task results. Use this to pull exactly the tasks you need, such as overdue items, due today, or tasks with no due date.
Keep your Todoist API token secure. Do not commit it to code repositories. Rotate tokens periodically and use environment variables to supply credentials at runtime. Regularly update dependencies to keep the MCP server secure and compatible with Cursor AI.
Retrieves tasks from Todoist with advanced filters. Supports filter_string for complex Todoist queries and an optional priority to narrow results.