A Model Context Protocol (MCP) server for TickTick that enables interacting with your TickTick task management system directly through Claude and other MCP clients.
Clone this repository:
git clone https://github.com/parkjs814/ticktick-mcp.git
cd ticktick-mcp
Install with uv:
# Install uv if you don't have it already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create a virtual environment
uv venv
# Activate the virtual environment
# On macOS/Linux:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
# Install the package
uv pip install -e .
Authenticate with TickTick:
# Run the authentication flow
uv run -m ticktick_mcp.cli auth
This will:
.env
fileTest your configuration:
uv run test_server.py
This will verify that your TickTick credentials are working correctly.
This server uses OAuth2 to authenticate with TickTick. The setup process is straightforward:
Register your application at the TickTick Developer Center
http://localhost:8000/callback
Run the authentication command:
uv run -m ticktick_mcp.cli auth
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.
Install Claude for Desktop
Edit your Claude for Desktop configuration file:
macOS:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows:
notepad %APPDATA%\Claude\claude_desktop_config.json
Add the TickTick MCP server configuration, using absolute paths:
{
"mcpServers": {
"ticktick": {
"command": "<absolute path to uv>",
"args": ["run", "--directory", "<absolute path to ticktick-mcp directory>", "-m", "ticktick_mcp.cli", "run"]
}
}
}
Restart Claude for Desktop
Once connected, you'll see the TickTick MCP server tools available in Claude, indicated by the 🔨 (tools) icon.
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 |
Here are some example prompts to use with Claude after connecting the TickTick MCP server:
ticktick-mcp/
├── .env.template # Template for environment variables
├── README.md # Project documentation
├── requirements.txt # Project dependencies
├── setup.py # Package setup file
├── test_server.py # Test script for server configuration
└── ticktick_mcp/ # Main package
├── __init__.py # Package initialization
├── authenticate.py # OAuth authentication utility
├── cli.py # Command-line interface
└── src/ # Source code
├── __init__.py # Module initialization
├── auth.py # OAuth authentication implementation
├── server.py # MCP server implementation
└── ticktick_client.py # TickTick API client
The project implements a complete OAuth 2.0 flow for TickTick:
.env
fileThis simplifies the user experience by handling the entire OAuth flow programmatically.
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.
{
"mcpServers": {
"ticktick": {
"env": {},
"args": [
"run",
"--directory",
"ticktick-mcp",
"-m",
"ticktick_mcp.cli",
"run"
],
"command": "uv"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.