ticktick-mcp
Manage TickTick tasks, projects, and completions through MCP tools.
Create tasks with dates, reminders, priority, recurrence, content, subtasks, and day-of-week validation.
Update tasks field-by-field while preserving unset fields, including clearing dates/reminders and reopening completed tasks.
Complete tasks with read-after-write verification and local completion tracking.
Delete one or many tasks, move tasks between projects, and nest tasks as subtasks.
List open tasks in a project or filter tasks by project, priority, tag, status, due/completion date, and sort by priority.
Browse compact task views or request full task objects; get any task/project/tag by ID.
Dump all projects or tags and force an immediate sync of local state.
Find completed tasks not yet processed and mark them as processed.
Convert ISO 8601 datetimes to TickTick's wire format.
Use project names or IDs in project-scoped tools; Inbox is supported.
Protect designated task IDs from modification by mutating tools.
Provides tools for managing TickTick tasks, subtasks, projects, and tags, including creation, updating, deletion, completion, and filtering.
ticktick-mcp
MCP server for TickTick task management. Create, update, complete, move, and filter tasks through TickTick's Open and v2 APIs, with field-preserving updates, day-of-week date validation, read-after-write verification, and idempotent completion tracking.
Designed for Claude Code and other MCP clients.
Unofficial. Not affiliated with TickTick Ltd. Built on ticktick-py (MIT).
Features
Full task lifecycle - create, update, complete, move, subtask, and delete
Field-preserving updates -
ticktick_update_taskre-fetches the task and overlays only the fields you set, sending its other editable fields back with themDay-of-week validation - any call that sets a date must confirm the weekday, catching off-by-one date mistakes before they reach the server
Read-after-write verification - create/update compare the server's response with what was sent and surface
_verification_warningswhen it doesn't matchCompact listing - list tools return a trimmed view by default so large projects stay under the MCP result-size cap (see below)
Fresh reads - read tools re-sync server state on demand, so edits made from the TickTick app on other devices show up without a restart
Completion tracking - mark completed tasks as processed so an agent reviews each one exactly once, and completions made through this server record themselves
Related MCP server: ticktick-mcp-server
Requirements
Python 3.13+ (tested on 3.13, 3.14 and 3.15, on Linux, macOS and Windows, in CI)
uv (recommended - see the install note below)
A TickTick account
A registered TickTick app for OAuth credentials (free - developer.ticktick.com)
Install
git clone https://github.com/partymola/ticktick-mcp
cd ticktick-mcp
uv syncThis creates a .venv and installs from uv.lock, giving you the console script at .venv/bin/ticktick-mcp, or .venv\Scripts\ticktick-mcp on Windows. Every command below names it the POSIX way.
pip install . works too. The fork of ticktick-py this server needs is pinned as a direct git reference inside dependencies, which pip and uv both honour; uv sync is recommended because it installs the exact versions in uv.lock rather than re-resolving them.
Credentials
TickTick sign-in needs two things: an OAuth app (client ID + secret) and your own account login.
Register an app at developer.ticktick.com. Set the Redirect URI to
http://localhost:8080/redirect. Note the Client ID and Client Secret.Copy the template into the directory the server reads, and fill it in:
mkdir -p ~/.config/ticktick-mcp && cp .env.example ~/.config/ticktick-mcp/.envTICKTICK_CLIENT_ID=your_client_id TICKTICK_CLIENT_SECRET=your_client_secret TICKTICK_REDIRECT_URI=http://localhost:8080/redirect TICKTICK_USERNAME=your_ticktick_email TICKTICK_PASSWORD=your_ticktick_passwordThis file holds your account password in plain text, and the server does not create it, so tighten it yourself. On POSIX:
chmod 700 ~/.config/ticktick-mcp chmod 600 ~/.config/ticktick-mcp/.envThose are POSIX mode bits, and on Windows they do nothing: access there follows the ACLs the file inherits from its parent directory. No Windows equivalent of the two commands is documented here.
The two token files beside it are created owner-only, and a config directory the server creates is too - but one it finds already there is left as it is. Those are POSIX modes as well, set on Windows too, where they do not narrow who may read what.
Authorise once, at a terminal, before registering the server:
.venv/bin/ticktick-mcp authIt opens a browser and asks you to paste back the URL you land on, then exits. The token is cached next to your .env as .token-oauth, and every later start reuses it. TickTick issues no refresh token, so this recurs when the token expires - run the same command again.
Do not let that step happen inside the MCP server. The prompt reads from standard input, which for a stdio server is the JSON-RPC channel, so an unauthorised first tool call opens a browser on the host and blocks. In a container it cannot be completed at all - run auth on the host and mount the config directory in.
The username/password half needs no separate step: the server logs in lazily on the first tool call and caches that session token as .token-v2, so it does not re-submit your credentials on every start.
The server looks for .env in this order: the --dotenv-dir <path> argument, then the TICKTICK_MCP_DOTENV_DIR environment variable, then ~/.config/ticktick-mcp/. If no .env is found it falls back to the TICKTICK_* environment variables directly, which is convenient for container/CI use.
Privacy and the unofficial API
Your TickTick credentials live only in your local .env (or the environment) and are sent only to TickTick's own servers - never to the developer or any third party. The server reads and writes only your own account.
This server uses TickTick's unofficial v2 API (via ticktick-py) as well as the official Open API. Reads, completed lists, delete, move and subtask go through v2, as does removing a reminder. Create, update and complete use the Open API. The Open API covers completed tasks and tags, but some of what this server does still needs v2. See docs/why-not-the-official-api.md for which features, and for what would make us move.
Register with Claude Code
claude mcp add -s user ticktick -- /path/to/ticktick-mcp/.venv/bin/ticktick-mcp --dotenv-dir /path/to/config--dotenv-dir is optional if your .env lives in ~/.config/ticktick-mcp/ or you supply the TICKTICK_* variables through the environment.
Then ask Claude things like:
"What's on my TickTick list for this week?"
"Add a task to call the dentist on Friday at 9am."
"Mark the grocery task as done."
"Move the budget task to the Finance project."
Docker
Images are published to ghcr.io/partymola/ticktick-mcp. Tags carry a v prefix (:vX.Y.Z), and :latest follows the most recent release.
Authorise on a machine with a browser first, then mount that directory in. This is the only route, and it holds even with docker run -it: the underlying library opens the browser itself and never prints the URL, so there is nothing to copy out of a container that has no browser. It then waits for that URL on standard input, which for a stdio server is the JSON-RPC channel - so a container started against a directory with no cached token does not fail cleanly either, it consumes your client's requests waiting for input that never arrives.
Authorising needs a source install (Install) and the credentials from Credentials - there is no published package to run it from. Do not pip install ticktick-mcp: that name on PyPI belongs to an unrelated project with a near-identical description.
.venv/bin/ticktick-mcp auth # once, on the host, in a terminal
claude mcp add -s user ticktick -- \
docker run --rm -i --user $(id -u):$(id -g) \
-v ~/.config/ticktick-mcp:/data \
ghcr.io/partymola/ticktick-mcp:latest-i is required - the server speaks JSON-RPC over stdin and stdout.
--user is there because the container runs as root by default, and anything it writes into the mounted directory becomes root-owned - after which the host-side ticktick-mcp can no longer update its session-token cache and falls back to a throttled signon on every start. You will run it on the host again: the OAuth token has no refresh, so auth recurs at expiry.
Mount a directory that is already authorised, never an empty volume. /data holds the .env, the cached OAuth token, the v2 session token and the completion-tracking database. A fresh volume has none of them, and the password-signon fallback is throttled into a 15-30 minute lockout.
If you would rather not keep a .env on disk at all, pass the credentials as environment variables instead. The mount is still needed - it holds the token cache, not just the .env:
docker run --rm -i --user $(id -u):$(id -g) \
-v ~/.config/ticktick-mcp:/data \
-e TICKTICK_CLIENT_ID -e TICKTICK_CLIENT_SECRET \
-e TICKTICK_USERNAME -e TICKTICK_PASSWORD \
ghcr.io/partymola/ticktick-mcp:latestNaming each variable without a value passes it through from your shell, so no secret appears in the command or in shell history. These override a mounted .env: the file is loaded without override, so anything already in the environment wins. Authorising still needs those variables exported on the host, since auth has no .env to read either.
CLI
ticktick-mcp Start the MCP server (stdio transport)
ticktick-mcp --dotenv-dir PATH Directory holding the .env file
ticktick-mcp --version Print the installed package versionauth is the only other subcommand, and it exists so the browser step happens at a terminal rather than inside the server. All task operations happen through the MCP tools below.
MCP tools
Tool | Description |
| Create a task, preserving date/reminder/priority/timezone fields; attaches |
| Update a task by overlaying only the fields you set onto the current server object |
| Mark a task complete and re-verify; distinguishes a recurring task rolling forward from a normal completion, and records the completion as processed |
| Delete one or more tasks by ID |
| Move a task into a different project |
| Nest one task as a subtask of another in the same project |
| List every open task in a project (compact or full) |
| Find tasks by any mix of project, priority, tag, status, and due/completion-date window |
| Look up any task, project, or tag by its full ID |
| Dump all projects or all tags from local state |
| Force an immediate refresh of local state from the server |
| List recently completed tasks in a project not yet marked processed; in practice, the ones completed outside this server |
| Record that a completed task has been reviewed, excluding it from future checks |
| Convert an ISO 8601 datetime + IANA timezone to TickTick's wire format |
Projects: name or ID
Every tool that takes a project ID also takes the project's name - ticktick_create_task, ticktick_get_tasks_from_project, ticktick_update_task, ticktick_move_task, ticktick_delete_tasks, ticktick_filter_tasks, and both completion-tracking tools:
ticktick_create_task(title="Renew insurance", project_id="Home Admin")Names match case-insensitively, ignoring surrounding whitespace, and "Inbox" resolves to your inbox. IDs keep working unchanged and always win.
If two projects share a name, the call fails and names both IDs rather than picking one, since guessing would file the task somewhere you would not think to look.
Three tools confirm the reference before using it rather than passing on one they cannot place. The two completion-tracking tools do it because that value is the key their local database is written under, and an unresolvable one would write a row no later lookup by ID can find. ticktick_filter_tasks does it because it filters locally, so an unknown project would otherwise come back as an empty list, which reads as "no tasks match" rather than "no such project". All three separate the two failures: if the project list could not be refreshed to check, they say so (outcome: "project_list_unverifiable") instead of claiming the project does not exist.
In the remaining tools an unrecognised value is passed on unchanged. ticktick_get_tasks_from_project and ticktick_move_task then fail in the client library's own local lookup, before any request is sent; ticktick_create_task, ticktick_update_task and ticktick_delete_tasks send it to TickTick if they use it at all.
Listing tasks: compact by default
The list-returning tools - ticktick_get_tasks_from_project and ticktick_filter_tasks - default to detail="compact". Compact output keeps the browsing-relevant fields (id, projectId, title, dueDate, startDate, priority, status, isAllDay, timeZone, tags) plus a contentPreview (the first ~200 chars of content), and drops the heavy content/desc/checklist items blobs and bulky sync metadata. This keeps large projects under the MCP result-size cap so the client does not have to spill the result to disk. Keyword search still works against title and contentPreview.
Need the full objects? Pass
detail="full".Need one task's full content? Use
ticktick_get_by_id.Editing a task: call
ticktick_update_taskwith the task's ID and only the fields to change. It reads the rest of the task itself. A completed task also needs itsprojectId.
If a compact result would still exceed the size budget, the soonest-due tasks are returned and a final _truncation_note element reports how many were omitted - nothing is dropped silently. Reach the rest with a narrower ticktick_filter_tasks query, detail="full", or ticktick_get_by_id.
Freshness: reads stay current
The TickTick account can be edited from the app on other devices while the server runs. To keep reads from going stale, the read tools re-sync server state on demand, throttled to at most once per window (default 15s, override with TICKTICK_MCP_SYNC_TTL_SECONDS). A change made elsewhere becomes visible within that window; call ticktick_sync to force an immediate refresh and get the current task/project counts. If a sync fails, the last-known state is served rather than erroring - except in ticktick_get_all, which refreshes on every projects or tags call and reports the failure instead, since a full dump is the wrong place to serve a stale answer quietly.
Completion tracking: what the queue is for
ticktick_get_unprocessed_completions lists tasks completed in a project that no agent has recorded handling yet, and ticktick_mark_completion_processed records one. The point of the queue is the completion you did not make: a task ticked off in the TickTick app, where the note explaining what happened is waiting to be read.
ticktick_complete_task therefore records its own completions, and reports whether that worked as completion_recorded. The task is complete either way, because the record is written after the API call and a local write that fails is logged rather than turned into an error. You do not need to call ticktick_mark_completion_processed after completing a task through this server; on a task already recorded here it is a no-op.
One case is not covered, by design. Completing a recurring task files the completed instance under a new id, which the completing call never sees, so that instance reaches the queue whoever completed it. Nothing is recorded for a recurring completion in any shape, and completion_recorded is absent from the result rather than false. Do not reach for ticktick_mark_completion_processed on the series id to compensate: that is not the id the queue is showing, so the row clears nothing.
Reopening a task through ticktick_update_task clears the record of its earlier completion, so the next one is surfaced normally: set status: 0 and the record goes. Otherwise one completion made here would keep that task out of the queue permanently, including a later one you tick off in the app with a note attached. A task you reopen in the app instead keeps its record, so a later completion there does stay out of the queue.
The record lives in completion_tracking.db alongside the .env and the token caches.
Configuration
Variable | Default | Description |
|
| Directory holding the |
|
| Minimum seconds between on-demand read re-syncs |
|
| Cooldown before retrying client login after a failed first connection |
|
| Cooldown before retrying login after a rate-limit (HTTP 429); longer than the init cooldown because a 429 clears slowly and each retry prolongs it |
| unset | Task IDs an agent must never modify, separated by spaces or commas. Every mutating tool refuses before sending anything; reads are unaffected. Unset means no protection. |
Protecting tasks from modification
Some tasks should never be changed by an agent, whatever it is asked to do. List their IDs in TICKTICK_MCP_PROTECTED_TASK_IDS:
TICKTICK_MCP_PROTECTED_TASK_IDS="60ca9dbc8f08516d9dd56324,60ca9dbc8f08516d9dd56325"ticktick_update_task, ticktick_complete_task, ticktick_delete_tasks, ticktick_move_task and ticktick_make_subtask then refuse any call naming a protected task, returning outcome: "protected_task". No request that reads or writes the task is sent. A batch delete containing a protected ID is refused in full rather than partially applied, since a partial delete cannot be undone.
Because TickTick propagates delete and move through subtasks, delete, move and make_subtask also refuse when a protected task is the parent or the subtask of a task you named. That check refreshes local state first, so it adds one request per delete, move or reparent while protection is configured - and returns outcome: "protection_unverifiable" if that refresh fails, since it cannot rule out a protected subtask on a snapshot it could not update. With the variable unset it does no extra work at all. IDs are matched ignoring surrounding whitespace, quotes and case. Reading protected tasks always works.
Credentials (TICKTICK_CLIENT_ID, TICKTICK_CLIENT_SECRET, TICKTICK_REDIRECT_URI, TICKTICK_USERNAME, TICKTICK_PASSWORD) are read from the .env file or, if absent, directly from the environment.
Data safety
A pre-commit hook (scripts/check-no-data.sh) blocks accidentally committing *.db files and backup variants, everything under config/ except .gitkeep, *.example and *.example.*, and files over 100KB (except uv.lock). It does not read file contents. Install it after cloning:
ln -sf ../../scripts/check-no-data.sh .git/hooks/pre-commitContributing
See CONTRIBUTING.md for development setup, the test workflow, and the pre-commit hook. Changes are tracked in CHANGELOG.md.
License
Available Tools
14 toolsticktick_complete_taskA
Mark a task as completed.
Completing a task here also records it as processed, so it does not come
back from ticktick_get_unprocessed_completions. That queue is for
completions made elsewhere, where a note may be waiting to be read.
There is no need to call ticktick_mark_completion_processed
afterwards.
Args: task_id (str): The task's full ID.
Returns:
After a completion call, a JSON object carrying outcome.
completed: the task is no longer open. It has usually left the
active list, so no task object comes back; one that can still be read
is returned at status=2.
completed_recurring: the next occurrence, at status=0, with
next_occurrence_id.
uncertain: a non-recurring task is still open, with
_verification_warnings saying so.
completion_recorded reports whether the local record was
written. Present only when a non-recurring task completed; absent
wherever nothing was recorded, which is every recurring completion
and outcome: "uncertain". The task is complete either way.
Missing task: {"status": "not_found", "error": "..."}.
Other failures: {"error": "...", "status": "error"}.
Limitations:
- Once completed, the content field becomes immutable.
Update content with resolution notes BEFORE calling this tool.
- A recurring task's completion is never recorded, whatever the
outcome: completing one files the completed instance under an id
this tool never sees. That instance reaches the unprocessed queue.
Do not mark the series id processed by hand instead; it is not the
id the queue is showing.
Example: ticktick_complete_task(task_id="60ca9dbc8f08516d9dd56324")
Inputs: task_id (required).
ticktick_convert_datetime_to_ticktick_formatA
Convert an ISO 8601 datetime string into TickTick's storage format.
TickTick uses YYYY-MM-DDTHH:MM:SS+0000 (UTC offset, no colon).
Args:
datetime_iso_string (str): ISO 8601 datetime, e.g.
"2026-04-13T20:45:00+01:00". Naive strings are accepted
and interpreted in tz.
tz (str): IANA timezone name used for the UTC conversion, e.g.
"Europe/London" or "America/Los_Angeles".
Returns:
On success: {"ticktick_format": "2026-04-13T19:45:00+0000"}.
On parse error: {"error": "Invalid datetime format...", "status": "error"}. On any other conversion error:
{"error": "Conversion failed: ...", "status": "error"}.
Agent Usage Guide:
- Call this when you need to set startDate or dueDate on
a task dict by hand. The ticktick_create_task and
ticktick_update_task tools accept ISO strings directly and
run this conversion internally.
Example: ticktick_convert_datetime_to_ticktick_format( datetime_iso_string="2026-04-13T20:45:00+01:00", tz="Europe/London", )
Inputs: tz (required), datetime_iso_string (required).
ticktick_create_taskA
Create a new task.
Args:
title (str): Task title. Required.
project_id (str, optional): Project ID or name. Defaults to inbox.
Accepts the project's name as well as its ID
(case-insensitive, trimmed; "Inbox" resolves to the inbox).
Two projects sharing a name is an error, not a guess.
content (str, optional): Long-form content (markdown supported).
desc (str, optional): Short description / checklist subtitle.
all_day (bool, optional): True for all-day tasks.
start_date (str, optional): ISO 8601 start datetime, e.g.
"2026-04-13T09:00:00+01:00".
due_date (str, optional): ISO 8601 due datetime.
expected_day_of_week (str, optional): English weekday name. Required
when due_date is set; mismatch returns an error.
time_zone (str, optional): IANA timezone. Defaults to the system
timezone for date conversion.
reminders (list[str], optional): TickTick trigger strings, e.g.
["TRIGGER:-PT30M"].
repeat (str, optional): Recurrence rule (RFC 5545 RRULE).
priority (int, optional): 0=None, 1=Low, 3=Medium, 5=High.
sort_order (int, optional): Position within project.
items (list[dict], optional): Subtask items.
Returns:
JSON object containing the created task. _verification_warnings
carries everything worth knowing about what landed: a response that
did not match what was sent, a due date that is missing and so will
fire no reminder at all or all-day and so no timed one, a title
character TickTick parses as a marker, and content longer than the
compact preview.
On failure: {"error": "...", "status": "error"}.
Limitations:
- builder() in ticktick-py sometimes omits dates,
reminders, priority and timezone; we re-populate them after
the call.
Agent Usage Guide:
- Always pair due_date with expected_day_of_week.
- Pass a project name directly, or list ids with
ticktick_get_all(search="projects").
Example: ticktick_create_task( title="Replace kitchen tap washer", project_id="", due_date="2026-06-01T20:45:00+01:00", expected_day_of_week="Monday", time_zone="Europe/London", priority=3, )
Inputs: title (required), desc, items, repeat, +10 more.
ticktick_delete_tasksA
Delete one or more tasks.
Args:
task_ids (str | list[str]): A single task ID, or a list of IDs.
An empty list returns an error.
project_id (str, optional): Used to construct a minimal delete
payload when get_by_id cannot find the task locally
(typical for completed tasks). Accepts the project's name as
well as its ID (case-insensitive, trimmed; "Inbox" resolves to
the inbox). Two projects sharing a name is an error, not a
guess.
Returns:
{"status": "success", "deleted_count": N, "tasks_deleted_ids": [...]} on success. Tasks that could not be matched at all are
returned as status="not_found" with missing_ids /
invalid_ids arrays. Partial success surfaces warnings.
Empty input: {"status": "error", "message": "No task IDs..."}.
Agent Usage Guide:
- For tasks already completed in TickTick, supply project_id
-- get_by_id does not see completed tasks.
Example: ticktick_delete_tasks( task_ids=["abc123", "def456"], project_id="", )
Inputs: task_ids (required), project_id.
ticktick_filter_tasksA
Return the tasks matching every supplied filter criterion.
Supports any combination of project, priority, tag, status, and a date window applied to either the due date (open tasks) or the completion timestamp (completed tasks).
Args:
detail (str, optional): "compact" (default) or "full".
Compact drops the heavy content/desc/checklist
items blobs and bulky sync metadata, keeping id,
projectId, title, dueDate, startDate, priority, status,
isAllDay, timeZone, tags plus a contentPreview (first
~200 chars of content) so keyword search still works. Full
returns the raw task objects unchanged. To edit a task, call
ticktick_update_task with its id and only the fields to
change, plus projectId for a completed task.
filter_criteria (dict | str): A criteria object, or a JSON string
that decodes to one. No value below reaches the query
unchecked, and any key not on this list is an error rather
than something ignored, so a mistyped key fails loudly.
Recognised keys:
* ``status``: ``"uncompleted"`` (default) or ``"completed"``.
When ``"completed"`` you should supply
``completion_start_date`` and/or ``completion_end_date``;
without dates the result is an empty list.
* ``project_id`` (str): Limit to tasks in this project.
Accepts the project's name as well as its ID
(case-insensitive, trimmed). Two projects sharing a
name is an error, not a guess, and so is a project the
account does not have.
* ``priority`` (int): 0=None, 1=Low, 3=Medium, 5=High. Must be
a JSON integer; the string ``"3"`` and the float ``3.0`` are
errors, as is any other value.
* ``tag_label`` (str): Tag name (case-sensitive), non-empty.
Surrounding whitespace is trimmed.
* ``due_start_date`` / ``due_end_date`` (str): ISO date or
datetime strings; only used when ``status='uncompleted'``.
A value that cannot be read as a date is an error, so a
window is never silently dropped, and a window that ends
before it begins is an error too. Bounds apply at day
granularity, so any time part is ignored rather than
validated.
* ``completion_start_date`` / ``completion_end_date`` (str):
ISO date or datetime strings; only used when
``status='completed'``. Same date rules as above.
* ``tz`` (str): Default IANA timezone applied to date filters,
e.g. ``"Europe/London"``. A name that does not resolve is an
error rather than being ignored, so results are never
labelled with a zone that was not applied.
* ``sort_by_priority`` (bool): Sort by descending priority.
Must be a JSON boolean; the strings ``"true"``/``"false"``
and ``1``/``0`` are errors.Returns:
JSON list of matching task objects (compact by default; see
detail). Empty list if nothing matches. If a compact result
would still exceed the size budget, the soonest-due matches are
returned and a final _truncation_note element reports how
many were omitted -- nothing is dropped silently. On invalid
input or backend failure: {"error": "...", "status": "error"}.
One error carries an extra key: outcome: "project_list_unverifiable" means the project list could not be
refreshed to confirm project_id, so retry rather than
concluding the project is gone.
Freshness:
Uncompleted queries read local state, synced from the server at most
once per throttle window (default 15s,
TICKTICK_MCP_SYNC_TTL_SECONDS); a change made elsewhere within
that window may not be visible yet -- call ticktick_sync to force
a refresh. Completed queries are always fetched live.
Limitations:
- TickTick answers at most 100 completed tasks at a time. A
completion window holding more is read in parts, except within a
single day, where only that day's newest 100 are returned.
- Filtering happens client-side after the fetch, so additional
criteria do not reduce the number of network requests.
- Compact output is for browsing only; full content for one task
is available via ticktick_get_by_id or detail="full".
Agent Usage Guide:
- List open tasks in a project:
{"status": "uncompleted", "project_id": "<id>"}
- List completed tasks in the last 7 days:
{ "status": "completed", "project_id": "<id>", "completion_start_date": "2026-05-21", "completion_end_date": "2026-05-28" }
- Find high-priority open tasks due this month, sorted:
{ "priority": 5, "due_start_date": "2026-05-01", "due_end_date": "2026-05-31", "sort_by_priority": true }
Inputs: filter_criteria (required), detail.
ticktick_get_allA
Dump everything of a single kind from the local sync state.
Args:
search (str): Either "projects" or "tags"
(case-insensitive).
detail (str, optional): "compact" (default) or "full".
Accepted for parity with the other list tools and validated
here. It has no effect: both searches return non-task records
in full.
Returns:
For "projects": JSON list, inbox prepended as
{"id": <inbox>, "name": "Inbox"}.
For "tags": JSON list of tag objects.
For "tasks" or any other value: {"error": "...", "status": "error"}.
Limitations:
- It does not list tasks. "tasks" is answered with an error,
without a sync of its own. List open tasks with
ticktick_filter_tasks(filter_criteria={"status": "uncompleted"}),
or one project's with ticktick_get_tasks_from_project.
Example: ticktick_get_all(search="projects")
Inputs: search (required), detail.
ticktick_get_by_idA
Look up any object (task, project, tag) by its ID.
Args: obj_id (str): The object's full ID.
Returns:
JSON object of the matching record, or an empty object {} if
nothing has that id. Branch on emptiness.
On failure: {"error": "...", "status": "error"}.
Freshness:
Local state is synced from the server at most once per throttle
window (default 15s, TICKTICK_MCP_SYNC_TTL_SECONDS); an edit made
elsewhere within that window may not be visible yet. Call
ticktick_sync to force an immediate refresh.
Example: ticktick_get_by_id(obj_id="60ca9dbc8f08516d9dd56324")
Inputs: obj_id (required).
ticktick_get_tasks_from_projectA
Return every open task in a project.
Args:
project_id (str): The project's ID or name. Accepts the project's name as well as its ID
(case-insensitive, trimmed; "Inbox" resolves to the inbox).
Two projects sharing a name is an error, not a guess.
List them with ticktick_get_all(search="projects").
detail (str, optional): "compact" (default) or "full".
Compact drops the heavy content/desc/checklist
items blobs and bulky sync metadata, keeping id,
projectId, title, dueDate, startDate, priority, status,
isAllDay, timeZone, tags plus a contentPreview (first
~200 chars of content) so keyword search still works. Full
returns the raw task objects unchanged.
Returns:
Compact (default): JSON list of compact task objects. If the
compact payload would still exceed the size budget, the
soonest-due tasks are returned and a final _truncation_note
element reports how many were omitted -- nothing is dropped
silently.
Full: JSON list of raw task objects (empty list if none).
On failure: {"error": "...", "status": "error"}.
Limitations:
- Completed tasks are NOT included.
- Compact output is for browsing only. To edit a task, call
ticktick_update_task with its id and only the fields to change.
Get the full content of a single task with
ticktick_get_by_id, or pass detail="full".
Freshness:
Local state is synced from the server at most once per throttle
window (default 15s, TICKTICK_MCP_SYNC_TTL_SECONDS); an edit made
elsewhere within that window may not be visible yet. Call
ticktick_sync to force an immediate refresh.
Example: ticktick_get_tasks_from_project( project_id="" )
Inputs: project_id (required), detail.
ticktick_get_unprocessed_completionsA
Returns completed tasks for a project that have NOT yet been marked as processed by a domain agent.
Could be called at the beginning of each conversation to check for new completions. After reviewing each returned task, call ticktick_mark_completion_processed to record that it has been handled.
A task completed through ticktick_complete_task is recorded by that tool, so what this returns is what was completed elsewhere, in the TickTick app or on another client, where a note may be waiting to be read. One exception: no recurring completion is recorded, because it files its completed instance under an id the completing call never sees, so that instance appears here whoever completed it.
Args: project_id (str): TickTick project ID or name to check. Required. Accepts the project's name as well as its ID (case-insensitive, trimmed; "Inbox" resolves to the inbox). Two projects sharing a name is an error, not a guess. days (int): How many days back to look for completions. Default 30.
Returns: JSON list of unprocessed task objects (may be empty). Each object includes: id, title, projectId, completedTime, content. Error: {"error": "...", "status": "error"}
Usage Guide: - Call once per project at the start of each conversation. - For each returned task: read the content field, log meaningful outcomes if appropriate, then call ticktick_mark_completion_processed. - Example: ticktick_get_unprocessed_completions( project_id="your_project_id_here", days=30 )
Inputs: project_id (required), days.
ticktick_make_subtaskA
Nest child_task_id under parent_task_id.
Args:
parent_task_id (str): The parent task's ID.
child_task_id (str): The task to become a subtask. Must differ
from parent_task_id and live in the same project.
Returns:
On success: {"status": "success", "updated_parent_task": ..., "api_response": ...}.
Missing child / parent: {"status": "not_found", "error": "..."}.
Cross-project: {"error": "...same project...", "child_project": "...", "parent_project": "..."}.
Example: ticktick_make_subtask( parent_task_id="60ca9dbc8f08516d9dd56324", child_task_id="60ca9dbc8f08516d9dd56325", )
Inputs: child_task_id (required), parent_task_id (required).
ticktick_mark_completion_processedA
Records that a domain agent has processed a completed task.
Call this after reviewing each task returned by ticktick_get_unprocessed_completions. The task will no longer appear in future calls to that tool.
Args: task_id (str): Full TickTick task ID. Required. project_id (str): Project ID or name the task belongs to. Required. Accepts the project's name as well as its ID (case-insensitive, trimmed; "Inbox" resolves to the inbox). Two projects sharing a name is an error, not a guess. title (str, optional): Task title (stored for human-readable audit trail). completed_time (str, optional): ISO completion timestamp from the task object. notes (str, optional): Brief notes on how the completion was handled.
Returns: {"status": "ok", "task_id": "..."} on success. {"status": "already_processed", "task_id": "..."} if already recorded. {"error": "...", "status": "error"} on failure.
Usage Guide: - Call once per task after finishing your handling of it. - Example: ticktick_mark_completion_processed( task_id="abc123", project_id="your_project_id_here", title="Fix kitchen tap", completed_time="2025-06-01T19:00:00+01:00", notes="Replaced ceramic disc, resolved" )
Inputs: task_id (required), project_id (required), notes, title, +1 more.
ticktick_move_taskA
Move a task into a different project.
Args: task_id (str): The task's full ID. new_project_id (str): Destination project's ID or name. Accepts the project's name as well as its ID (case-insensitive, trimmed; "Inbox" resolves to the inbox). Two projects sharing a name is an error, not a guess.
Returns:
JSON object containing the moved task. If the target project
cannot be looked up locally, the move is still attempted.
Missing source task (no projectId field):
{"status": "not_found", ...}.
Other failures: {"error": "...", "status": "error"}.
Example: ticktick_move_task( task_id="60ca9dbc8f08516d9dd56324", new_project_id="", )
Inputs: task_id (required), new_project_id (required).
ticktick_syncA
Force an immediate refresh of TickTick state from the server.
The active-read tools (ticktick_get_by_id,
ticktick_get_tasks_from_project, ticktick_filter_tasks) already
auto-refresh at most once per throttle window (default 15s, overridable
via TICKTICK_MCP_SYNC_TTL_SECONDS). Call this when you need an
immediate refresh -- e.g. you just changed something in the TickTick app
on another device, or a read looks stale and you want to be certain
before acting.
Returns:
{"status": "synced", "task_count": N, "project_count": M} on
success. {"status": "error", "detail": "..."} if the refresh
failed -- the previous (stale) state is still served by the read
tools, so callers can continue with reduced confidence.
Example: ticktick_sync()
Inputs: no named parameters.
ticktick_update_taskA
Update an existing task without wiping unmodified fields.
Send only the fields to change. The tool fetches the current task and
overlays ONLY the fields the caller explicitly set
(exclude_unset=True), sending the other editable fields back with them.
Args:
task_object (TaskObject): Must include id. All other fields
are optional; set only the ones you want to change. When
dueDate is set you must also set expectedDayOfWeek.
Returns:
JSON object containing the updated task.
_verification_warnings is attached when the response did not
match what we sent, when a reminders: [] removal could not be
confirmed, and when status: 0 was set but the local completion
record could not be cleared. That last one says nothing about whether
the update itself landed.
On failure: {"error": "...", "status": "error"}.
Limitations:
- Read-only API fields (creator, etag, createdTime,
modifiedTime, deleted, kind, isFloating) are
stripped from the main update call.
- Setting status: 0 also clears any local record of this task's
earlier completion, so a later completion is surfaced by
ticktick_get_unprocessed_completions again. A clear that fails
is reported in _verification_warnings.
- reminders: [] removes whatever reminders the task has at that
moment, so do not send it back from an old copy of the task.
_verification_warnings says so if the removal could not be
confirmed. reminders: null leaves them alone. A non-empty list
replaces them. Sending dueDate and startDate as null
removes the date, and its reminders with it.
Agent Usage Guide:
- To reschedule a task, send a single update with the new
dueDate + expectedDayOfWeek. Do NOT complete and
recreate.
Example: ticktick_update_task(task_object={ "id": "60ca9dbc8f08516d9dd56324", "projectId": "", "priority": 5, "dueDate": "2026-06-15T20:45:00+01:00", "expectedDayOfWeek": "Monday", "timeZone": "Europe/London", })
Inputs: task_object (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have clearly distinct purposes, and descriptions explicitly disambiguate similar operations (e.g. filter_tasks vs get_tasks_from_project, complete_task vs update_task). However, get_tasks_from_project largely duplicates a subset of filter_tasks, and get_all/get_by_id could occasionally be confused when looking for projects or tags.
Tool names consistently use a ticktick_ prefix and mostly follow verb_noun phrasing (filter_tasks, delete_tasks, create_task, move_task, etc.). Minor deviations like ticktick_sync and ticktick_get_by_id break the pattern slightly but remain readable and predictable.
With 14 tools, the set is well-scoped for a task-management server. Each tool corresponds to a meaningful operation, and there is no evidence of padding or excessive fragmentation.
The task lifecycle is comprehensively covered: create, read/list/filter, update, delete, complete, move, subtask nesting, and completion processing. There are minor gaps around project and tag management (only read operations are exposed), but these appear outside the core task-focused purpose.
Maintenance
Related MCP Connectors
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Toggl 2.0 MCP server for tasks, projects, time entries, and workspace operations.
Unofficial community ClickUp MCP via personal API token. Not affiliated with ClickUp.
Related MCP Servers
- AlicenseCqualityDmaintenanceAgent-friendly CLI and MCP server for TickTick and Dida365 task management APIs, enabling project and task management with stable JSON output and OAuth authentication.171MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for TickTick API enabling task management, project organization, habit tracking, and more.37 npm73MIT
- FlicenseNot gradedqualityDmaintenanceRemote MCP server for managing TickTick tasks and projects, offering 22 tools for CRUD, search, and GTD workflows via any MCP client.1-
- AlicenseNot gradedqualityDmaintenanceA security-hardened MCP server for TickTick that enables managing your tasks directly through any MCP-compatible client.16 PyPI1MIT