todoist-mcp
Allows interaction with Todoist API for task management (create, update, complete, delete), querying tasks by project, label, priority, or filter, and managing projects and labels.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@todoist-mcpcreate a task to buy groceries tomorrow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Todoist MCP Server
A specialized Model Context Protocol (MCP) server for Todoist task management. This Docker-based server enables Claude Desktop and other MCP clients to interact with Todoist for creating, updating, and querying tasks.
Features
Task Management: Create, update, complete, and delete tasks
Smart Queries: Get tasks by project, label, priority, or filter
Project & Label Management: Organize your tasks efficiently
Redis Caching: Optional caching for improved performance
Docker Support: Easy deployment with Docker and Docker Compose
Related MCP server: Todoist MCP Server
Prerequisites
Docker and Docker Compose (for containerized deployment)
Todoist Account: Sign up for Todoist
Todoist API Token: Get your token from Todoist Integration Settings
Claude Desktop (optional): For MCP client integration
Quick Start
1. Clone and Configure
cd todoist-mcp
cp .env.example .env.localEdit .env.local and add your Todoist API token:
TODOIST_API_TOKEN=your-todoist-api-token-here
DEBUG=false
# Optional Redis caching
REDIS_HOST=
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_USE_SSL=false2. Run with Docker Compose
docker-compose up --buildThe server will start in stdio mode, ready to accept MCP connections.
3. Connect to Claude Desktop
Add this configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"todoist": {
"command": "docker",
"args": ["compose", "-f", "/path/to/todoist-mcp/docker-compose.yml", "run", "--rm", "todoist-mcp"]
}
}
}Restart Claude Desktop to activate the server.
Configuration
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Your Todoist API token |
| No |
| Enable debug logging |
| No | - | Redis server hostname (for caching) |
| No |
| Redis server port |
| No | - | Redis password |
| No |
| Use SSL for Redis connection |
Available MCP Tools
The Todoist MCP server provides the following tools:
Task Operations
create_task- Create a new taskupdate_task- Update an existing taskcomplete_task- Mark a task as completedelete_task- Delete a taskuncomplete_task- Reopen a completed task
Task Queries
get_tasks_today- Get all tasks due todayget_overdue_tasks- Get all overdue tasksget_tasks_by_project- Get tasks from a specific projectget_tasks_by_label- Get tasks with a specific labelget_tasks_by_priority- Get tasks by priority levelget_tasks_by_filter- Query tasks using Todoist filter syntax
Project Management
get_projects- List all projectscreate_project- Create a new projectupdate_project- Update a projectdelete_project- Delete a project
Label Management
get_labels- List all labelscreate_label- Create a new labelupdate_label- Update a labeldelete_label- Delete a label
Server Management
get_server_status- Check server healthget_server_config- View server configurationget_cache_stats- View cache performance metricsclear_cache- Clear cached dataget_cache_info- View Redis server information
Local Development
Without Docker
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtSet environment variables:
export TODOIST_API_TOKEN=your-api-tokenRun the server:
python server.pyWith Docker
Build and run:
docker build -t todoist-mcp .
docker run -e TODOIST_API_TOKEN=your-token todoist-mcpTesting
Test Server Status
You can test the server by connecting via Claude Desktop and asking:
"What's the status of my Todoist server?"
Test Task Operations
"Create a task called 'Test task' in my Inbox" "Show me all tasks due today" "Mark task ID 12345 as complete"
Troubleshooting
"Todoist API token not configured"
Solution: Ensure TODOIST_API_TOKEN is set in your .env.local file or environment variables.
Connection Issues
Solution:
Verify your API token is correct
Check your internet connection
Ensure Docker container has network access
Cache Not Working
Solution:
Verify Redis connection settings
Ensure Redis server is running
Check Redis credentials and SSL settings
Architecture
The Todoist MCP server follows this architecture:
Claude Desktop
↓ (stdio)
Docker Container
↓
MCP Server (FastMCP)
↓
Todoist Service
↓
Todoist APIOptional Redis caching layer improves performance by reducing API calls.
Security Notes
Never commit your
.env.localfile or API tokens to version controlUse environment-specific
.envfilesConsider using Docker secrets for production deployments
API tokens are never exposed through MCP tool responses
License
This project is provided as-is for personal use.
Support
For Todoist API documentation, visit: https://developer.todoist.com/
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/amattas/todoist-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server