Todoist MCP
Interact with your Todoist account to manage tasks and projects.
Todoist MCP
Note: predictably obsoleted by Todoist AI SDK, see here.
Connect this Model Context Protocol server to your LLM to interact with Todoist.
Functionality
This integration implements all the APIs available from the Todoist TypeScript Client, providing access to:
Task Management
- Create tasks (with content, descriptions, due dates, priorities, labels, and more)
- Create tasks with natural language (e.g., "Submit report by Friday 5pm #Work")
- Retrieve tasks (individual, filtered, or all tasks)
- Retrieve completed tasks (by completion date or due date)
- Get productivity statistics
- Update tasks
- Move tasks (individually or in batches)
- Close/reopen tasks
- Delete tasks
Project Management
- Create, retrieve, update, and delete projects
Section Management
- Create, retrieve, update, and delete sections within projects
Comment Management
- Add, retrieve, update, and delete comments for tasks or projects
Label Management
- Create, retrieve, update, and delete labels
- Manage shared labels
Collaboration
- Get collaborators for projects
Setup
Build the server app:
bun install
bun run build
Run in development
TODOIST_API_KEY=<key> bun dev
Docker deployment:
docker compose up -d
Debugging:
Use the inspector to debug the server:
bunx @modelcontextprotocol/inspector
Configure Claude:
You must install the Claude desktop app which supports MCP.
You can get your Todoist API key from Todoist > Settings > Integrations > Developer.
Then, in your claude_desktop_config.json, add a new MCP server:
{
"mcpServers": {
"default-server": {
"type": "streamable-http",
"url": "http://localhost:3000/mcp",
"note": "For Streamable HTTP connections, add this URL directly in your MCP Client"
}
}
}
You can now launch Claude desktop app and ask to update Todoist.
🔐 Security Features
This MCP server has been secured with enterprise-grade security measures:
- Authentication Required: JWT Bearer tokens or API key authentication
- Rate Limiting: Prevents abuse with configurable limits
- Input Validation: Comprehensive request validation and sanitization
- Security Headers: CORS, CSP, HSTS, and other security headers
- Logging & Monitoring: Security event logging and request monitoring
- Environment Configuration: Secure configuration via environment variables
See SECURITY.md for detailed security documentation.
Quick Security Setup
-
Generate secure tokens:
npm run setup-security -
Create
.envfile:cp .env.example .env # Add your generated tokens and Todoist API key -
Required Environment Variables:
JWT_SECRET=your_generated_jwt_secret_here TODOIST_API_KEY=your_todoist_api_key_here
Authentication
The server supports two authentication methods:
Method 1: API Key (Recommended for scripts)
curl -X POST http://localhost:3000/mcp \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}'
Method 2: JWT Bearer Token (Recommended for applications)
curl -X POST http://localhost:3000/mcp \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}'
Related Servers
Cal.com Calendar
Integrates with the Cal.com Calendar API for appointment scheduling.
writefreely-mcp-server
MCP server that enables AI agents to publish and manage content on Write.as and self-hosted WriteFreely instances.
Google Tasks
Manage your Google Tasks with an AI assistant using natural language.
moviepy-mcp
a moviepy mcp server currently with over 20 video and audio editing tools.
Zendesk MCP Server
Manage Zendesk tickets and comments, analyze tickets, draft responses, and access Help Center articles as a knowledge base.
Rember
Create spaced repetition flashcards in Rember to remember anything you learn in your chats
MCP iCal Server
A server for performing CRUD operations on the macOS Calendar app.
Goodday
A read-only server for the Goodday project management platform.
HackMD
A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.
ATLAS: Task Management System
A task management system for LLM agents to manage projects, tasks, and knowledge using a Neo4j database for complex workflow automation.