如何将 Todoist 远程 MCP 连接到 VS Code
约 1 分钟即可把 Doist 的远程 MCP 服务端接入 VS Code。如需排查 OAuth / 401 问题,可先用 OAuth 2.1 调试器体检端点。
Streamable HTTPhttps://ai.todoist.net/mcp
Install in Cursor →
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"todoist": {
"url": "https://ai.todoist.net/mcp"
}
}
}claude mcp add --transport http todoist https://ai.todoist.net/mcp
Install in VS Code →
Or add to .vscode/mcp.json:
{
"servers": {
"todoist": {
"type": "http",
"url": "https://ai.todoist.net/mcp"
}
}
}- Open Settings → Connectors (Integrations) → Add Custom Connector.
- Paste the endpoint URL:
https://ai.todoist.net/mcp - Complete the browser OAuth 2.1 login flow when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"todoist": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ai.todoist.net/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"todoist": {
"serverUrl": "https://ai.todoist.net/mcp"
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"todoist": {
"url": "https://ai.todoist.net/mcp"
}
}
}Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.todoist] url = "https://ai.todoist.net/mcp"
Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"todoist": {
"type": "streamableHttp",
"url": "https://ai.todoist.net/mcp"
}
}
}Add to ~/.gemini/settings.json under mcpServers — httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"todoist": {
"httpUrl": "https://ai.todoist.net/mcp"
}
}
}接入步骤
- 打开 MCP 配置 — 使用本页 vscode: deeplink 一键安装,或在项目根目录创建
.vscode/mcp.json。 - 添加服务端 — 写入
{ "servers": { "todoist": { "type": "http", "url":https://ai.todoist.net/mcp} } }。 - 完成认证 — 首次调用时客户端会打开 Doist 的 OAuth 授权页面——点击允许后工具即可用。
- 验证 — 重启 Copilot Chat 选择 Agent 模式后可看到工具。在 在线 Inspector 中粘贴
https://ai.todoist.net/mcp并运行 initialize + tools/list 验证连通性。
🧰 工具预览(6)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| find_tasks ~69 tok | 🟢 Read | Find tasks by filter, project, label or due date. | query: stringprojectId: string |
| add_tasks ~60 tok | 🟠 Write | Add one or more tasks with natural-language due dates. | tasks*: array |
| complete_tasks ~54 tok | 🟠 Write | Mark tasks as completed. | taskIds*: array |
| get_projects ~32 tok | 🟢 Read | List all Todoist projects. | — |
| add_project ~58 tok | 🟠 Write | Create a new project. | name*: stringcolor: string |
| find_completed_tasks ~48 tok | 🟢 Read | List recently completed tasks. | since: string |