Skip to main content

TickTick MCP Server - Enhanced Version with Chinese Support

Project description

TickTick MCP v2

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
  • 🔐 Username/password authentication with local credential storage

Quick Start

1. Install Dependencies

git clone <repository-url>
cd ticktick-mcp-v2
# Initialize and update Git submodules
git submodule update --init --recursive
uv pip install -r requirements.txt

2. Authenticate

uv run ticktick-mcp auth

Enter your TickTick username and password when prompted. Credentials will be saved locally.

3. Test Configuration

uv run ticktick-mcp test

4. Run Server

uv run ticktick-mcp run

Integration with Claude Desktop

  1. Edit your Claude Desktop configuration file: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

  2. Add the MCP server configuration:

    Option 1: Auto-authentication (Recommended)

    {
      "mcpServers": {
        "ticktick-mcp-v2": {
          "command": "uv",
          "args": [
            "run",
            "--directory", 
            "/absolute/path/to/your/ticktick-mcp-v2",
            "ticktick-mcp",
            "run"
          ],
          "env": {
            "TICKTICK_USERNAME": "your_username_here",
            "TICKTICK_PASSWORD": "your_password_here"
          }
        }
      }
    }
    

    Option 2: Manual authentication

    {
      "mcpServers": {
        "ticktick-mcp-v2": {
          "command": "uv",
          "args": [
            "run",
            "--directory", 
            "/absolute/path/to/your/ticktick-mcp-v2",
            "ticktick-mcp",
            "run"
          ]
        }
      }
    }
    
  3. Restart Claude Desktop

Available MCP Tools

Tool Description Parameters
Authentication
auth_status Check authentication status None
Project Management
get_projects List all projects None
get_project Get project details project_id
create_project Create new project name, color (optional), view_mode (optional)
delete_project Delete project project_id
get_project_tasks Get tasks in project project_id, include_completed (optional)
Task Management
get_tasks List all tasks include_completed (optional)
create_task Create new task title, project_id (optional), content (optional), start_date (optional), due_date (optional), priority (optional)
update_task Update task task_id, project_id (optional), title (optional), content (optional), start_date (optional), due_date (optional), priority (optional)
delete_task Delete task project_id, task_id
complete_task Mark task complete task_id
Advanced Features
search_tasks Search tasks query
get_tasks_by_priority Get tasks by priority priority (0=None, 1=Low, 3=Medium, 5=High)
get_tasks_due_today Get tasks due today None
get_overdue_tasks Get overdue tasks None

Example Prompts

  • "Show me all my TickTick projects"
  • "Create a task called 'Finish documentation' with high priority"
  • "What tasks do I have due today?"
  • "Mark the task 'Buy groceries' as complete"

CLI Commands

  • auth - Authenticate with TickTick
  • run - Run the MCP server
  • test - Test configuration
  • logout - Clear saved credentials

Authentication

This server supports multiple authentication methods:

  1. CLI Authentication (Primary): uv run ticktick-mcp auth
  2. Environment Variables: Set TICKTICK_USERNAME and TICKTICK_PASSWORD
  3. MCP Config: Add credentials in Claude Desktop config
  4. Local Storage: Credentials saved to ~/.ticktick-mcp/credentials.json

Running Tests

python -m pytest tests/

Acknowledgments

This project would not be possible without the excellent work of the following open source projects:

🎯 ticktick-py

Original Author: Michael Lazeroff
Fork Maintainer: yidianyiko

The core TickTick Python SDK that powers this MCP server. This unofficial API library provides comprehensive access to TickTick's functionality, enabling seamless integration with the TickTick task management platform.

🤝 Contributing

If you find this project useful, please consider:

  • ⭐ Starring the maintained fork repository
  • 🐛 Reporting issues or suggesting improvements
  • 📖 Contributing to documentation

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ticktick_mcp_v2-1.0.0.tar.gz (76.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ticktick_mcp_v2-1.0.0-py3-none-any.whl (87.9 kB view details)

Uploaded Python 3

File details

Details for the file ticktick_mcp_v2-1.0.0.tar.gz.

File metadata

  • Download URL: ticktick_mcp_v2-1.0.0.tar.gz
  • Upload date:
  • Size: 76.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for ticktick_mcp_v2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e58d81d0a2f39186e0d0e0d4be3c000d9f01f635724a2421072568aa04e98f66
MD5 d3f83fb1bac8274dfe05dbf0555e4d1a
BLAKE2b-256 248dad1a6257d8a68b1e18899b56cf565999903512a48e8df17fe3e1e9c9f032

See more details on using hashes here.

File details

Details for the file ticktick_mcp_v2-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ticktick_mcp_v2-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a470832880141e6ff4c94e4e69f07d9f577355ed3882995cf4ae4846b83ad3a2
MD5 f86f532121b0108ec0cd4351cb5a3362
BLAKE2b-256 e3704d6cb4e082ac1da0983495cf476ab7bbab2a53b9783e518473e8a4ec1a38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page