
doist/todoist-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
doist/todoist-mcp — это кандидат-сервер MCP, импортированный из https://github.com/doist/todoist-mcp.
Обзор
doist/todoist-mcp — это кандидат-сервер MCP, импортированный из https://github.com/doist/todoist-mcp.
Обзор (машинный перевод)
Библиотека для подключения агентов ИИ к Todoist. Включает инструменты, которые можно интегрировать в LLM, что позволяет им получать доступ и изменять аккаунт Todoist от имени пользователя.
Эти инструменты могут использоваться как через MCP-сервер, так и импортироваться напрямую в другие проекты Интегрируйте их в свои собственные интерфейсы ИИ.
Использование инструментов
1. Добавьте этот репозиторий как зависимость
2. Импортируйте инструменты и подключайте их к ИИ
Вот пример с использованием AI SDK от Vercel.
Использование в качестве MCP-сервера
Быстрый старт
Вы можете запускать MCP-сервер напрямую с помощью npx:
Руководство по установке
Todoist MCP-сервер доступен как потоковый HTTP-сервис для удобной интеграции с различными AI-клиентами:
Основной URL (Streamable HTTP): https://ai.todoist.net/mcp
Клод Десктоп
- Откройте настройки → разъёмов → добавьте пользовательский разъём
- Введите
https://ai.todoist.net/mcpи завершите аутентификацию OAuth
Курсор
Создайте конфигурационный файл:
- Глобально:
~/.cursor/mcp.json - Проектно-специфический:
.cursor/mcp.json
Затем включить сервер в настройках курсора, если запросят.
Код Клода (CLI)
Самая быстрая настройка — это официальный плагин Todoist, который подключает MCP-сервер для вас:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Todoist MCP Server
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.
Using tools
1. Add this repository as a dependency
npm install @doist/todoist-mcp
2. Import the tools and plug them to an AI
Here’s an example using Vercel’s AI SDK.
import { findTasksByDate, addTasks } from '@doist/todoist-mcp'
import { TodoistApi } from '@doist/todoist-sdk'
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),
},
})
Using as an MCP server
Quick Start
You can run the MCP server directly with npx:
npx @doist/todoist-mcp
Setup Guide
The Todoist 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
Claude Desktop
- Open Settings → Connectors → Add custom connector
- Enter
https://ai.todoist.net/mcpand complete OAuth authentication
Cursor
Create a configuration file:
- Global:
~/.cursor/mcp.json - Project-specific:
.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.
Claude Code (CLI)
The fastest setup is the official Todoist plugin, which wires up the MCP server for you:
/plugin marketplace add doist/todoist-mcp
/plugin install todoist@doist
OAuth runs in your browser the first time you use a Todoist tool. See Anthropic’s plugin docs for more.
If you’d rather configure the MCP server manually, run:
claude mcp add --transport http todoist https://ai.todoist.net/mcp
Then launch claude, execute /mcp, and select the todoist MCP server to authenticate.
Visual Studio Code
- Open Command Palette → MCP: Add Server
- Select HTTP transport and use:
{
"servers": {
"todoist": {
"type": "http",
"url": "https://ai.todoist.net/mcp"
}
}
}
Other MCP Clients
Установка
npx -y mcp-remote https://ai.todoist.net/mcpКонфигурация
{
"mcpServers": {
"todoist": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://ai.todoist.net/mcp"]
}
}
}