TickTick MCP Server

TickTick MCP Server

alexarevalo9

Research & Data
Visit Server

README

TickTick MCP Server

⚠️ Note: This project is currently under active development. Features and documentation may be incomplete or subject to change.

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: Complete task details including subtasks
  2. create_task

    • Create a new task in a project
    • Inputs:
      • title (string): Task title
      • projectId (string): Project identifier
      • content (optional string): Task content/description
      • desc (optional string): Description of checklist
      • isAllDay (optional boolean): All day flag
      • startDate (optional string): Start date and time in ISO format
      • dueDate (optional string): Due date and time in ISO format
      • timeZone (optional string): The time zone for dates
      • reminders (optional array): List of reminder triggers
      • repeatFlag (optional string): Recurring rules of task
      • priority (optional integer): Task priority (0-5)
      • sortOrder (optional integer): Task sort order
      • items (optional array): List of subtasks
    • Returns: Created task details
  3. update_task

    • Update an existing task
    • Inputs:
      • taskId (string): Task identifier
      • id (string): Task ID
      • projectId (string): Project identifier
      • title (optional string): Task title
      • content (optional string): Task content
      • desc (optional string): Description of checklist
      • isAllDay (optional boolean): All day flag
      • startDate (optional string): Start date and time
      • dueDate (optional string): Due date and time
      • timeZone (optional string): The time zone
      • reminders (optional array): List of reminder triggers
      • repeatFlag (optional string): Recurring rules
      • priority (optional integer): Task priority
      • sortOrder (optional integer): Task sort order
      • items (optional array): List of subtasks
    • Returns: Updated task details
  4. complete_task

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

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

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

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

    • Get project details along with tasks and columns
    • Inputs:
      • projectId (string): Project identifier
    • Returns: Project data including tasks and kanban columns
  9. create_project

    • Create a new project
    • Inputs:
      • name (string): Project name
      • color (optional string): Color of project (e.g., "#F18181")
      • sortOrder (optional integer): Sort order value
      • viewMode (optional string): View mode ("list", "kanban", "timeline")
      • kind (optional string): Project kind ("TASK", "NOTE")
    • Returns: Created project details
  10. update_project

    • Update an existing project
    • Inputs:
      • projectId (string): Project identifier
      • name (optional string): Project name
      • color (optional string): Color of project
      • sortOrder (optional integer): Sort order value
      • viewMode (optional string): View mode
      • kind (optional string): Project kind
    • Returns: Updated project details
  11. delete_project

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

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:

  • Create an account on the TickTick Developer Portal
  • Register a new application
  • Set the OAuth redirect URL to: http://localhost:8000/callback
  • Copy the generated Client ID (TICKTICK_CLIENT_ID) and Client Secret (TICKTICK_CLIENT_SECRET)

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

Re-authentication (Token Expired or First-time Authentication Fails)

If the token expires or the first-time authentication doesn't work, follow the steps below to re-authenticate using npx:

  1. Set the environment variables with your Client ID and Client Secret. If your credentials contain special characters, use single quotes to prevent zsh or bash from interpreting them, or use a .env file.

    Option 1: Using export and single quotes (for special characters):

    export TICKTICK_CLIENT_ID='<YOUR_CLIENT_ID>'
    export TICKTICK_CLIENT_SECRET='<YOUR_CLIENT_SECRET>'
    

    Option 2: Using a .env file:

    1. Create a .env file in your project directory:
    TICKTICK_CLIENT_ID="<YOUR_CLIENT_ID>"
    TICKTICK_CLIENT_SECRET="<YOUR_CLIENT_SECRET>"
    
    1. Load the environment variables by running:
    source .env
    
  2. Once the environment variables are set, run the following npx command to trigger authentication:

    npx @alexarevalo9/mcp-server-ticktick ticktick-auth
    

    This will:

    • Prompt you to reauthorize the application
    • Open a browser window for login
    • Allow you to grant the requested permissions again
    • Display the new access token
  3. After authentication, copy the new access token and set it as the TICKTICK_ACCESS_TOKEN environment variable to continue using the application.

Usage with Claude Desktop

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

NPX

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

Docker

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

Build

Docker build:

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.

Recommended Servers

Crypto Price & Market Analysis MCP Server

Crypto Price & Market Analysis MCP Server

A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.

Featured
TypeScript
MCP PubMed Search

MCP PubMed Search

Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.

Featured
Python
dbt Semantic Layer MCP Server

dbt Semantic Layer MCP Server

A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.

Featured
TypeScript
mixpanel

mixpanel

Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Featured
TypeScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Featured
Python
Nefino MCP Server

Nefino MCP Server

Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.

Official
Python
Vectorize

Vectorize

Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.

Official
JavaScript
Mathematica Documentation MCP server

Mathematica Documentation MCP server

A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.

Local
Python
kb-mcp-server

kb-mcp-server

An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded

Local
Python
Research MCP Server

Research MCP Server

The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.

Local
Python