TickTick MCP Server 标志

TickTick MCP Server

社区
alexarevalo9

A Model Context Protocol (MCP) server designed to integrate with the TickTick task management platform, enabling intelligent context-aware task operations and automation.

发布者alexarevalo9
代码仓库ticktick-mcp-server
语言TypeScript
复刻数
24
星标数
73
可用工具
11
传输类型stdio
分类
链接
  • 将工具接入 AI 工作流

    TickTick MCP Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 11 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 73 个 Star 和 24 个 Fork。

TickTick MCP Server

MCP Server for the TickTick API, enabling task management, project organization, habit tracking, and more.

Features

  • ✅ Task Management: Create, read, update, and delete tasks with all available properties
  • 📊 Project Management: Create, read, update, and delete projects with customizable views
  • 📋 Subtask Support: Full support for managing subtasks within parent tasks
  • 🔄 Complete Task Control: Set priorities, due dates, reminders, and recurring rules
  • 🔐 OAuth Authentication: Full OAuth2 implementation for secure API access
  • ⚠️ Comprehensive Error Handling: Clear error messages for common issues

Tools

  1. get_task_by_ids

    • Get a specific task by project ID and task ID
    • Inputs:
      • projectId (string): Project identifier
      • taskId (string): Task identifier
    • Returns: Task object matching TickTickTaskSchema
  2. create_task

    • Create a new task in a project
    • Inputs:
      • title (string): Task title
      • projectId (string): Project id
      • content (optional string): Task content
      • desc (optional string): Task description
      • isAllDay (optional boolean): Is all day task
      • startDate (optional string): Task start date in "yyyy-MM-dd'T'HH:mm:ssZ" format
      • dueDate (optional string): Task due date in "yyyy-MM-dd'T'HH:mm:ssZ" format
      • timeZone (optional string): Task time zone (e.g., "America/Los_Angeles")
      • reminders (optional string[]): List of reminder triggers in iCalendar format
      • repeatFlag (optional string): Task repeat flag in iCalendar format
      • priority (optional number): Task priority (None: 0, Low: 1, Medium: 3, High: 5)
      • sortOrder (optional string): Task sort order
      • items (optional array): List of subtasks with:
        • title (string): Subtask item title
        • startDate (optional string): Subtask date in "yyyy-MM-dd'T'HH:mm:ssZ" format
        • isAllDay (optional boolean): Is all day subtask item
        • sortOrder (optional number): Subtask item sort order
        • timeZone (optional string): Subtask timezone
        • status (optional number): Completion status (Normal: 0, Completed: 1)
        • completedTime (optional string): Completion time in "yyyy-MM-dd'T'HH:mm:ssZ" format
    • Returns: Created task object matching TickTickTaskSchema
  3. update_task

    • Update an existing task
    • Inputs:
      • taskId (string): Task identifier - Path
      • id (string): Task identifier - Body
      • projectId (string): Project id
      • All optional fields from create_task
    • Returns: Updated task object matching TickTickTaskSchema
  4. complete_task

    • Mark a task as completed
    • Inputs:
      • taskId (string): Task identifier
      • projectId (string): Project identifier
    • Returns: void
  5. delete_task

    • Delete a task from a project
    • Inputs:
      • taskId (string): Task identifier
      • projectId (string): Project identifier
    • Returns: void
  6. get_user_projects

    • Get all projects for the authenticated user
    • Inputs: None
    • Returns: Array of project objects matching TickTickProjectSchema
  7. get_project_by_id

    • Get a specific project by ID
    • Inputs:
      • projectId (string): Project identifier
    • Returns: Project object matching TickTickProjectSchema
  8. get_project_with_data

    • Get project details along with tasks and columns
    • Inputs:
      • projectId (string): Project identifier
    • Returns: Object containing:
      • project: Project object matching TickTickProjectSchema
      • tasks: Array of task objects matching TickTickTaskSchema
      • columns: Optional array of column objects with:
        • id (optional string)
        • projectId (optional string)
        • name (optional string)
        • sortOrder (optional number)
  9. create_project

    • Create a new project
    • Inputs:
      • name (string): Project name
      • color (optional string): Project color (default: '#4772FA')
      • viewMode (optional string): View mode ('list', 'kanban', 'timeline') (default: 'list')
      • kind (optional string): Project kind ('TASK', 'NOTE') (default: 'TASK')
    • Returns: Created project object matching TickTickProjectSchema
  10. update_project

    • Update an existing project
    • Inputs:
      • projectId (string): Project identifier
      • name (optional string): Project name
      • color (optional string): Project color
      • sortOrder (optional number): Project sort order
      • viewMode (optional string): View mode ('list', 'kanban', 'timeline')
      • kind (optional string): Project kind ('TASK', 'NOTE')
    • Returns: Updated project object matching TickTickProjectSchema
  11. delete_project

    • Delete a project
    • Inputs:
      • projectId (string): Project identifier
    • Returns: void

Schema References

  • TickTickTaskSchema: Defines the structure for task objects including:

    • Basic task properties (id, title, description)
    • Dates and time settings
    • Priority and status
    • Checklist items and subtasks
  • TickTickProjectSchema: Defines the structure for project objects including:

    • Project identification and naming
    • Display settings (color, view mode)
    • Permissions and organization

Tasks Properties

When creating or updating tasks, you can include these properties:

  • Priority Levels:
    • 0: None
    • 1: Low
    • 3: Medium
    • 5: High
  • Status Values:
    • 0: Normal (not completed)
    • 2: Completed
  • Reminder Format:
    • Example: ["TRIGGER:P0DT9H0M0S", "TRIGGER:PT0S"]
    • Follows iCalendar TRIGGER format
  • Recurring Rules (repeatFlag):
    • Example: "RRULE:FREQ=DAILY;INTERVAL=1"
    • Uses RFC 5545 recurrence rules
  • Date Format:
    • ISO 8601 format: "yyyy-MM-dd'T'HH:mm:ssZ"
    • Example: "2019-11-13T03:00:00+0000"

Projects Properties

When creating or updating projects, you can use these properties:

  • View Modes:
    • "list": Standard list view
    • "kanban": Kanban board view
    • "timeline": Timeline view
  • Project Kinds:
    • "TASK": Task-oriented project
    • "NOTE": Note-oriented project

Setup

OAuth Authentication

To enable OAuth authentication with TickTick, you'll need to register your app and obtain API credentials:

First-Time Authorization Flow

When using the TickTick MCP server for the first time:

  1. You'll be prompted to authorize the application
  2. A browser window will open with the TickTick login page
  3. After login, you'll be asked to grant permissions
  4. The access token will be displayed in the page
  5. Copy this token and set it as the TICKTICK_ACCESS_TOKEN environment variable

Generate Access Token

When you need to generate a new access token (either for first-time setup or when the token expires), follow these steps:

  1. Configure your credentials using one of these methods:

    Option 1: .env file (Recommended)

    Create a .env file in your project root:

    bash
    TICKTICK_CLIENT_ID="<YOUR_CLIENT_ID>"
    TICKTICK_CLIENT_SECRET="<YOUR_CLIENT_SECRET>"

    Then load it:

    bash
    source .env

    This method is recommended because:

    • Credentials persist between terminal sessions
    • Easier to manage multiple configurations
    • Less prone to shell history leaks
    • Can be easily backed up (remember to exclude from version control)

    Option 2: Terminal Environment Variables

    Use single quotes if your credentials contain special characters. Note that these variables will only persist in your current terminal session:

    bash
    export TICKTICK_CLIENT_ID='<YOUR_CLIENT_ID>'
    export TICKTICK_CLIENT_SECRET='<YOUR_CLIENT_SECRET>'
  2. Run the authentication command:

    If using the published package:

    bash
    npx @alexarevalo.ai/mcp-server-ticktick ticktick-auth

    If running the MCP server locally:

    bash
    npm run start:auth

    The process will:

    • Launch your default browser
    • Direct you to TickTick's login page
    • Request necessary permissions
    • Generate and display your access token
  3. Save the access token:

    bash
    echo "TICKTICK_ACCESS_TOKEN=\"<GENERATED_TOKEN>\"" >> .env
    source .env

Security Tips:

  • Add .env to your .gitignore file
  • Never commit credentials to version control
  • Access tokens expire after 180 days - you'll need to regenerate them

Usage with Claude Desktop

To use this with Claude Desktop, add the following to your claude_desktop_config.json:

NPX

json
{
  "mcpServers": {
    "ticktick": {
      "command": "npx",
      "args": ["-y", "@alexarevalo.ai/mcp-server-ticktick"],
      "env": {
        "TICKTICK_CLIENT_ID": "<YOUR_CLIENT_ID>",
        "TICKTICK_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
        "TICKTICK_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>"
      }
    }
  }
}

Docker

json
{
  "mcpServers": {
    "ticktick": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TICKTICK_CLIENT_ID",
        "-e",
        "TICKTICK_CLIENT_SECRET",
        "-e",
        "TICKTICK_ACCESS_TOKEN",
        "mcp/ticktick"
      ],
      "env": {
        "TICKTICK_CLIENT_ID": "<YOUR_CLIENT_ID>",
        "TICKTICK_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
        "TICKTICK_ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>"
      }
    }
  }
}

Installing via Smithery

To install ticktick-mcp-server for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @alexarevalo9/ticktick-mcp-server --client claude

Build

Docker build:

bash
docker build -t mcp/ticktick -f src/ticktick/Dockerfile .

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

安装

TypingMind
{
  "mcpServers": {
    "ticktick-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@alexarevalo.ai/mcp-server-ticktick"
      ],
      "env": {
        "TICKTICK_CLIENT_ID": "<TICKTICK_CLIENT_ID>",
        "TICKTICK_CLIENT_SECRET": "<TICKTICK_CLIENT_SECRET>",
        "TICKTICK_ACCESS_TOKEN": "<TICKTICK_ACCESS_TOKEN>"
      }
    }
  }
}

可用工具

  • get_user_projects

    Get all user projects

  • get_project_by_id

    Get a project by ID

  • get_project_with_data

    Get a project with its tasks and columns

  • create_project

    Create a new project

  • update_project

    Update an existing project

  • delete_project

    Delete a project

  • get_task_by_ids

    Get a task by ProjectId and TaskId

  • create_task

    Create a new task

  • update_task

    Update an existing task

  • complete_task

    Complete a task

  • delete_task

    Delete a task

将 TickTick MCP Server MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 TickTick MCP Server 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 TickTick MCP Server 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 TickTick MCP Server MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "ticktick-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@alexarevalo.ai/mcp-server-ticktick"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 TickTick MCP Server MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 TickTick MCP Server MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 TickTick MCP Server 帮我完成这项任务吗?
TickTick MCP Server
当然。我已阅读。
以下是我使用 TickTick MCP Server 得到的结果。

常见问题

TickTick MCP Server MCP 服务器有什么用途?

TickTick MCP Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 TickTick MCP Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 TickTick MCP Server,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 TickTick MCP Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 TickTick MCP Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 TickTick MCP Server MCP 连接到 TypingMind?

TickTick MCP Server 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

TickTick MCP Server MCP 在 TypingMind 中提供哪些工具?

TickTick MCP Server 提供 11 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 TickTick MCP Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 TickTick MCP Server 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇