Logo vun TickTick MCP 服务器

TickTick MCP 服务器

Communautéit
liadgez

Complete TickTick MCP Server with 100% API coverage (112 operations) - Created with Claude Code for Claude Code users

Editeurliadgez
Repositoryticktick-mcp-server
SproochJavaScript
Forks
3
Stären
11
Disponibel Tools
0
Transporttypstdio, streamable-http
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    TickTick MCP 服务器 stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    11 Stären an 3 Forks aus dem verlinkte Repository.

TickTick MCP Server

A comprehensive Model Context Protocol (MCP) server for TickTick task management with 100% API coverage (112 operations).

🎉 BREAKTHROUGH: Task Cache System

NEW! Solves the major UX problem where users couldn't list their tasks. Now you can simply say:

  • "Give me all tasks" ✅
  • "List tasks from project X" ✅
  • "Show my cached tasks" ✅

🚀 Cache Features

  • Auto-Registration: New tasks automatically cached
  • 24-Hour TTL: Fresh vs stale task detection
  • CSV Import: Bootstrap with existing data
  • Instant Discovery: No more 500 errors from bulk APIs
  • Local Storage: ~/.ticktick-mcp-cache.json
bash
# Now this works perfectly!
ticktick_get_cached_tasks()           # List all cached tasks
ticktick_register_task_id()           # Add existing tasks  
ticktick_import_from_csv()            # Bulk import
# All new tasks auto-cached ✨

🤖 Created with Claude Code

This project was created using Claude Code - Anthropic's official CLI for Claude. Built specifically for Claude Code users who want seamless TickTick integration in their development workflow.

✨ Features

Complete TickTick API Coverage (112 Operations)

Core Task Management (24 operations)

  • ✅ Create, read, update, delete tasks
  • ✅ Task completion and status management
  • ✅ Due dates, priorities, and reminders
  • ✅ Task search and filtering
  • ✅ Bulk task operations

Project Management (36 operations)

  • ✅ Project creation and management
  • ✅ Advanced project operations (clone, archive, favorites)
  • ✅ Project templates and smart lists
  • ✅ Team collaboration and sharing
  • ✅ Permission management and member invitations

Advanced Features (52 operations)

  • ✅ Habits & Tracking: Habit creation, check-ins, streaks, analytics
  • ✅ Focus Time: Pomodoro sessions, time tracking, productivity metrics
  • ✅ Tags & Labels: Advanced tagging, custom labels, organization
  • ✅ Calendar Integration: Event sync, calendar management, scheduling
  • ✅ Notes & Attachments: Rich text notes, file attachments, media
  • ✅ Templates & Automation: Task templates, recurring patterns, automation
  • ✅ Analytics & Reporting: Productivity reports, goal tracking, data export
  • ✅ Settings & Preferences: User customization, notifications, sync settings

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • TickTick account with API access
  • Claude Code CLI installed

Installation

  1. Clone the repository

    bash
    git clone https://github.com/YOUR_USERNAME/ticktick-mcp-server.git
    cd ticktick-mcp-server
  2. Install dependencies

    bash
    npm install
  3. Set up environment variables

    bash
    # Create .env file
    TICKTICK_ACCESS_TOKEN=your_access_token_here
    TICKTICK_CLIENT_ID=your_client_id_here
    TICKTICK_CLIENT_SECRET=your_client_secret_here
  4. Start the server

    bash
    npm start

Docker Deployment

bash
# Build the image
docker build -t ticktick-mcp .

# Run the container
docker run -d \
  --name ticktick-mcp \
  -e TICKTICK_ACCESS_TOKEN=your_token \
  -p 8007:8007 \
  ticktick-mcp

🔧 Configuration with Claude Code

Add to your Claude Code MCP settings:

json
{
  "mcpServers": {
    "ticktick": {
      "command": "node",
      "args": ["/path/to/ticktick-mcp/src/index.js"],
      "env": {
        "TICKTICK_ACCESS_TOKEN": "your_token_here"
      }
    }
  }
}

📖 Usage Examples

🚀 NEW: Cache-Based Task Discovery

javascript
// 🎉 The breakthrough feature - list all your tasks!
await ticktick_get_cached_tasks();
// Returns: All cached tasks with fresh/stale status

// Register existing tasks for discovery
await ticktick_register_task_id({
  task_id: "existing_task_123",
  project_id: "project_456", 
  title: "My Existing Task"
});

// Import tasks from CSV export
await ticktick_import_from_csv({
  csv_data: "task_id,project_id,title\ntask1,proj1,Design\ntask2,proj1,Development"
});

// Filter cached tasks by project
await ticktick_get_cached_tasks({ project_id: "specific_project" });

Task Management

javascript
// Create a new task (auto-cached! ✨)
await ticktick_create_task({
  title: "Review Claude Code documentation",
  project_id: "inbox",
  priority: 3,
  due_date: "2024-12-31"
});
// Task automatically appears in cache for easy discovery

// Get all projects
await ticktick_get_projects({ include_archived: false });

// Complete a task
await ticktick_complete_task({ task_id: "task123" });

Advanced Features

javascript
// Start a focus session
await ticktick_start_focus_session({
  duration: 25, // Pomodoro: 25 minutes
  task_id: "task123"
});

// Track habit completion
await ticktick_check_in_habit({
  habit_id: "habit456",
  date: "2024-01-15"
});

// Generate productivity report
await ticktick_get_productivity_report({
  period: "week",
  include_charts: true
});

🏗️ Architecture

Built on the Model Context Protocol (MCP) specification:

  • Transport: stdio (standard input/output)
  • Authentication: OAuth2 Bearer Token
  • Error Handling: Comprehensive try-catch with user-friendly messages
  • Response Format: Rich markdown with emojis and structured data

⚠️ Critical: TickTick API Sync Limitations

IMPORTANT: TickTick has hidden sync limitations that are not documented in their API. Our extensive testing revealed critical issues:

🚫 Characters That Break Sync

Tasks created with these characters will return API success (200) but WILL NOT appear in TickTick apps:

javascript
// ❌ THESE BREAK SYNC (avoid in task content):
"content": "Line 1\nLine 2"           // Actual newlines
"content": "Path: C:\\Users\\folder"  // Backslashes  
"content": "Literal \\n in text"     // Escape sequences
"content": "Quote: \"hello\""        // Escaped quotes in content

✅ Characters That Work Perfectly

javascript
// ✅ THESE ARE SAFE (work perfectly):
"content": "Emojis work: 💻🚀📊✅❌🔧🎯📁⚡🤖"     // All emojis
"content": "Arrows: → ← ↑ ↓ ↗ ↖ ↘ ↙"               // All arrows  
"content": "Bullets: • ○ ■ ▪ ▫ ◦ ‣"                // All bullets
"content": "Unicode: ñ é ü ç § ± © ® ™"             // All Unicode
"content": "JSON: { } [ ] and arrays [1,2,3]"      // JSON chars
"content": "Markdown: # header *bold* **strong**"   // Markdown
"content": "Quotes work fine in content"            // Regular quotes

🔧 Working Workflow Commands

Create Tasks (Safe Method)

bash
# ✅ WORKING - Basic task creation
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_create_task","arguments":{"title":"My Task","content":"Safe content without newlines or backslashes","project_id":"your_project_id"}}}' | node src/index.js

# ✅ WORKING - With emojis and arrows  
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_create_task","arguments":{"title":"💻 Coding Task","content":"Use arrows for workflow: Plan → Code → Test → Deploy 🚀","project_id":"your_project_id"}}}' | node src/index.js

Test Your Setup

bash
# Test if your token works
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_get_projects","arguments":{}}}' | node src/index.js

# Create a test task (should appear in your TickTick app)
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_create_task","arguments":{"title":"API Test","content":"This task should appear in your TickTick app within seconds"}}}' | node src/index.js

✅ BREAKTHROUGH: Task Reading Now Works!

Major Update: Fixed task reading by using correct endpoint pattern!

Working Commands:

bash
# Read specific task (requires both project_id and task_id)
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_get_task_details","arguments":{"project_id":"YOUR_PROJECT_ID","task_id":"YOUR_TASK_ID"}}}' | node src/index.js

# 🎯 CRITICAL: Read inbox tasks (special project ID discovered!)
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_get_task_details","arguments":{"project_id":"inbox125308274","task_id":"YOUR_TASK_ID"}}}' | node src/index.js

🔑 Key Discovery: Inbox has special project ID inbox125308274 - not visible in projects list but required for reading inbox tasks!

✅ API Status - FULLY WORKING!

  • Task Creation: ✅ Works perfectly (with character limitations below)
  • Task Reading: ✅ CONFIRMED WORKING - Fixed endpoint pattern working in production
  • Project Listing: ✅ Works perfectly
  • Task Management: ✅ Full CRUD operations now functional
  • 🎉 Cache System: ✅ NEW! FULLY TESTED & WORKING - Complete task discovery solution

🧪 Validation & Testing

Cache System Testing (100% Pass Rate)

bash
# Test cache functionality
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_get_cached_tasks","arguments":{}}}' | node src/index.js

# Test task registration  
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_register_task_id","arguments":{"task_id":"test123","project_id":"proj456","title":"Test Task"}}}' | node src/index.js

# Test CSV import
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_import_from_csv","arguments":{"csv_data":"task_id,project_id,title\ntask1,proj1,Test"}}}' | node src/index.js

Basic API Testing

bash
# Test basic functionality
node validate-ticktick-mcp.js

# Test character compatibility (recommended before using)
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ticktick_create_task","arguments":{"title":"Compatibility Test","content":"Testing safe characters: emojis 💻, arrows →, unicode é, bullets •"}}}' | node src/index.js

Validation Results:

  • ✅ Cache System: All features working (registration, persistence, auto-caching, CSV import)
  • ✅ Task creation: Works perfectly with character limitations
  • ✅ Task reading: CONFIRMED WORKING - Fixed endpoint pattern
  • ✅ Project management: Fully functional
  • ✅ Complex operations: Now fully operational with working task reading

🤝 Contributing

This project was created with Claude Code for the Claude Code community. Contributions welcome!

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test with the validation suite
  5. Submit a pull request

📜 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

  • Claude Code Team - For creating an amazing AI development environment
  • TickTick API - For providing comprehensive task management capabilities
  • MCP Specification - For enabling seamless AI tool integration
  • Original inspiration - Based on jen6/ticktick-mcp

🔗 Related Projects


Built with ❤️ using Claude Code

Perfect for developers who want to integrate TickTick into their Claude Code workflow with complete API coverage and comprehensive task management capabilities.

Installatioun

TypingMind
{
  "mcpServers": {
    "liadgez-ticktick-mcp-server": {
      "command": "node",
      "args": [
        "src/index.js"
      ]
    }
  }
}

TickTick MCP 服务器 MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal TickTick MCP 服务器 verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dir kënnt MCP lokal op Ärem Apparat ausféieren oder Iech mat enger Remote-MCP-Server-URL verbannen.

Optioun 1: De lokale Connector benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

TickTick MCP 服务器 als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu TickTick MCP 服务器 an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "liadgez-ticktick-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ticktick-mcp-docker"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu TickTick MCP 服务器. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu TickTick MCP 服务器.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat TickTick MCP 服务器?
TickTick MCP 服务器
Jo. Ech hunn et gelies.
Dat hunn ech mat TickTick MCP 服务器 fonnt.

Optioun 2: Eng MCP-Server-URL derbäisetzen

Benotzt dës Optioun, wann TickTick MCP 服务器 scho remote gehost gëtt oder Är Ekipp ee gemeinsame Connector wëllt, op dee méi Benotzer kënnen zougräifen.

1

MCP-Connectoren opmaachen

Gitt an TypingMind op „Plugins“, maacht „MCP-Connectoren“ op a wielt dann „URL derbäisetzen“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Gitt op „Plugins“.
  3. Maacht „MCP-Connectoren“ op.
  4. Klickt op „URL derbäisetzen“.
TypingMind-Formulaire fir eng benotzerdefinéiert MCP-Server-URL derbäizesetzen
2

D'Server-URL apeschen

Gitt d'MCP-Server-URL vum Ubidder am Feld „Server-URL“ an. Setzt e Verbindungsnumm, eng Beschreiwung, e Symbol, benotzerdefinéiert HTTP-Headeren oder OAuth-Clientastellungen derbäi, wann de Server se erfuerdert.

  1. Pescht d'MCP-Server-URL vum Ubidder an d'Feld „Server-URL“.
  2. Gitt en Numm fir d'Verbindung mat TickTick MCP 服务器 an.
  3. Setzt eng Beschreiwung an e Symbol derbäi, fir d'Verbindung méi einfach erëmzeerkennen.
  4. Setzt benotzerdefinéiert HTTP-Headeren oder OAuth-Clientdetailer derbäi, wann de Server eng Authentifizéierung erfuerdert.
3

D'Verbindung erstellen

Klickt op „Verbindung erstellen“, gitt dann zeréck op d'Plugin-Lëscht a kontrolléiert, ob déi nei MCP-Verbindung aktiv ass.

  1. Klickt op „Verbindung erstellen“.
  2. Gitt zeréck op d'Lëscht vun de MCP-Connectoren.
  3. Kontrolléiert, ob d'Verbindung mat TickTick MCP 服务器 als aktiv ugewise gëtt.
  4. Aktualiséiert d'Plugin-Lëscht, wann d'Verbindung net direkt ugewise gëtt.
4

Modeller wiesselen ouni nei ze verbannen

Start e Chat mat Ärem bevorzugte Modell, aktivéiert d'Tools vu TickTick MCP 服务器 ënner „Plugins“ a wiesselt bei Bedarf op en anere Modell. D'MCP-Verbindung bleift am TypingMind-Aarbechtsberäich disponibel.

  1. Start en neie Chat an TypingMind.
  2. Wielt de KI-Modell, deen Dir benotze wëllt.
  3. Aktivéiert d'Tools vu TickTick MCP 服务器 ënner „Plugins“.
  4. Biet de Modell, den Tool ze benotzen, wann néideg.
  5. Wiesselt op en anere KI-Modell a benotzt déiselwecht MCP-Verbindung weider.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat TickTick MCP 服务器?
TickTick MCP 服务器
Jo. Ech hunn et gelies.
Dat hunn ech mat TickTick MCP 服务器 fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server TickTick MCP 服务器 benotzt?

TickTick MCP 服务器 ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech TickTick MCP 服务器 MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir TickTick MCP 服务器 mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat TickTick MCP 服务器 MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann TickTick MCP 服务器 verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech TickTick MCP 服务器 MCP mat TypingMind?

Dir kënnt TickTick MCP 服务器 iwwer de lokale MCP-Connector oder iwwer d'URL vun engem Remote-MCP-Server mat TypingMind verbannen. Benotzt de lokale Connector, wann de Server Zougrëff op Fichieren, Apps oder privat Ressourcen op Ärem Apparat brauch, an eng Server-URL, wann de MCP-Server op Distanz gehost gëtt.

Wéi eng Tools stellt TickTick MCP 服务器 MCP an TypingMind zur Verfügung?

TickTick MCP 服务器 stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir TickTick MCP 服务器 MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann TickTick MCP 服务器 eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇