How to integrate Todoist MCP with Kimi Code

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Todoist logo
Kimi Code logo
divider

How to integrate Todoist MCP with Kimi Code

Kimi Code is Moonshot AI's open-source coding agent, powered by Kimi K2.6. It runs in your terminal, reads and edits code, executes shell commands, and plans multi-step tasks, with native MCP support for extending it to outside tools.

In this guide, I will explain the easiest and most secure way to connect your Todoist account to Kimi Code via Composio Connect, so it can add a high-priority task for today, create a new project called 'Team Offsite', close all completed tasks from this week, and more without ever putting your account credentials at risk.

Also integrate Todoist with

Why use Composio?

Composio provides:

  • Access to 1,000+ managed apps from a single MCP endpoint. This makes it convenient for agents to run cross-app workflows.
  • Managed OAuth. You do not have to worry about authentication and authorization flows for every app.
  • Programmatic tool calling. Allows LLMs to write code in a remote workbench to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
  • Large tool response handling outside the LLM context. This minimizes context bloat from large tool responses.
  • Dynamic just-in-time access to thousands of tools across hundreds of apps. Composio loads the tools your agent needs, so LLMs are not overwhelmed by tools they do not need.

Connect Todoist to Kimi Code

Kimi Code is a TypeScript agent distributed through npm. It acts as an MCP client and reads server definitions from an mcp.json file, and it can also add and authenticate servers conversationally through /mcp-config. Composio is a remote HTTP server that authenticates with OAuth, so no API key is stored anywhere.

1. Install Kimi Code

The quickest way is the official install script, which requires no pre-installed Node.js and places the kimi executable on your PATH.

bash
# macOS or Linux
curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash

# Windows PowerShell
irm https://code.kimi.com/kimi-code/install.ps1 | iex

# Confirm the installation
kimi --version

2. Log in

Start Kimi Code in your project directory, then sign in from the interactive UI:

bash
kimi

Run /login and choose Kimi Code OAuth using the device-code flow, or use a Moonshot API key.

3. Add Composio with /mcp-config

In current versions of Kimi Code, MCP servers are managed inside the app, not with a shell subcommand. From the interactive UI, run:

bash
/mcp-config
Kimi Code MCP config flow for adding the Composio MCP server

Tell it the server name and URL in plain language. For example:

Server name is Composio, and here is the server URL: https://connect.composio.dev/mcp

Kimi Code asks whether to add it globally, at ~/.kimi-code/mcp.json, or project-local for the current checkout, then writes the entry for you:

bash
{
  "mcpServers": {
    "Composio": {
      "url": "https://connect.composio.dev/mcp"
    }
  }
}

There is no transport field to set. Kimi Code infers HTTP from the url.

4. Restart the session

The new server is picked up on a fresh session, not the current one. Start a new session:

bash
/new

On the new session, Kimi Code detects that the server needs authorization and prompts you to run:

bash
/mcp-config login Composio

5. Authorize with OAuth

Run the command Kimi suggests:

bash
/mcp-config login composio

Kimi Code opens Composio's authorization page or surfaces a URL. Approve access, then return to the session. You should see confirmation that the Composio MCP server is connected.

Composio authorization page for Kimi Code MCP setup

Check the connection status any time with /mcp. Composio should appear as connected with its tools listed.

Kimi Code showing Composio connected after OAuth authorization

Connect your Todoist account

Back in a Kimi Code session, ask the agent to connect to Todoist or give it any Todoist-related task.

For example, ask it to:

  • "Add a high-priority task for today"
  • "Create a new project called 'Team Offsite'"
  • "Close all completed tasks from this week"

It will prompt you to authenticate and authorize access to Todoist.

That is it. Composio tools are now available in Kimi Code, and your Todoist account is ready to use.

Supported Tools & Triggers

Tools
Triggers
Add WorkspaceTool to create a new workspace in Todoist.
Archive Project (API v1)Tool to archive a project using Todoist API v1.
Bulk Create TasksCreate many tasks in one request using Todoist's Sync batching.
Close Task (API v1)Tool to close (complete) a task in Todoist using API v1.
Create Comment (API v1)Tool to create a new comment on a project or task using Todoist API v1.
Create Label (API v1)Tool to create a new personal label using API v1.
Create Project (API v1)Tool to create a new project in Todoist using the unified API v1.
Create Section (API v1)Tool to create a new section within a project using API v1.
Create taskCreate a new task in Todoist using the unified API v1.
Delete CommentTool to delete a specific comment from Todoist by its ID.
Delete Label (V1)Tool to delete a personal label using API v1.
Delete Project (API v1)Tool to delete a project and all of its sections and tasks using Todoist API v1.
Delete Section (v1)Tool to delete a section and all tasks within it.
Delete TaskTool to delete a specific task from Todoist.
Delete UploadTool to delete an uploaded file from Todoist.
Export Template As FileTool to export a Todoist project as a CSV template file.
Export Template As URLTool to export a Todoist project as a shareable template URL.
Filter TasksTool to get all tasks matching the filter.
Get All CommentsThis tool retrieves all comments associated with a specific task or project in Todoist.
Get all projectsGet all projects from a user's Todoist account.
Get All TasksFetches all INCOMPLETE tasks from Todoist and returns their details.
Get BackupsTool to list all available backup archives for the user.
Get Comment (V1)Tool to retrieve a single comment by ID using the v1 API.
Get Completed Tasks By Completion DateTool to retrieve completed tasks within a specified completion date window.
Get ID MappingsTool to translate IDs between Todoist API v1 and v2.
Get Personal LabelTool to retrieve a personal label by its ID.
Get Productivity StatsTool to retrieve comprehensive productivity statistics for the authenticated user.
Get Project (API v1)Tool to retrieve a specific project by its ID using Todoist API v1.
Get Full Project DataTool to retrieve full project data including all sections, tasks, and collaborators.
Get Project PermissionsTool to retrieve all available roles and their associated actions in Todoist projects.
Get Section (v1 API)Tool to retrieve a specific section by its ID using Todoist v1 API.
Get Special BackupsTool to list special backup archives for the authenticated user's projects.
Get Task (API v1)Tool to retrieve a single active (non-completed) task by ID using API v1.
Get UserTool to retrieve information about the currently authenticated user.
Get Workspace Plan DetailsTool to retrieve details about a workspace's current plan and usage.
Import Template Into Project By IDTool to import a template from Todoist's template gallery into an existing project.
Import Template Into Project From FileTool to import a CSV template into an existing Todoist project from a file.
Invite Project CollaboratorTool to invite a collaborator to a Todoist project by email.
List ActivitiesTool to get activity logs from Todoist.
List All Workspace InvitationsTool to return a list containing details of all pending invitations to a workspace.
List Archived ProjectsTool to get all archived projects from Todoist.
List Archived SectionsTool to retrieve all archived sections for a specific project in Todoist.
List Archived Workspace ProjectsTool to list all archived projects in a workspace.
List Completed TasksTool to retrieve all completed tasks with optional project filtering.
List Completed Tasks By Due DateTool to retrieve completed tasks within a specified due date range (up to 6 weeks).
List FiltersTool to list all filters for the authenticated user.
List Joinable WorkspacesTool to get workspaces the user can join.
List LabelsTool to get all user labels with pagination support.
List Pending Workspace InvitationsTool to list pending invitation emails in a workspace.
List Project CollaboratorsTool to get all collaborators for a given project with cursor-based pagination.
List SectionsTool to get all active sections for the user, with optional filtering by project.
List Shared LabelsTool to retrieve shared label names from active tasks with pagination support.
List Workspace Active ProjectsTool to list all active workspace projects.
List Workspace Archived ProjectsTool to get archived projects in a workspace.
List Workspace InvitationsTool to list user emails with pending invitations to a workspace.
List Workspace UsersTool to list users in workspace(s).
Move TaskTool to move a task to another project, section, or parent task while preserving task identity and metadata.
Move Task (REST API)Tool to move a task to another project, section, or parent task using the REST API.
Quick Add TaskTool to add tasks using natural language parsing similar to the official Todoist clients.
Remove Shared Label (API v1)Tool to remove a shared label from all active tasks using API v1.
Rename Shared Labels (API v1)Tool to rename a shared label across all active tasks using API v1.
Reopen Task (API v1)Tool to reopen a completed task in Todoist using API v1.
Reorder TasksReorder tasks deterministically by updating child_order in bulk via the Sync API item_reorder command.
Search LabelsTool to search user labels by name with case-insensitive matching.
Search ProjectsSearch active user projects by name with support for wildcards and pagination.
Search SectionsTool to search active sections by name, optionally filtered by project.
Todoist SyncTool to sync data with Todoist server, supporting both read and write operations.
Unarchive Project (API v1)Tool to unarchive a previously archived Todoist project using API v1.
Update Comment (v1)Tool to update a comment by ID and return its content via v1 API.
Update Label (API v1)Tool to update an existing label using API v1.
Update Notification SettingTool to update notification settings for the current user.
Update Project (API v1)Tool to update a project's properties using Todoist API v1.
Update Section (v1)Tool to update an existing section by its ID using Todoist v1 API.
Update TaskTool to update an existing task's properties.
Update Workspace LogoTool to upload an image as the workspace logo or delete the existing logo.
Upload FileTool to upload a file to Todoist.

Conclusion

You have successfully connected Todoist to Kimi Code using Composio Connect. Your agent can now manage Todoist from the terminal with natural language, without exposing credentials in prompts or local scripts.

Since the same Composio endpoint exposes 1,000+ apps, you can add Slack, Calendar, Linear, and more to the same server and chain them into cross-app workflows.

How to build Todoist MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Todoist MCP?

With a standalone Todoist MCP server, the agents and LLMs can only access a fixed set of Todoist tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Todoist and many other apps based on the task at hand, all through a single MCP endpoint.

Can I use Tool Router MCP with Kimi Code?

Yes, you can. Kimi Code fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Todoist tools.

Can I manage the permissions and scopes for Todoist while using Tool Router?

Yes, absolutely. You can configure which Todoist scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Todoist data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.