
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@doist/todoist-ai
Advanced tools
Library for connecting AI agents to Todoist. Includes tools that can be integrated into LLMs, enabling them to access and modify a Todoist account on the user's behalf.
These tools can be used both through an MCP server, or imported directly in other projects to integrate them to your own AI conversational interfaces.
npm install @doist/todoist-ai
Here's an example using Vercel's AI SDK.
import { findTasksByDate, addTasks } from "@doist/todoist-ai";
import { TodoistApi } from "@doist/todoist-api-typescript";
import { streamText } from "ai";
// Create Todoist API client
const client = new TodoistApi(process.env.TODOIST_API_KEY);
// Helper to wrap tools with the client
function wrapTool(tool, todoistClient) {
return {
...tool,
execute(args) {
return tool.execute(args, todoistClient);
},
};
}
const result = streamText({
model: yourModel,
system: "You are a helpful Todoist assistant",
tools: {
findTasksByDate: wrapTool(findTasksByDate, client),
addTasks: wrapTool(addTasks, client),
},
});
You can run the MCP server directly with npx:
npx @doist/todoist-ai
The Todoist AI MCP server is available as a streamable HTTP service for easy integration with various AI clients:
Primary URL (Streamable HTTP): https://ai.todoist.net/mcp
https://ai.todoist.net/mcp and complete OAuth authenticationCreate a configuration file:
~/.cursor/mcp.json.cursor/mcp.json{
"mcpServers": {
"todoist": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://ai.todoist.net/mcp"]
}
}
}
Then enable the server in Cursor settings if prompted.
Firstly configure Claude so it has a new MCP available using this command:
claude mcp add --transport http todoist https://ai.todoist.net/mcp
Then launch claude, execute /mcp, then select the todoist MCP server.
This will take you through a wizard to authenticate using your browser with Todoist. Once complete you will be able to use todoist in claude.
{
"servers": {
"todoist": {
"type": "http",
"url": "https://ai.todoist.net/mcp"
}
}
}
npx -y mcp-remote https://ai.todoist.net/mcp
For more details on setting up and using the MCP server, including creating custom servers, see docs/mcp-server.md.
A key feature of this project is that tools can be reused, and are not written specifically for use in an MCP server. They can be hooked up as tools to other conversational AI interfaces (e.g. Vercel's AI SDK).
This project is in its early stages. Expect more and/or better tools soon.
Nevertheless, our goal is to provide a small set of tools that enable complete workflows, rather than just atomic actions, striking a balance between flexibility and efficiency for LLMs.
For our design philosophy, guidelines, and development patterns, see docs/tool-design.md.
For a complete list of available tools, see the src/tools directory.
This server includes search and fetch tools that follow the OpenAI MCP specification, enabling seamless integration with OpenAI's MCP protocol. These tools return JSON-encoded results optimized for OpenAI's requirements while maintaining compatibility with the broader MCP ecosystem.
See docs/mcp-server.md for full instructions on setting up the MCP server.
See docs/dev-setup.md for full instructions on setting up this repository locally for development and contributing.
After cloning and setting up the repository:
npm start - Build and run the MCP inspector for testingnpm run dev - Development mode with auto-rebuild and restartThis project uses release-please to automate version management and package publishing.
Make your changes using Conventional Commits:
feat: for new features (minor version bump)fix: for bug fixes (patch version bump)feat!: or fix!: for breaking changes (major version bump)docs: for documentation changeschore: for maintenance tasksci: for CI changesWhen commits are pushed to main:
After merging the release PR:
publish workflow is triggeredFAQs
A collection of tools for Todoist using AI
The npm package @doist/todoist-ai receives a total of 1,049 weekly downloads. As such, @doist/todoist-ai popularity was classified as popular.
We found that @doist/todoist-ai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.