Logo di TickTick MCP 服务器

TickTick MCP 服务器

Community
jacepark12

MCP server that interacts with TickTick (Dida 365) via the TickTick Open API

Autorejacepark12
Repositoryticktick-mcp
LinguaPython
Fork
104
Stelle
298
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    TickTick MCP 服务器 mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    298 stelle e 104 fork nel repository collegato.

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

  1. Clone this repository:

    bash
    git clone https://github.com/jacepark12/ticktick-mcp.git
    cd ticktick-mcp
  2. Install with uv:

    bash
    # 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 .
  3. Authenticate with TickTick:

    bash
    # Run the authentication flow
    uv run -m ticktick_mcp.cli auth

    This will:

    • 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
  4. Test your configuration:

    bash
    uv run test_server.py

    This will verify that your TickTick credentials are working correctly.

Authentication with TickTick

This server uses OAuth2 to authenticate with TickTick. The setup process is straightforward:

  1. Register your application at the TickTick Developer Center

    • Set the redirect URI to http://localhost:8000/callback
    • Note your Client ID and Client Secret
  2. Run the authentication command:

    bash
    uv run -m ticktick_mcp.cli auth
  3. Follow the prompts to enter your Client ID and Client Secret

  4. A browser window will open for you to authorize the application with your TickTick account

  5. 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.

Authentication with Dida365

滴答清单 - Dida365 is China version of TickTick, and the authentication process is similar to TickTick. Follow these steps to set up Dida365 authentication:

  1. Register your application at the Dida365 Developer Center

    • Set the redirect URI to http://localhost:8000/callback
    • Note your Client ID and Client Secret
  2. Add environment variables to your .env file:

    env
    TICKTICK_BASE_URL='https://api.dida365.com/open/v1'
    TICKTICK_AUTH_URL='https://dida365.com/oauth/authorize'
    TICKTICK_TOKEN_URL='https://dida365.com/oauth/token'
  3. Follow the same authentication steps as for TickTick

Usage with Claude for Desktop

  1. Install Claude for Desktop

  2. Edit your Claude for Desktop configuration file:

    macOS:

    bash
    nano ~/Library/Application\ Support/Claude/claude_desktop_config.json

    Windows:

    bash
    notepad %APPDATA%\Claude\claude_desktop_config.json
  3. Add the TickTick MCP server configuration, using absolute paths:

    json
    {
       "mcpServers": {
          "ticktick": {
             "command": "<absolute path to uv>",
             "args": ["run", "--directory", "<absolute path to ticktick-mcp directory>", "-m", "ticktick_mcp.cli", "run"]
          }
       }
    }
  4. 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

ToolDescriptionParameters
get_projectsList all your TickTick projectsNone
get_projectGet details about a specific projectproject_id
get_project_tasksList all tasks in a projectproject_id
get_taskGet details about a specific taskproject_id, task_id
create_taskCreate a new tasktitle, project_id, content (optional), start_date (optional), due_date (optional), priority (optional)
update_taskUpdate an existing tasktask_id, project_id, title (optional), content (optional), start_date (optional), due_date (optional), priority (optional)
complete_taskMark a task as completeproject_id, task_id
delete_taskDelete a taskproject_id, task_id
create_projectCreate a new projectname, color (optional), view_mode (optional)
delete_projectDelete a projectproject_id

Task-specific MCP Tools

Task Retrieval & Search

ToolDescriptionParameters
get_all_tasksGet all tasks from all projectsNone
get_tasks_by_priorityGet tasks filtered by priority levelpriority_id (0: None, 1: Low, 3: Medium, 5: High)
search_tasksSearch tasks by title, content, or subtaskssearch_term

Date-Based Task Retrieval

ToolDescriptionParameters
get_tasks_due_todayGet all tasks due todayNone
get_tasks_due_tomorrowGet all tasks due tomorrowNone
get_tasks_due_in_daysGet tasks due in exactly X daysdays (0 = today, 1 = tomorrow, etc.)
get_tasks_due_this_weekGet tasks due within the next 7 daysNone
get_overdue_tasksGet all overdue tasksNone

Getting Things Done (GTD) Framework

ToolDescriptionParameters
get_engaged_tasksGet "engaged" tasks (high priority or overdue)None
get_next_tasksGet "next" tasks (medium priority or due tomorrow)None
batch_create_tasksCreate multiple tasks at oncetasks (list of task dictionaries)

Example Prompts for Claude

Here are some example prompts to use with Claude after connecting the TickTick MCP server:

General

  • "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?"

Task Filtering Queries

  • "What tasks do I have due today?"
  • "Show me everything that's overdue"
  • "Show me all tasks due this week"
  • "Search for tasks about 'project alpha'"
  • "Show me all tasks with 'client' in the title or description"
  • "Show me all my high priority tasks"

GTD Workflow

Following David Allen's "Getting Things Done" framework, manage an Engaged and Next actions.

  • Engaged will retrieve tasks of high priority, due today or overdue.
  • Next will retrieve medium priority or due tomorrow.
  • Break down complex actions into smaller actions with batch_creation

For example:

  • "Time block the rest of my day from 2-8pm with items from my engaged list"
  • "Walk me through my next actions and help my identify what I should focus on tomorrow?"
  • "Break down this project into 5 smaller actionable tasks"

Development

Project Structure

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

Authentication Flow

The project implements a complete OAuth 2.0 flow for TickTick:

  1. Initial Setup: User provides their TickTick API Client ID and Secret
  2. Browser Authorization: User is redirected to TickTick to grant access
  3. Token Reception: A local server receives the OAuth callback with the authorization code
  4. Token Exchange: The code is exchanged for access and refresh tokens
  5. Token Storage: Tokens are securely stored in the local .env file
  6. 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.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Installazione

TypingMind
{
  "mcpServers": {
    "ticktick-mcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "<absolute path to ticktick-mcp directory>",
        "-m",
        "ticktick_mcp.cli",
        "run"
      ]
    }
  }
}

Usa MCP TickTick MCP 服务器 con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso TickTick MCP 服务器, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi TickTick MCP 服务器 come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di TickTick MCP 服务器.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "ticktick-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di TickTick MCP 服务器, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di TickTick MCP 服务器.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare TickTick MCP 服务器 per aiutarmi con questa attività?
TickTick MCP 服务器
Certo. Ho letto.
Ecco cosa ho trovato con TickTick MCP 服务器.

Domande frequenti

A cosa serve il server MCP TickTick MCP 服务器?

TickTick MCP 服务器 è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare TickTick MCP 服务器 MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare TickTick MCP 服务器 con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP TickTick MCP 服务器 con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando TickTick MCP 服务器, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego TickTick MCP 服务器 MCP a TypingMind?

TickTick MCP 服务器 funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre TickTick MCP 服务器 MCP in TypingMind?

TickTick MCP 服务器 mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare TickTick MCP 服务器 MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se TickTick MCP 服务器 richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇