Logo TickTick MCP Server

TickTick MCP Server

Cộng đồng
alexarevalo9

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

Nhà phát hànhalexarevalo9
Kho mãticktick-mcp-server
Ngôn ngữTypeScript
Bản fork
24
Sao
73
Công cụ có sẵn
11
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    TickTick MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 11 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    73 sao và 24 bản fork từ kho mã được liên kết.

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.

Cài đặt

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>"
      }
    }
  }
}

Công cụ có sẵn

  • 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

Dùng MCP TickTick MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối TickTick MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm TickTick MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của TickTick MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "ticktick-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@alexarevalo.ai/mcp-server-ticktick"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của TickTick MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của TickTick MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng TickTick MCP Server giúp tôi làm việc này không?
TickTick MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng TickTick MCP Server.

Câu hỏi thường gặp

Máy chủ MCP TickTick MCP Server dùng để làm gì?

TickTick MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP TickTick MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng TickTick MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP TickTick MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối TickTick MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP TickTick MCP Server với TypingMind?

TickTick MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP TickTick MCP Server cung cấp những công cụ nào trong TypingMind?

TickTick MCP Server cung cấp 11 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP TickTick MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu TickTick MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇