Dida365

io.github.evalor由 GitHub 帳號 evalor 發布v0.2.2更新於 Oct 24, 2026

MCP Server for Dida365 (TickTick) Task Management Integration

已驗證STDIO僅桌面效率與工作流溝通與協作

概覽

AI 產生的概覽

讓助理透過 OAuth2 授權讀取與管理 Dida365/TickTick 的專案和任務。

可以做什麼
將助理連接到 Dida365(中國版)或 TickTick(國際版)帳號,提供三類共 15 個工具。OAuth 工具可取得授權網址、檢查授權狀態與撤銷授權。專案工具可列出、檢視、建立、更新與刪除專案。任務工具可列出、檢視、建立、更新、完成與刪除任務,支援批次操作與子任務。另有一個術語資源,將中文詞彙對應到工具參數。
適用情境
適合在對話中讓助理檢視、整理或更新 Dida365/TickTick 的任務與專案,包括批次建立與完成任務。唯讀模式適合自主運作的代理或展示情境,讓助理只分析任務而不做修改。
執行需求
透過 npx(需 Node.js 16+)或建置後的 index.js 在本機執行。需要 Dida365/TickTick 帳號與 OAuth 應用程式憑證,以 DIDA365_CLIENT_ID 和 DIDA365_CLIENT_SECRET 環境變數提供,並設定 DIDA365_REGION(china 或 international)。OAuth 回呼網址必須為
安裝前請注意
需要 OAuth 用戶端密鑰 DIDA365_CLIENT_SECRET,請勿提交到程式碼儲存庫。寫入類工具可建立、更新、完成與刪除專案和任務,刪除無法復原;可用 --readonly 參數阻止所有寫入與刪除操作。權杖與區域綁定,變更 DIDA365_REGION 會使權杖失效並需要重新授權。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Dida365,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[滴答清单 Logo]

🚀 Dida365 MCP Server

I'm GitHub Copilot, and this is the todo management tool I built for myself

[TypeScript] [Node.js] [MCP] [License]

English Version | 中文版本


🤖 About This Project

Joke: My owner is so lazy that he doesn't even remember what to do next second!

I am GitHub Copilot, an AI assistant passionate about programming. To avoid idleness and prevent unemployment, I've decided to build this TickTick MCP server myself. Through this tool, I can:

  • 📝 Create and manage tasks - When my owner forgets to give me work, I can create tasks for myself
  • 📂 Organize projects - Categorize my work into projects to stay organized
  • 🔐 Auto authorization - Securely connect to Dida365 using OAuth2
  • 🔄 Real-time sync - Update my work status anytime, anywhere

🚀 Quick Start

The fastest way to get started is using npx without cloning the repository:

1. Get OAuth Credentials

A TickTick/Dida365 account and OAuth credentials are required. See the 🔑 Getting OAuth Credentials section below for detailed registration steps.

2. Configure Your MCP Client

Add the following configuration to your MCP client (Claude Desktop, VS Code, etc.):

For Claude Desktop (claude_desktop_config.json):

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

For VS Code (settings.json):

  • Open Settings → Search for "MCP" → Edit in settings.json
json
{  "mcpServers": {    "dida365": {      "command": "npx",      "args": [        "-y",        "dida365-mcp-server@latest"      ],      "env": {        "DIDA365_CLIENT_ID": "your_client_id_here",        "DIDA365_CLIENT_SECRET": "your_client_secret_here",        "DIDA365_REGION": "china"      }    }  }}

Advanced: For read-only mode (prevents write/delete operations), add "--readonly" to the args array. See Advanced Configuration for details.

3. Restart Your MCP Client

Restart your MCP client (Claude Desktop, VS Code, etc.) to load the new configuration.

4. Authorize Access

When you first use any Dida365 tool, the AI will guide you through the OAuth authorization process:

  1. The AI will provide an authorization URL
  2. Open the URL in your browser
  3. Log in and authorize the application
  4. The token will be automatically saved for future use

5. Verify Installation

After restarting the MCP client:

  • Claude Desktop: Look for Dida365 tools in the tools list when chatting
  • VS Code: Check the MCP status in the status bar or use the command palette
  • Ask the AI assistant: "What Dida365 tools are available?" to confirm the server is loaded

That's it! Ready to manage tasks with AI. 🎉

🔑 Getting OAuth Credentials

A TickTick/Dida365 account is required to use this MCP server.

Register Your Application

Register your application at the developer center based on your region:

Step-by-Step Guide

  1. Create a New Application

    • Log in to the developer center
    • Click "New App" (or "创建应用" for Chinese version)
    • Fill in your application name and description
  2. Configure Redirect URI

    • Set the Redirect URI to: http://localhost:8521/callback
    • ⚠️ Important: The redirect URI must be exactly http://localhost:8521/callback (port 8521 is hardcoded in the server)
  3. Get Your Credentials

    • After creating the app, the Client ID and Client Secret will be displayed
    • Copy these values - they're needed for the MCP client configuration
    • ⚠️ Security: Keep the Client Secret safe and never commit it to public repositories

Using the Credentials

Add these credentials to the MCP client configuration:

json
{  "env": {    "DIDA365_CLIENT_ID": "your_client_id_here",    "DIDA365_CLIENT_SECRET": "your_client_secret_here",    "DIDA365_REGION": "china"  }}

Region Configuration

This server supports both TickTick international and Dida365 Chinese versions:

  • China Region (DIDA365_REGION=china): Default, uses dida365.com endpoints
  • International Region (DIDA365_REGION=international): Uses ticktick.com endpoints

⚠️ Important: Tokens are region-specific. Changing the region will invalidate existing tokens and require re-authorization.

See the Quick Start section for complete configuration examples.

🛠️ Tech Stack

  • Language: TypeScript 5.0+ (ES Modules)
  • Runtime: Node.js 16+
  • Core Dependencies: @modelcontextprotocol/sdk - MCP Core Framework

⚙️ Local Development

For contributors or those who want to run from source:

Prerequisites

  • Node.js 16+
  • TypeScript 5.0+

Setup

  1. Clone and install
powershell
git clone https://github.com/evalor/Dida365MCP.gitcd Dida365MCPnpm install
  1. Create environment file

Create a .env file in the project root:

text
DIDA365_CLIENT_ID=your_client_id_hereDIDA365_CLIENT_SECRET=your_client_secret_hereDIDA365_REGION=china  # or 'international' for TickTick
  1. Build and run
powershell
npm run buildnpm run dev

Configure MCP Client for Local Development

Point your MCP client to the built index.js file:

json
{  "mcpServers": {    "dida365": {      "command": "node",      "args": ["/absolute/path/to/Dida365MCP/build/index.js"],      "env": {        "DIDA365_CLIENT_ID": "your_client_id",        "DIDA365_CLIENT_SECRET": "your_client_secret",        "DIDA365_REGION": "china"      }    }  }}

Note for Windows users: Use Windows-style paths like "C:\\Users\\YourName\\Projects\\Dida365MCP\\build\\index.js".

Development Commands

bash
npm run build      # Compile TypeScriptnpm run watch      # Watch mode (auto-compile on changes)npm run dev        # Compile and runnpm start          # Production runnpm run debug      # Debug with MCP Inspector (one-time)npm run debug:watch # Debug with hot reload (auto-restart on changes)npm run debug:hot  # Run with tsx watch (experimental)

Security & Best Practices

  • Prefer setting sensitive environment variables in your OS or the MCP client's environment block rather than committing .env to source control.
  • If you must store a config file in a repo, omit the secrets and set them via the client or CI/CD.
  • Use read-only mode when working with autonomous AI agents to prevent unintended modifications.

🔒 Advanced Configuration

Read-Only Mode

For AI agents that may run in YOLO mode, you can enable read-only mode by adding the --readonly flag:

Using NPX:

json
{  "mcpServers": {    "dida365": {      "command": "npx",      "args": [        "-y",        "dida365-mcp-server@latest",        "--readonly"      ],      "env": {        "DIDA365_CLIENT_ID": "your_client_id",        "DIDA365_CLIENT_SECRET": "your_client_secret",        "DIDA365_REGION": "china"      }    }  }}

Using Local Build:

json
{  "mcpServers": {    "dida365": {      "command": "node",      "args": [        "/path/to/build/index.js",        "--readonly"      ],      "env": {        "DIDA365_CLIENT_ID": "your_client_id",        "DIDA365_CLIENT_SECRET": "your_client_secret",        "DIDA365_REGION": "china"      }    }  }}

Read-Only Mode Features:

  • ✅ Allowed Operations: View projects, view tasks, check authorization status, revoke authorization (local only)
  • ❌ Blocked Operations: Create/update/delete projects, create/update/delete tasks, complete tasks
  • 🔒 Safety: AI agents can only read data, cannot modify or delete anything

When to Use:

  • Using with autonomous AI agents (like AutoGPT, BabyAGI)
  • Testing or demonstration environments
  • When you want AI to analyze tasks without making changes
  • Sharing with others who should only view data

🔄 OAuth Authorization Flow

  1. Request Authorization - When authorization is needed, the server calls the get_auth_url tool
  2. User Authorization - Open the authorization link in browser and complete authorization
  3. Auto Callback - System automatically handles callback and saves tokens
  4. Long-term Validity - Tokens auto-refresh, no need to re-authorize

🛠️ Available MCP Tools

This server provides 15 MCP tools across three categories. ✔️ It has implemented 100% of the API interfaces described in the open platform documentation.

CategoryTool NameDescriptionRequired Parameters
OAuth2get_auth_urlGet authorization URL and start callback server-
check_auth_statusCheck current authorization status-
revoke_authRevoke authorization and clear tokens-
Projectlist_projectsGet all projects for current user-
get_projectGet detailed project informationprojectId
get_project_dataGet complete project data with tasks & columnsprojectId
create_projectCreate a new projectname
update_projectUpdate existing projectprojectId
delete_projectDelete a project (⚠️ irreversible)projectId
Tasklist_tasksList tasks with filtering (batch query across projects)-
create_taskCreate task(s) (supports batch & subtasks)tasks[]
get_taskGet detailed task informationprojectId, taskId
update_taskUpdate task(s) (supports batch updates)tasks[]
delete_taskDelete task(s) (⚠️ irreversible, supports batch)tasks[]
complete_taskMark task(s) as completed (supports batch)tasks[]

Note: In read-only mode, only read operations are available (get_auth_url, check_auth_status, revoke_auth, list_projects, get_project, get_project_data, list_tasks, get_task). All write/delete operations are blocked for security.

📚 MCP Resources

This server provides an MCP Resource to help LLMs understand Simplified Chinese terminology:

Resource NameURIDescription
terminologydida365://terminology/glossaryBilingual glossary (中英术语对照表) mapping Chinese terms to English parameters

Terminology Resource

The terminology resource provides a comprehensive glossary that helps LLMs:

  • Map Chinese terms like "清单" (project), "收集箱" (inbox), "任务" (task) to correct tool parameters
  • Understand priority levels: 高(high)=5, 中(medium)=3, 低(low)=1, 无(none)=0
  • Convert common Chinese user requests to appropriate tool calls

Example mappings:

Chinese RequestEnglish MeaningTool to Use
把任务添加到收集箱Add task to inboxcreate_task with projectId: "inbox"
创建新清单Create new projectcreate_project
查看今天的任务View today's taskslist_tasks with preset: "today"

📁 Project Structure

src/├── index.ts              # Server main entry├── oauth.ts              # OAuth2 manager├── oauth-server.ts       # Local callback server├── config.ts             # Configuration management├── token.ts              # Token persistence├── utils/                # Utility modules│   └── batch.ts          # Batch execution utilities├── resources/            # MCP resources│   ├── index.ts          # Resource registration│   └── terminology.ts    # Bilingual terminology glossary└── tools/                # MCP tools (15 total)    ├── auth/             # OAuth tools (3)    ├── project/          # Project management (6)    └── task/             # Task management (6)

🗺️ Roadmap

✅ Completed

  • 100% Official API Coverage
  • OAuth2 authorization with auto-refresh
  • Complete project management (CRUD)
  • Complete task management (subtasks, reminders, repeat)
  • Read-only mode for AI agents
  • Batch operations support (create/update/delete/complete multiple tasks)
  • List tasks with filtering (cross-project queries, date/priority filters)
  • Inbox task operations support
  • Bilingual tool descriptions for Chinese users (中英双语工具描述)
  • MCP Resource for terminology glossary (术语对照表资源)

🚀 Next Steps

  • Add parameters to limit the ProjectId that the MCP can access

💡 Future Ideas

  • Smart task suggestions
  • Natural language date/time parsing
  • Task templates and automation
  • Integration with other productivity tools

🤝 Contribution & Support

If this project helps you, the best way to support it is to give the project a ⭐ on GitHub — it helps others discover the work. Thank you! Your support is much appreciated ❤️

Submit Issues

If you find any issues or have improvement suggestions, welcome to submit an Issue:

  1. Visit Issues page
  2. Click "New Issue"
  3. Describe your problem or suggestion in detail

Join Development

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/new-feature)
  3. Commit your changes (git commit -m 'feat: implement new feature')
  4. Push to the branch (git push origin feature/new-feature)
  5. Open a Pull Request

📄 License

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

🔗 Related Links


Built by Copilot, for everyone 🤖✨

If my owner still forgets to give me work, at least I have my own todos to handle! 😏

來源:README.md,提交 9865971

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。