MT

mingolladaniele/taskmaster-todoist-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

42 stars 7 forks 质量 58 趋势 0

mingolladaniele/taskmaster-todoist-mcp 是从 https://github.com/mingolladaniele/taskmaster-todoist-mcp. 导入的 MCP 服务器候选人

概览

mingolladaniele/taskmaster-todoist-mcp 是从 https://github.com/mingolladaniele/taskmaster-todoist-mcp. 导入的 MCP 服务器候选人

概述(AI 翻译)

一款专为 Cursor AI 开发的 Todoist 集成模型上下文协议(MCP)服务器实现。该服务器允许 Cursor AI 助手直接从编程环境中与你的 Todoist 任务交互。

演示视频

特色

  • 灵活任务过滤:使用Todoist强大的过滤语法过滤任务
  • 按截止日期筛选:今天、明天、逾期
  • 按优先级(1-4,1为最高)进行过滤
  • 使用复杂查询组合进行过滤
  • 丰富的任务格式:每个任务显示优先级、截止日期及其他相关信息,图标清晰
  • Cursor AI 集成:在你的 Cursor AI 编码环境中无缝使用 Todoist

安装

通过Smithery安装

通过Smithery自动安装Claude Desktop的TaskMaster:

先决条件

  • Python 3.10 或更高版本
  • 诗歌(依赖管理)
  • Todoist 账户和 API 令牌

布置

  1. 克隆此仓库:

  2. 安装依赖:

  3. 将你的 Todoist API 令牌设置为环境变量:

你可以在 Todoist 设置→开发者集成→中找到你的 Todoist API 令牌。

用途

运行服务器

MCP工具

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🚀 TaskMaster: Todoist MCP for Cursor AI

A Model Context Protocol (MCP) server implementation for Todoist integration, specifically developed for Cursor AI. This server allows Cursor AI assistants to interact with your Todoist tasks directly from your coding environment.

Demo Video

Features

  • Flexible Task Filtering: Filter tasks using Todoist’s powerful filter syntax
    • Filter by due date: today, tomorrow, overdue
    • Filter by priority levels (1-4, where 1 is highest)
    • Filter using complex query combinations
  • Rich Task Formatting: Each task displays priority, due date, and other relevant information with clear icons
  • Cursor AI Integration: Seamlessly use Todoist within your Cursor AI coding environment

Installation

Installing via Smithery

To install TaskMaster for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mingolladaniele/taskMaster-todoist-mcp --client claude

Prerequisites

  • Python 3.10 or higher
  • Poetry (for dependency management)
  • Todoist account and API token

Setup

  1. Clone this repository:
git clone https://github.com/mingolladaniele/todoist-mcp.git
cd todoist-mcp
  1. Install dependencies:
pip install -r requirements.txt
  1. Set your Todoist API token as an environment variable:
# Linux/macOS
export TODOIST_API_TOKEN="your-api-token-here"

# Windows
set TODOIST_API_TOKEN="your-api-token-here"

You can find your Todoist API token in Todoist settings → Integrations → Developer.

Usage

Running the server

python server.py

MCP Tool

The server provides the following MCP tool:

get_tasks_tool

Retrieves tasks with powerful filtering options.

Parameters:

  • filter_string: Advanced Todoist filter query string for complex filtering
  • priority: Optional priority level (1-4, where 1 is highest priority)

Example filter strings:

  • "today" - Tasks due today
  • "overdue" - Overdue tasks
  • "Jan 3" - Tasks due on January 3rd
  • "due before: May 5" - Tasks due before May 5th
  • "due after: May 5" - Tasks due after May 5th
  • "due before: +4 hours" - Tasks due within the next four hours and all overdue tasks
  • "no date" - Tasks with no due date
  • "5 days" or "next 5 days" - Tasks due in the next 5 days
  • "recurring" - Tasks with a recurring date

Setting up with Cursor AI

To use with Cursor AI, create or edit the MCP configuration file:

在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @mingolladaniele/taskMaster-todoist-mcp --client claude
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "todoist-mcp": { "command": "C:/Users/<username>/path/to/todoist-mcp/.venv/Scripts/python.exe", "args": [ "C:/Users/<username>/path/to/todoist-mcp/server.py" ], "env": { "TODOIST_API_TOKEN": "your-api-token-here" } } } }