TickTickCAUTION
A comprehensive async Python library for TickTick with MCP support.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://pepy.tech/projects/ticktick-sdk)
A comprehensive async Python SDK for TickTick with MCP (Model Context Protocol) server support.
Includes full support for Dida365 (滴答清单) as well.
Use TickTick programmatically from Python, or let AI assistants manage your tasks.
Table of Contents
- Features
- Why This Library?
- Installation
- MCP Server Setup & Usage
- Step 1: Register Your App
- Step 2: Get OAuth2 Access Token
- Step 3: Configure Your AI Assistant
- CLI Reference
- Example Conversations
- Available MCP Tools
- Python Library Setup & Usage
- Setup
- Quick Start
- Tasks
- Projects & Folders
- Tags
- Habits
- Focus/Pomodoro
- User & Statistics
- Error Handling
- Architecture
- API Reference
- TickTick API Quirks
- Environment Variables
- Running Tests
- Troubleshooting
- [Contribut
02a4ded781f9OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add ticktick-sdk --env TICKTICK_ACCESS_TOKEN=${TICKTICK_ACCESS_TOKEN} --env TICKTICK_CLIENT_SECRET=${TICKTICK_CLIENT_SECRET} --env TICKTICK_PASSWORD=${TICKTICK_PASSWORD} -- uvx ticktick-sdk{
"mcpServers": {
"ticktick-sdk": {
"command": "uvx",
"args": [
"ticktick-sdk"
],
"env": {
"TICKTICK_ACCESS_TOKEN": "${TICKTICK_ACCESS_TOKEN}",
"TICKTICK_CLIENT_SECRET": "${TICKTICK_CLIENT_SECRET}",
"TICKTICK_PASSWORD": "${TICKTICK_PASSWORD}"
}
}
}
}Exposed tools (43)
22 read · 15 write · 6 destructive. Blast radius: 6 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
ticktick_checkin_habits | read | |
ticktick_complete_tasks | read | |
ticktick_create_column | write | |
ticktick_create_folder | write | |
ticktick_create_habit | write | |
ticktick_create_project | write | |
ticktick_create_tag | write | |
ticktick_create_tasks | write | |
ticktick_delete_column | destructive | |
ticktick_delete_folder | destructive | |
ticktick_delete_habit | destructive | |
ticktick_delete_project | destructive | |
ticktick_delete_tag | destructive | |
ticktick_delete_tasks | destructive | |
ticktick_focus_by_tag | read | |
ticktick_focus_heatmap | read | |
ticktick_get_preferences | read | |
ticktick_get_profile | read | |
ticktick_get_project | read | |
ticktick_get_statistics | read | |
ticktick_get_status | read | |
ticktick_get_task | read | |
ticktick_habit | read | |
ticktick_habit_checkins | read | |
ticktick_habit_sections | read | |
ticktick_habits | read | |
ticktick_list_columns | read | |
ticktick_list_folders | read | |
ticktick_list_projects | read | |
ticktick_list_tags | read | |
ticktick_list_tasks | read | |
ticktick_merge_tags | write | |
ticktick_move_tasks | write | |
ticktick_pin_tasks | read | |
ticktick_rename_folder | write | |
ticktick_search_tasks | read | |
ticktick_set_task_parents | write | |
ticktick_unparent_tasks | read | |
ticktick_update_column | write | |
ticktick_update_habit | write | |
ticktick_update_project | write | |
ticktick_update_tag | write | |
ticktick_update_tasks | write |
Trust audit
CAUTIONgrade B · trust 82/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (7 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (16)
print(f"\n{token.access_token}\n")print(f"\n TICKTICK_ACCESS_TOKEN={token.access_token}\n")print(f"Note: This token expires in {hours:.1f} hours ({token.expires_in} seconds)")print(f"\nRefresh token (save this for later):\n {token.refresh_token}")print(token)
TICKTICK_REDIRECT_URI=http://127.0.0.1:8080/callback
REDIRECT_URI = os.environ.get("TICKTICK_REDIRECT_URI", "http://127.0.0.1:8080/callback")ticktick_delete_column, ticktick_delete_folder, ticktick_delete_habit, ticktick_delete_project, ticktick_delete_tag, ticktick_delete_tasks
- **Redirect URI**: `http://127.0.0.1:8080/callback`
TICKTICK_REDIRECT_URI=http://127.0.0.1:8080/callback
| `TICKTICK_REDIRECT_URI` | No | OAuth2 redirect URI (default: `http://127.0.0.1:8080/callback`) |
POST https://ticktick.com/oauth/token
POST https://ticktick.com/oauth/token
The unofficial V2 API provides full access to TickTick's features but requires reverse-engineering and session-based authentication.
Copy the access token to your `.env` file.
env_file=".env", # Auto-load .env file
Gates applied: no_behavioural_pass.
02a4ded781f9full audit observations/trust-audit/mcp-server/dev-mirzabicer__ticktick-4.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 02a4ded781f9 | CAUTION | B | 82 | first audit |
Questions
What is the TickTick MCP server?
A comprehensive async Python library for TickTick with MCP support.
What tools does TickTick expose?
43 in total: 22 read-only, 15 that write, and 6 that can delete or overwrite (ticktick_delete_column, ticktick_delete_folder, ticktick_delete_habit, ticktick_delete_project, ticktick_delete_tag). Every one is listed on this page with its risk.
Is TickTick safe to connect to an agent?
With care. The audit graded it B (82/100) and found 16 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 6 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does TickTick need?
It reads TICKTICK_ACCESS_TOKEN, TICKTICK_CLIENT_SECRET and TICKTICK_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (02a4ded781f9), read on 2026-10-07. The repository is watched and re-audited when it changes.