Purpose
ticktick-mcp is a Model Context Protocol (MCP) server implementation designed to integrate the TickTick task management tool into AI assistants and applications. It provides a standardized way for AI systems to interact with TickTick's task management features, thereby acting as a "task butler" in natural language to help manage to-do lists and tasks.
Main Capabilities
The server provides the following tools:
- get_projects: Get a list of all projects
- project_details: Get detailed information about a specific project
- get_task_details: Get detailed information about a specific task
- create_project: Create a new project
- create_task: Create a new task in a project
- update_task: Update an existing task
- complete_task: Mark a task as complete
- delete_task: Delete a task
With these tools, AI systems can enable natural language interactions such as "show me all my projects," "create a new project called 'Home Renovation'," "add a task to buy groceries tomorrow," "mark my 'Pay Bills' task as complete," "what tasks are due this week?", "delete the task about the canceled meeting," and more.
Usage
Using this MCP server requires the following:
- A TickTick account
- A TickTick API key obtained via OAuth (the repository notes mention that a tool for generating API keys from the TickTick developer portal will be added later)
The basic steps are as follows:
-
Clone the repository: git clone https://github.com/ekkyarmandi/ticktick-mcp.git cd ticktick-mcp
-
Install dependencies: pip install -r requirements.txt
-
Obtain a TickTick API key: This MCP uses TickTick's OpenAPI scheme and requires registering an application through the TickTick developer portal:
- Go to the TickTick developer documentation
- Click Manage Apps in the upper right corner and log in with your TickTick credentials
- Click the +App Name button to register a new application
- Enter the application name (the only required field)
- After creation, you can see the Client ID and Client Secret
- In OAuth Redirect URL, enter the URL to redirect to after authorization (for example, http://127.0.0.1:8080)
-
Authorize the application: After registering the application, use the ticktick-py library to obtain an access token. After authorization, the access token is saved to the .token-oauth file by default. You can extract the token from this file, or use the file directly.
-
Create a .env file in the root directory and fill in the TickTick API key: TICKTICK_API_KEY=your_access_token_here
-
Run the MCP server: This will start the MCP server on port 8000. After that, you can connect using any MCP client.
Applicable Scenarios
This server can be used with any MCP-compatible client, such as custom AI applications using the MCP SDK. It is suitable for users who want to manage their TickTick personal projects and tasks in natural language through an AI assistant.
Extension and Limitations
To extend or modify this MCP server:
- Add new tools in tools.py
- Register them in main.py using mcp.add_tool()
The repository welcomes contributions, and Pull Requests can be submitted. The current materials do not provide specific information about fees, pricing, the scope of platform support, or performance results.