TickTick MCP Server
Integrates with TickTick to manage tasks, projects, habits, focus time, tags, kanban columns, project folders, and completed tasks. Provides tools for CRUD operations, smart queries, search, filtering, GTD workflows, habit check-ins, pomodoro heatmaps, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TickTick MCP Servershow my tasks due today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TickTick MCP Server
An MCP server that lets your AI assistant manage your TickTick tasks, projects, habits, and more through natural language. Works with Claude Code, Cursor, VS Code, Claude Desktop, and any MCP-compatible client.
Also supports Dida365 (the Chinese version of TickTick).
Features
52 tools across two API layers:
Category | Tools | API |
Projects | List, create, update, delete | V1 |
Tasks | CRUD, batch create, complete, subtasks | V1 |
Smart Queries | Due today/tomorrow/this week, overdue, by priority | V1 |
Search & Filter | Full-text search, multi-criteria filtering | V1 |
GTD Workflows | Engaged tasks, next actions, daily digest | V1 |
Tags | List, create, rename, delete, merge | V2 |
Habits | Create, check-in, view streaks and history | V2 |
Focus / Pomodoro | Heatmaps, time distribution, productivity score | V2 |
Completed Tasks | Browse finished tasks with date filtering | V2 |
Kanban Columns | Manage columns in kanban projects | V2 |
Project Folders | Organize projects into groups | V2 |
Task Organization | Move tasks between projects, subtask hierarchy | V2 |
User Profile | Profile info, timezone, settings | V2 |
V1 = Official TickTick Open API (OAuth2). V2 = Internal API (session auth) for features not in the public API.
Related MCP server: dida365-agent
Setup
1. Create a TickTick Developer App
Click + Create App
Set Redirect URI to:
http://localhost:42813/callbackNote your Client ID and Client Secret
2. Install and Authenticate
git clone https://github.com/chrisvanek/ticktick-mcp-ratv.git
cd ticktick-mcp-ratv
npm install && npm run build
# Run the interactive setup wizard
node build/index.js authThe wizard guides you through:
TickTick login (email + password) — enables V2 features (tags, habits, focus, completed tasks)
OAuth2 flow (Client ID + Secret + browser auth) — enables V1 features (projects, tasks)
Credentials are saved to a local .env file (excluded from git).
3. Connect to Your AI Client
Add the server to your MCP client config. Replace the placeholder values with the credentials from your .env file.
CLI (recommended):
claude mcp add ticktick-mcp-server \
node /absolute/path/to/ticktick-mcp-ratv/build/index.js \
-e TICKTICK_CLIENT_ID=your_client_id \
-e TICKTICK_CLIENT_SECRET=your_client_secret \
-e TICKTICK_ACCESS_TOKEN=your_access_token \
-e TICKTICK_REFRESH_TOKEN=your_refresh_token \
-e TICKTICK_USERNAME=your_email \
-e TICKTICK_PASSWORD=your_password \
-e TICKTICK_DEVICE_ID=your_device_id \
-s userUse -s user (available everywhere), -s project (shared with team), or -s local (single project).
Config file (~/.claude.json or .mcp.json):
{
"mcpServers": {
"ticktick": {
"command": "node",
"args": ["/absolute/path/to/ticktick-mcp-ratv/build/index.js"],
"env": {
"TICKTICK_CLIENT_ID": "your_client_id",
"TICKTICK_CLIENT_SECRET": "your_client_secret",
"TICKTICK_ACCESS_TOKEN": "your_access_token",
"TICKTICK_REFRESH_TOKEN": "your_refresh_token",
"TICKTICK_USERNAME": "your_email",
"TICKTICK_PASSWORD": "your_password",
"TICKTICK_DEVICE_ID": "your_device_id"
}
}
}
}Verify with /mcp in Claude Code.
Create or edit ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"ticktick": {
"command": "node",
"args": ["/absolute/path/to/ticktick-mcp-ratv/build/index.js"],
"env": {
"TICKTICK_CLIENT_ID": "your_client_id",
"TICKTICK_CLIENT_SECRET": "your_client_secret",
"TICKTICK_ACCESS_TOKEN": "your_access_token",
"TICKTICK_REFRESH_TOKEN": "your_refresh_token",
"TICKTICK_USERNAME": "your_email",
"TICKTICK_PASSWORD": "your_password",
"TICKTICK_DEVICE_ID": "your_device_id"
}
}
}
}Restart Cursor after saving.
Requires VS Code 1.99+ with GitHub Copilot. Create .vscode/mcp.json:
{
"servers": {
"ticktick": {
"command": "node",
"args": ["/absolute/path/to/ticktick-mcp-ratv/build/index.js"],
"env": {
"TICKTICK_CLIENT_ID": "your_client_id",
"TICKTICK_CLIENT_SECRET": "your_client_secret",
"TICKTICK_ACCESS_TOKEN": "your_access_token",
"TICKTICK_REFRESH_TOKEN": "your_refresh_token",
"TICKTICK_USERNAME": "your_email",
"TICKTICK_PASSWORD": "your_password",
"TICKTICK_DEVICE_ID": "your_device_id"
}
}
}
}Edit the config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%AppData%\Claude\claude_desktop_config.json
{
"mcpServers": {
"ticktick": {
"command": "node",
"args": ["/absolute/path/to/ticktick-mcp-ratv/build/index.js"],
"env": {
"TICKTICK_CLIENT_ID": "your_client_id",
"TICKTICK_CLIENT_SECRET": "your_client_secret",
"TICKTICK_ACCESS_TOKEN": "your_access_token",
"TICKTICK_REFRESH_TOKEN": "your_refresh_token",
"TICKTICK_USERNAME": "your_email",
"TICKTICK_PASSWORD": "your_password",
"TICKTICK_DEVICE_ID": "your_device_id"
}
}
}
}Quit and relaunch Claude Desktop (Cmd+Q / Alt+F4).
Open the Cline panel > MCP Servers icon > Configure, then add:
{
"mcpServers": {
"ticktick": {
"command": "node",
"args": ["/absolute/path/to/ticktick-mcp-ratv/build/index.js"],
"env": {
"TICKTICK_CLIENT_ID": "your_client_id",
"TICKTICK_CLIENT_SECRET": "your_client_secret",
"TICKTICK_ACCESS_TOKEN": "your_access_token",
"TICKTICK_REFRESH_TOKEN": "your_refresh_token",
"TICKTICK_USERNAME": "your_email",
"TICKTICK_PASSWORD": "your_password",
"TICKTICK_DEVICE_ID": "your_device_id"
}
}
}
}Dida365 (China)
Add TICKTICK_HOST=dida365 to your environment variables. This routes API calls to api.dida365.com.
Node Version Managers (nvm, fnm, etc.)
If node doesn't resolve in your MCP client, use the full path:
"command": "/Users/you/.nvm/versions/node/v22.0.0/bin/node"Usage Examples
Once connected, just talk naturally. Here are examples organized by what you can do:
Morning Planning
"Give me my daily summary"
"What's overdue?"
"What do I have due this week?"
"Show me all high priority tasks"
Creating Tasks
"Create a task called 'Review PR #42' in my Work project, due tomorrow, high priority"
"Add a task 'Buy groceries' to Personal with subtasks: milk, eggs, bread, butter"
"Create a recurring task 'Weekly standup notes' every Monday in my Work project"
"Create these tasks in my Work project: Review design mockups, Update API docs, Fix login bug"
Managing Tasks
"Mark the 'Send invoice' task as complete"
"Move 'Design review' to my Work project"
"Make 'Write tests' a subtask of 'Ship v2'"
"What tasks did I complete last week?"
Search & Filter
"Search for any tasks mentioning 'budget'"
"Show me all medium priority tasks"
"What tasks are due in the next 3 days?"
"Show me all tasks in my Personal project that have a due date"
Projects
"List all my projects"
"Create a new project called 'Q2 Goals' with a kanban view"
"Show me everything in my Work project — tasks, columns, the works"
Tags
"Show me all my tags"
"Create a tag called 'urgent' with a red color"
"Rename the 'bug' tag to 'bugfix'"
"Merge the 'todo' tag into 'backlog'"
Habits
"What habits do I have?"
"Check in my 'Drink water' habit for today"
"Create a habit called 'Read' with a goal of 30 pages per day"
"Show my check-in history for all habits since January"
Focus & Productivity
"Show my focus time heatmap for this month"
"How is my focus time distributed across tags?"
"What are my productivity stats?"
Organization
"List my project folders"
"Create a folder called 'Side Projects'"
"Show the kanban columns in my Sprint project"
"What's in my trash?"
Environment Variables
Variable | Required | Description |
| Yes | OAuth2 Client ID from developer portal |
| Yes | OAuth2 Client Secret |
| Yes | OAuth2 access token (set by auth wizard) |
| No | OAuth2 refresh token (enables auto-renewal) |
| Yes | Your TickTick email (for V2 API) |
| Yes | Your TickTick password (for V2 API) |
| Recommended | Stable 24-char hex device id for the V2 |
| No |
|
Security note: The V2 API requires your TickTick username and password. These are stored as environment variables and never logged or transmitted anywhere except directly to TickTick's authentication endpoint. The
.envfile is created with restricted permissions (owner-only read/write).
About
TICKTICK_DEVICE_ID: The V2 internal API authenticates a "device" via thex-devicerequest header. If the device id is empty or unrecognized, TickTick rejects the login with a misleadingusername_password_not_matcherror — even when your credentials are correct. The server sends a non-empty device id to avoid this. If you don't setTICKTICK_DEVICE_ID, a random 24-character hex id is generated automatically on each launch; setting a stable value is recommended so TickTick doesn't treat every restart as a brand-new device. Any 24-char hex string works — or reuse the id your TickTick web client already uses (browser DevTools → Application → Local Storage →deviceAnalyticsData.id).
All 52 Tools
Tool | Description |
| List all projects |
| Get a project by ID |
| Get project with tasks and columns |
| Create a project |
| Update project properties |
| Delete a project |
Tool | Description |
| Get a task by ID |
| Create a task with all options |
| Update task fields |
| Mark a task as done |
| Delete a task |
| Create multiple tasks at once |
Tool | Description |
| All undone tasks across all projects |
| Full-text search |
| Tasks due today |
| Tasks due tomorrow |
| Tasks due in 7 days |
| Tasks due in N days |
| Overdue tasks |
| Filter by priority |
| Advanced multi-criteria filter |
| GTD "Engage" list |
| GTD "Next" list |
| Full daily digest |
Tool | Description |
| List all tags |
| Create a tag |
| Rename a tag |
| Delete a tag |
| Merge one tag into another |
Tool | Description |
| List all habits |
| Get habit sections |
| Create a habit |
| Delete a habit |
| Check in to a habit |
| View check-in history |
Tool | Description |
| Focus time heatmap |
| Focus distribution by category |
| Productivity score and stats |
Tool | Description |
| Browse completed tasks |
| View deleted tasks |
Tool | Description |
| Move task to a different project |
| Set/remove subtask relationship |
Tool | Description |
| List kanban columns |
| Create a column |
| Delete a column |
| Move a task to another kanban column |
| List project folders |
| Create a folder |
| Delete a folder |
| Move a list into/out of a folder |
Tool | Description |
| Profile, email, timezone, subscription |
| Account preferences |
Reference
Task priority values: 0 = None, 1 = Low, 3 = Medium, 5 = High
Date format: yyyy-MM-dd'T'HH:mm:ssZ (e.g. 2025-03-15T09:00:00+0000)
Recurrence rules: Standard RRULE format (e.g. RRULE:FREQ=DAILY;INTERVAL=1)
Development
npm install # Install dependencies
npm run build # Compile TypeScript
npm run dev # Watch mode
npm run clean # Remove build outputAdding a Tool
Add your tool in the appropriate file under
src/tools/Use
server.registerTool()with a Zod input schemaIt's automatically available to all MCP clients
Architecture
src/
├── index.ts # Entry point + auth CLI routing
├── config.ts # Environment variable loader
├── client.ts # V1 API client (OAuth2)
├── client-v2.ts # V2 API client (session auth)
├── types.ts # TypeScript interfaces
├── auth-cli.ts # Interactive auth wizard
├── auth/oauth.ts # OAuth2 flow implementation
└── tools/
├── project-tools.ts # Project CRUD (V1)
├── task-tools.ts # Task CRUD (V1)
├── smart-tools.ts # Smart queries & GTD (V1)
├── tag-tools.ts # Tag management (V2)
├── habit-tools.ts # Habit tracking (V2)
├── focus-tools.ts # Focus/Pomodoro stats (V2)
├── column-tools.ts # Kanban columns (V2)
├── folder-tools.ts # Project folders (V2)
└── v2-task-tools.ts # Completed tasks, move, user (V2)Both API clients handle auth transparently — expired tokens are refreshed automatically on 401 responses.
Troubleshooting
Problem | Fix |
"Missing required environment variable" | Run |
"Token refresh failed" / 401 errors | Re-run |
Server not showing in Claude Code | Use absolute paths, check with |
Server not showing in Cursor | Restart Cursor, check Output panel > MCP |
Contributing
Fork the repo
Create a feature branch
Make your changes and run
npm run buildOpen a pull request
License
MIT — see LICENSE.
Acknowledgments
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChrisJVanek/ticktick-mcp-ratv'
If you have feedback or need assistance with the MCP directory API, please join our Discord server