ticktick-mcp
v0.2.2
Published
A Model Context Protocol (MCP) server for TickTick integration
Maintainers
Readme
ticktick-mcp
A Model Context Protocol (MCP) server for TickTick task management integration. This server allows AI assistants like Claude to interact with your TickTick account to manage tasks and projects.
Features
- OAuth 2.0 Authentication - Secure authentication flow with token management
- Project Management - List, create, update, and delete projects
- Task Management - Full CRUD operations for tasks including:
- Create tasks with titles, descriptions, priorities, and due dates
- Set reminders and recurrence rules
- Add subtasks/checklists
- Batch create multiple tasks
- Complete and delete tasks
- User Information - Retrieve authenticated user details
Installation
npm install -g ticktick-mcpOr use directly with npx:
npx ticktick-mcpPrerequisites
You'll need TickTick API credentials:
- Go to TickTick Developer Portal
- Create a new application
- Note your Client ID and Client Secret
- Set the redirect URI to
http://localhost:8080/callback(or your preferred callback URL)
Configuration
Set the following environment variables:
export TICKTICK_CLIENT_ID="your-client-id"
export TICKTICK_CLIENT_SECRET="your-client-secret"
export TICKTICK_REDIRECT_URI="http://localhost:8080/callback" # Optional, defaults to this
export TICKTICK_REGION="global" # Optional: "global" or "cn" for China regionUsage with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"ticktick": {
"command": "npx",
"args": ["ticktick-mcp"],
"env": {
"TICKTICK_CLIENT_ID": "your-client-id",
"TICKTICK_CLIENT_SECRET": "your-client-secret"
}
}
}
}Available Tools
Authentication
auth_get_authorization_url- Get OAuth authorization URL to start authenticationauth_exchange_code- Exchange authorization code for tokensauth_status- Check current authentication statusauth_refresh_token- Manually refresh access tokenauth_logout- Clear stored tokens
User
get_user- Get current authenticated user information
Projects
list_projects- List all projectsget_project- Get project with all its tasksget_project_by_id- Get project metadata onlycreate_project- Create a new projectupdate_project- Update an existing projectdelete_project- Delete a project
Tasks
list_tasks_in_project- List all tasks in a projectget_task- Get a specific taskcreate_task- Create a new taskupdate_task- Update an existing taskcomplete_task- Mark a task as completedelete_task- Delete a taskbatch_create_tasks- Create multiple tasks at oncesearch_tasks- Search for tasks by keyword across all projectsget_tasks_due_soon- Get tasks that are due soon (within the next N days)get_high_priority_tasks- Get high priority tasks across all projects
Authentication Flow
- Use
auth_get_authorization_urlto get the OAuth URL - Open the URL in a browser and authorize the application
- Copy the
codeparameter from the callback URL - Use
auth_exchange_codewith the code to complete authentication
Tokens are automatically refreshed when expired.
License
MIT
