ticktick-mcp-server
local-only server
The server can only run on the clientβs local machine because it depends on local resources.
Integrations
Securely stores authentication tokens in a local .env file as part of the OAuth flow, handling token storage and automatic refreshing.
Provides source code hosting for the MCP server, allowing users to clone the repository to install the server.
Allows full interaction with a TickTick task management system, including viewing projects and tasks, creating new projects and tasks, updating task details, marking tasks as complete, and deleting tasks and projects.
TickTick MCP Server
A Model Context Protocol (MCP) server for TickTick that enables interacting with your TickTick task management system directly through Claude and other MCP clients.
Features
- π View all your TickTick projects and tasks
- βοΈ Create new projects and tasks through natural language
- π Update existing task details (title, content, dates, priority)
- β Mark tasks as complete
- ποΈ Delete tasks and projects
- π Full integration with TickTick's open API
- π Seamless integration with Claude and other MCP clients
Prerequisites
- Python 3.10 or higher
- uv - Fast Python package installer and resolver
- TickTick account with API access
- TickTick API credentials (Client ID, Client Secret, Access Token)
Installation
- Clone this repository:Copy
- Install with uv:Copy
- Authenticate with TickTick:This will:Copy
- Ask for your TickTick Client ID and Client Secret
- Open a browser window for you to log in to TickTick
- Automatically save your access tokens to a
.env
file
- Test your configuration:This will verify that your TickTick credentials are working correctly.Copy
Authentication with TickTick
This server uses OAuth2 to authenticate with TickTick. The setup process is straightforward:
- Register your application at the TickTick Developer Center
- Set the redirect URI to
http://localhost:8000/callback
- Note your Client ID and Client Secret
- Set the redirect URI to
- Run the authentication command:Copy
- Follow the prompts to enter your Client ID and Client Secret
- A browser window will open for you to authorize the application with your TickTick account
- After authorizing, you'll be redirected back to the application, and your access tokens will be automatically saved to the
.env
file
The server handles token refresh automatically, so you won't need to reauthenticate unless you revoke access or delete your .env
file.
Usage with Claude for Desktop
- Install Claude for Desktop
- Edit your Claude for Desktop configuration file:macOS:Windows:CopyCopy
- Add the TickTick MCP server configuration:Copy
- Restart Claude for Desktop
Once connected, you'll see the TickTick MCP server tools available in Claude, indicated by the π¨ (tools) icon.
Available MCP Tools
Tool | Description | Parameters |
---|---|---|
get_projects | List all your TickTick projects | None |
get_project | Get details about a specific project | project_id |
get_project_tasks | List all tasks in a project | project_id |
get_task | Get details about a specific task | project_id , task_id |
create_task | Create a new task | title , project_id , content (optional), start_date (optional), due_date (optional), priority (optional) |
update_task | Update an existing task | task_id , project_id , title (optional), content (optional), start_date (optional), due_date (optional), priority (optional) |
complete_task | Mark a task as complete | project_id , task_id |
delete_task | Delete a task | project_id , task_id |
create_project | Create a new project | name , color (optional), view_mode (optional) |
delete_project | Delete a project | project_id |
Example Prompts for Claude
Here are some example prompts to use with Claude after connecting the TickTick MCP server:
- "Show me all my TickTick projects"
- "Create a new task called 'Finish MCP server documentation' in my work project with high priority"
- "List all tasks in my personal project"
- "Mark the task 'Buy groceries' as complete"
- "Create a new project called 'Vacation Planning' with a blue color"
- "When is my next deadline in TickTick?"
Development
Project Structure
Authentication Flow
The project implements a complete OAuth 2.0 flow for TickTick:
- Initial Setup: User provides their TickTick API Client ID and Secret
- Browser Authorization: User is redirected to TickTick to grant access
- Token Reception: A local server receives the OAuth callback with the authorization code
- Token Exchange: The code is exchanged for access and refresh tokens
- Token Storage: Tokens are securely stored in the local
.env
file - Token Refresh: The client automatically refreshes the access token when it expires
This simplifies the user experience by handling the entire OAuth flow programmatically.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
A MCP server for TickTick that enables interacting with your TickTick task management system directly through Claude and other MCP clients.
- Features
- Prerequisites
- Installation
- Authentication with TickTick
- Usage with Claude for Desktop
- Available MCP Tools
- Example Prompts for Claude
- Development
- License