todoist-mcp
Provides tools for managing Todoist tasks, including listing, adding, updating, completing, deleting, and moving tasks, with support for subtask hierarchy and filtering.
Click on "Deploy 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-mcplist my tasks for today"
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 — Cloudflare Worker
A Model Context Protocol (MCP) server for Todoist, hosted on Cloudflare Workers. Lets any AI assistant (Claude, GPT, Gemini, etc.) read and manage your Todoist tasks.
Built against the Todoist unified API v1 (
https://api.todoist.com/api/v1). The older REST v2 / Sync v9 APIs are deprecated.
How it works
Telegram message
↓
Your bot
↓
LLM (Claude / GPT / Gemini / etc.)
↓ calls tools via MCP JSON-RPC
This Worker ←→ Todoist APIThe Worker exposes a single POST / endpoint that speaks MCP JSON-RPC. Your bot connects to it and the LLM can call any of the 6 tools to read/write tasks.
Related MCP server: Todoist MCP Server
Your data model
You use Todoist's task/subtask hierarchy to simulate projects:
Todoist concept | Your meaning |
Top-level task (no parent) | "Project" — e.g. Create telegram assistant bot |
Subtask (has parent_id) | Actual step — e.g. Set up todoist MCP |
Top-level task (standalone) | Simple task — e.g. Mop the floor |
This matters for the AI: when you say "add a task to my Telegram bot project", the AI should find the parent task ID first, then call add_task with that parent_id.
Tools
Tool | What it does |
| List all tasks, optionally filtered. Use |
| Create a top-level task or subtask (pass |
| Edit title, description, due date, priority, or labels. |
| Mark a task done. |
| Delete a task (and all its subtasks). |
| Move a subtask under a different parent (different "project"), or promote to top-level. |
Priority values
1= Normal (default)2= Medium3= High4= Urgent
Filtering
The filter parameter accepts Todoist filter query syntax (e.g. "today", "overdue", "@work & p1"). When set, it takes precedence over mode/parent_id/label and returns a flat list.
Setup
1. Install dependencies
npm install2. Set your secrets
Get your Todoist token from todoist.com/app/settings/integrations/developer.
# Your Todoist API token
npx wrangler secret put TODOIST_API_TOKEN
# A shared secret your bot sends to authenticate to this Worker.
# Generate a long random string, e.g.: openssl rand -hex 32
npx wrangler secret put MCP_SECRETWhy MCP_SECRET? The Worker is on the public internet. Without this gate, anyone who finds the URL could read, edit, and delete your entire Todoist. Your bot must send it as
Authorization: Bearer <MCP_SECRET>on every request.
3. Deploy
npm run deployYour endpoint: https://todoist-mcp.<your-subdomain>.workers.dev
Local development
# Put both secrets in .dev.vars (already gitignored):
# TODOIST_API_TOKEN=your_token_here
# MCP_SECRET=pick_a_long_random_string_here
npm run dev
# → http://localhost:8787Connecting to your AI
See ai-system-prompt.md for the system prompt block to add to your Telegram bot so the AI knows how to use these tools correctly.
How to call a tool (raw JSON-RPC)
Every request needs the Authorization: Bearer <MCP_SECRET> header.
POST https://todoist-mcp.<your-subdomain>.workers.dev
Authorization: Bearer <your MCP_SECRET>
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_task",
"arguments": {
"content": "Set up todoist MCP",
"parent_id": "12345678",
"due_string": "tomorrow",
"priority": 3
}
}
}Discover available tools
{ "jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {} }This server cannot be deployed
Maintenance
Related MCP Connectors
- mcpOAuthnet.todoist
Official Todoist MCP server for AI assistants to manage tasks, projects, and workflows.
Cloudflare Workers MCP server: ai-agent-scratchpad
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-model-router
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA self-hosted MCP server that wraps the official Todoist AI package to provide over 35 tools for managing tasks and projects. It features a Dockerized setup with automatic TLS, enabling seamless integration with AI clients like Claude and Cursor.338 npm-
- AlicenseNot gradedqualityDmaintenanceA proof-of-concept MCP server that interacts with Todoist using OAuth-based authorization and is deployed on Cloudflare Workers.4MIT
- FlicenseNot gradedqualityCmaintenanceA lightweight project and todo management MCP server built on Cloudflare Workers, allowing users to create projects, add todos, and track progress.-
- FlicenseNot gradedqualityBmaintenanceMCP server running on Cloudflare Workers that exposes a create_google_task tool to send tasks to Google Tasks via IFTTT Maker webhook.1-