home / mcp / mcp todoist mcp server
Provides Todoist task and project management via MCP by translating calls to Todoist REST API actions.
Configuration
View docs{
"mcpServers": {
"kentaroh7777-mcp-todoist": {
"command": "tsx",
"args": [
"script/run-mcp-server.ts"
],
"env": {
"TODOIST_API_TOKEN": "YOUR_TODOIST_API_TOKEN"
}
}
}
}You have an MCP server that exposes a Todoist API-compatible interface through a Node.js and TypeScript implementation. This server connects with Todoist to manage tasks and projects via the MCP protocol, enabling AI agents and other clients to call tools like creating, updating, listing, and completing tasks and projects in Todoist through a standardized, protocol-based workflow.
You interact with the MCP Todoist server through an MCP-enabled client. Start by initializing the server, then call the available tools to retrieve tasks, create or update tasks, manage projects, and mark items as complete. The server exposes a set of tools that you can invoke from your client, and it handles the Todoist API interactions on your behalf so you can focus on higher-level automation and workflows.
Prerequisites: you need Node.js 18+, npm or yarn, and an environment capable of running MCP servers (like a local shell or an automation tool). You also need a Todoist API token for authenticating requests.
Step 1: Install dependencies
npm installStep 2: Build the MCP server
cd packages/mcp-server
npm run build
cd ../..Step 3: Run tests against the MCP server to fetch a task list (example assumes you have a Todoist API token set in the environment). Use the provided test command to exercise the task-list retrieval tool.
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"todoist_get_tasks","arguments":{}}}' | TODOIST_API_TOKEN=your-api-token npx tsx script/run-mcp-server.tsConfiguration and usage details are maintained within the MCP setup. The server supports environment-driven authentication via the Todoist API token, which you provide in the environment variable TODOIST_API_TOKEN. The server implements a set of MCP tools for interacting with Todoist resources.
Retrieve a list of tasks with optional filters such as project, search filters, and limit.
Create a new Todoist task with required content and optional description, project, priority, due date string, and labels.
Update an existing Todoist task identified by task_id with new content, description, priority, due date, and labels.
Mark a specified task as completed in Todoist.
List all projects accessible in Todoist for the authenticated user.
Create a new project with a required name and optional color, parent project, and favorite flag.
Update an existing project by project_id with new name, color, or favorite status.
Delete a project specified by project_id.