Skip to main content
Glama

TickTick MCP Server

MCP (Model Context Protocol) server for TickTick task manager. Allows AI assistants (Claude Code, Cursor, etc.) to manage tasks, projects, habits, and tags.

Based on ekkyarmandi/ticktick-mcp, significantly extended with V2 API support.

Features

Projects (Open API)

  • get_projects — list all projects

  • project_details — get project with all tasks and columns

  • create_project — create project (name, color, viewMode, kind, groupId)

  • update_project — rename, change color/view mode

  • delete_project — delete project

  • archive_project — archive project (V2 API)

Project Groups / Folders (V2 API)

  • get_project_groups — list all folders

  • create_project_group — create a new folder

  • update_project_group — rename or reorder a folder

  • delete_project_group — delete a folder (projects inside are ungrouped)

Tasks (Open API + V2)

  • get_task_details — get single task details

  • create_task — create task with full support:

    • Basic: title, content, priority, dates, reminders, recurrence

    • Nested subtasks via parentId (undocumented API feature)

    • Checklist items via items

    • Tags and kanban column placement

  • update_task — update any task field

  • complete_task — mark task as completed

  • delete_task — delete task

  • move_task — move task between projects (V2 API)

  • get_completed_tasks — get completed tasks for a date range (V2 API)

Tags (V2 API)

  • get_tags — list all tags with colors and hierarchy

  • create_tag — create tag (label, color, parent)

  • rename_tag — rename a tag

  • delete_tag — delete a tag

Habits (V2 API)

  • get_habits — list all habits

  • get_habit_sections — list sections (Morning, Afternoon, Night, etc.)

  • create_habit — create habit (name, frequency, color, icon, section, reminders, etc.)

  • update_habit — update habit properties

  • delete_habit — delete habit and all check-in data

  • checkin_habit — record a check-in for a specific date

  • get_habit_checkins — query check-in history for habits

Related MCP server: Todoist MCP Server

Setup

1. Get TickTick API Token

Register your app at TickTick Developer Center, then run:

python get_token.py

This will open a browser for OAuth authorization and save the token.

2. Configure Environment

Create a .env file:

TICKTICK_API_KEY=your_access_token_here

# Required for V2 API features (folders, tags, habits, completed tasks).
# Option A: session token (recommended, works for Google OAuth accounts)
TICKTICK_V2_TOKEN=your_session_token_here

# Option B: username/password login (may not work for Google OAuth accounts)
TICKTICK_USERNAME=your_email
TICKTICK_PASSWORD=your_password

Getting the V2 session token: Log into ticktick.com in your browser, open DevTools → Application → Cookies, and copy the value of the t cookie.

3. Install Dependencies

pip install -r requirements.txt

Connecting to AI Assistants

Claude Code

claude mcp add ticktick -- python3 /path/to/main_stdio.py

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "ticktick": {
      "command": "python3",
      "args": ["/path/to/main_stdio.py"],
      "type": "stdio"
    }
  }
}

Transport Modes

Mode

Entry point

Use case

stdio

python main_stdio.py

Claude Code, Cursor

SSE

python main.py

HTTP clients, port 8000

API Coverage

Area

API

Tools

Projects

Open API v1

5 tools + archive (V2)

Folders

V2 API

4 tools

Tasks

Open API v1 + V2

7 tools

Tags

V2 API

4 tools

Habits

V2 API

7 tools

Total

28 tools

Nested Subtasks

The TickTick Open API officially documents only flat checklist items. However, the API also accepts parentId when creating/updating tasks, enabling true nested subtask hierarchies:

parent = create_task(project_id="...", title="Parent Task")
child = create_task(project_id="...", title="Subtask", parentId=parent["id"])

This works with multiple levels of nesting.

License

MIT — see LICENSE.

Contributing

Contributions are welcome! Feel free to submit a Pull Request.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers