TickTick MCP Server
alexarevalo9
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
-
get_task_by_ids
- Get a specific task by project ID and task ID
- Inputs:
projectId
(string): Project identifiertaskId
(string): Task identifier
- Returns: Complete task details including subtasks
-
create_task
- Create a new task in a project
- Inputs:
title
(string): Task titleprojectId
(string): Project identifiercontent
(optional string): Task content/descriptiondesc
(optional string): Description of checklistisAllDay
(optional boolean): All day flagstartDate
(optional string): Start date and time in ISO formatdueDate
(optional string): Due date and time in ISO formattimeZone
(optional string): The time zone for datesreminders
(optional array): List of reminder triggersrepeatFlag
(optional string): Recurring rules of taskpriority
(optional integer): Task priority (0-5)sortOrder
(optional integer): Task sort orderitems
(optional array): List of subtasks
- Returns: Created task details
-
update_task
- Update an existing task
- Inputs:
taskId
(string): Task identifierid
(string): Task IDprojectId
(string): Project identifiertitle
(optional string): Task titlecontent
(optional string): Task contentdesc
(optional string): Description of checklistisAllDay
(optional boolean): All day flagstartDate
(optional string): Start date and timedueDate
(optional string): Due date and timetimeZone
(optional string): The time zonereminders
(optional array): List of reminder triggersrepeatFlag
(optional string): Recurring rulespriority
(optional integer): Task prioritysortOrder
(optional integer): Task sort orderitems
(optional array): List of subtasks
- Returns: Updated task details
-
complete_task
- Mark a task as completed
- Inputs:
projectId
(string): Project identifiertaskId
(string): Task identifier
- Returns: Success confirmation
-
delete_task
- Delete a task from a project
- Inputs:
projectId
(string): Project identifiertaskId
(string): Task identifier
- Returns: Success confirmation
-
get_user_projects
- Get all projects for the authenticated user
- Inputs: None
- Returns: Array of project details
-
get_project_by_id
- Get a specific project by ID
- Inputs:
projectId
(string): Project identifier
- Returns: Project details
-
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
-
create_project
- Create a new project
- Inputs:
name
(string): Project namecolor
(optional string): Color of project (e.g., "#F18181")sortOrder
(optional integer): Sort order valueviewMode
(optional string): View mode ("list", "kanban", "timeline")kind
(optional string): Project kind ("TASK", "NOTE")
- Returns: Created project details
-
update_project
- Update an existing project
- Inputs:
projectId
(string): Project identifiername
(optional string): Project namecolor
(optional string): Color of projectsortOrder
(optional integer): Sort order valueviewMode
(optional string): View modekind
(optional string): Project kind
- Returns: Updated project details
-
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
: None1
: Low3
: Medium5
: High
- Status Values:
0
: Normal (not completed)2
: Completed
- Reminder Format:
- Example:
["TRIGGER:P0DT9H0M0S", "TRIGGER:PT0S"]
- Follows iCalendar TRIGGER format
- Example:
- Recurring Rules (repeatFlag):
- Example:
"RRULE:FREQ=DAILY;INTERVAL=1"
- Uses RFC 5545 recurrence rules
- Example:
- Date Format:
- ISO 8601 format:
"yyyy-MM-dd'T'HH:mm:ssZ"
- Example:
"2019-11-13T03:00:00+0000"
- ISO 8601 format:
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:
- You'll be prompted to authorize the application
- A browser window will open with the TickTick login page
- After login, you'll be asked to grant permissions
- The access token will be displayed in the page
- 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
:
-
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:
- Create a .env file in your project directory:
TICKTICK_CLIENT_ID="<YOUR_CLIENT_ID>" TICKTICK_CLIENT_SECRET="<YOUR_CLIENT_SECRET>"
- Load the environment variables by running:
source .env
-
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
-
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
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.
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.
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.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

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.

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.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
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.
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
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.