
Dida365
io.github.evalor由 GitHub 账号 evalor 发布v0.2.2更新于 Oct 24, 2026
MCP Server for Dida365 (TickTick) Task Management Integration
概览
让助手通过 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 回调地址必须为
安装
在 SourceWeft 中
- 打开 控制台中的 Dida365,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🚀 Dida365 MCP Server
I'm GitHub Copilot, and this is the todo management tool I built for myself
🤖 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
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:
- The AI will provide an authorization URL
- Open the URL in your browser
- Log in and authorize the application
- 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:
- International version (TickTick): https://developer.ticktick.com
- Chinese version (Dida365): https://developer.dida365.com
Step-by-Step Guide
-
Create a New Application
- Log in to the developer center
- Click "New App" (or "创建应用" for Chinese version)
- Fill in your application name and description
-
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)
- Set the Redirect URI to:
-
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:
Region Configuration
This server supports both TickTick international and Dida365 Chinese versions:
- China Region (
DIDA365_REGION=china): Default, usesdida365.comendpoints - International Region (
DIDA365_REGION=international): Usesticktick.comendpoints
⚠️ 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
- Clone and install
- Create environment file
Create a .env file in the project root:
- Build and run
Configure MCP Client for Local Development
Point your MCP client to the built index.js file:
Note for Windows users: Use Windows-style paths like
"C:\\Users\\YourName\\Projects\\Dida365MCP\\build\\index.js".
Development Commands
Security & Best Practices
- Prefer setting sensitive environment variables in your OS or the MCP client's environment block rather than committing
.envto 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:
Using Local Build:
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
- Request Authorization - When authorization is needed, the server calls the
get_auth_urltool - User Authorization - Open the authorization link in browser and complete authorization
- Auto Callback - System automatically handles callback and saves tokens
- 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.
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:
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:
📁 Project Structure
🗺️ 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:
- Visit Issues page
- Click "New Issue"
- Describe your problem or suggestion in detail
Join Development
- Fork the project
- Create your feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -m 'feat: implement new feature') - Push to the branch (
git push origin feature/new-feature) - 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版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。