TickTick MCP 服务器のロゴ

TickTick MCP 服务器

コミュニティ
liadgez

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

公開者liadgez
リポジトリticktick-mcp-server
言語JavaScript
フォーク
3
スター
11
利用可能なツール
0
通信方式stdio, streamable-http
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    TickTick MCP 服务器は、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(0個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには11件のスターと3件のフォークがあります。

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.

インストール

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

TickTick MCP 服务器のMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度TickTick MCP 服务器に接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

TickTick MCP 服务器をサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. TickTick MCP 服务器のMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "liadgez-ticktick-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "ticktick-mcp-docker"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてTickTick MCP 服务器のMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. TickTick MCP 服务器のMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
TickTick MCP 服务器を使ってこのタスクを手伝ってもらえますか?
TickTick MCP 服务器
はい、読みました。
TickTick MCP 服务器で調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

TickTick MCP 服务器がすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックしてください。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを貼り付けてください。
  2. TickTick MCP 服务器の接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックしてください。
  2. MCPコネクタの一覧に戻ってください。
  3. TickTick MCP 服务器の接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でTickTick MCP 服务器のツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でTickTick MCP 服务器のツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
TickTick MCP 服务器を使ってこのタスクを手伝ってもらえますか?
TickTick MCP 服务器
はい、読みました。
TickTick MCP 服务器で調べた結果をお伝えします。

よくある質問

TickTick MCP 服务器 MCPサーバーは何に使いますか?

TickTick MCP 服务器は、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでTickTick MCP 服务器 MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでTickTick MCP 服务器を利用できます。

TypingMindでTickTick MCP 服务器 MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。TickTick MCP 服务器を接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

TickTick MCP 服务器 MCPをTypingMindに接続するにはどうすればよいですか?

TickTick MCP 服务器は、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでTickTick MCP 服务器 MCPのどのようなツールを利用できますか?

TickTick MCP 服务器はMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

TickTick MCP 服务器 MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。TickTick MCP 服务器で認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇