
regibyte/todo-list-mcp 是从 https://github.com/regibyte/todo-list-mcp. 导入的 MCP 服务器候选
概览
regibyte/todo-list-mcp 是从 https://github.com/regibyte/todo-list-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,提供一个全面的 API 用于管理待办事项。
** 📚 学习资源**:本项目旨在作为MCP实施的教育范例。详见 GUIDE.md 以了解项目的运作方式及为何采用这种方式。
特色
- 创建待办事项:添加带有标题和标记描述的新任务
- 更新待办事项:修改现有任务
- 完成待办事项:标记任务为已完成
- 删除待办事项:从列表中移除任务
- 搜索待办事项:按标题或创建日期查找任务
- 总结待办事项:快速了解当前任务
工具
该MCP服务器提供以下工具:
create-todo:创建一个新的待办事项list-todos:列出所有待办事项get-todo:通过ID获取特定的待办事项update-todo:更新待办事项的标题或描述complete-todo:标记待办事项为已完成delete-todo:删除待办事项search-todos-by-title:按标题搜索待办事项(不区分大小写的部分匹配)search-todos-by-date:按创建日期搜索待办事项(格式:YYYY-MM-DD)list-active-todos:列出所有未完成的待办事项
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Todo List MCP Server
A Model Context Protocol (MCP) server that provides a comprehensive API for managing todo items.
📚 Learning Resource: This project is designed as an educational example of MCP implementation. See GUIDE.md for a comprehensive explanation of how the project works and why things are implemented the way they are.
Features
- Create todos: Add new tasks with title and markdown description
- Update todos: Modify existing tasks
- Complete todos: Mark tasks as done
- Delete todos: Remove tasks from the list
- Search todos: Find tasks by title or creation date
- Summarize todos: Get a quick overview of active tasks
Tools
This MCP server exposes the following tools:
create-todo: Create a new todo itemlist-todos: List all todosget-todo: Get a specific todo by IDupdate-todo: Update a todo’s title or descriptioncomplete-todo: Mark a todo as completeddelete-todo: Delete a todosearch-todos-by-title: Search todos by title (case-insensitive partial match)search-todos-by-date: Search todos by creation date (format: YYYY-MM-DD)list-active-todos: List all non-completed todossummarize-active-todos: Generate a summary of all active (non-completed) todos
Installation
# Clone the repository
git clone https://github.com/RegiByte/todo-list-mcp.git
cd todo-list-mcp
# Install dependencies
npm install
# Build the project
npm run build
Usage
Starting the Server
npm start
Configuring with Claude for Desktop
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"todo": {
"command": "node",
"args": ["/absolute/path/to/todo-list-mcp/dist/index.js"]
}
}
}
Cursor
- Go to “Cursor Settings” -> MCP
- Add a new MCP server with a “command” type
- Add the absolute path of the server and run it with node
- Example: node /absolute/path/to/todo-list-mcp/dist/index.js
Example Commands
When using with Claude for Desktop or Cursor, you can try:
- “Create a todo to learn MCP with a description explaining why MCP is useful”
- “List all my active todos”
- “Create a todo for tomorrow’s meeting with details about the agenda in markdown”
- “Mark my learning MCP todo as completed”
- “Summarize all my active todos”
Project Structure
This project follows a clear separation of concerns to make the code easy to understand:
src/
├── models/ # Data structures and validation schemas
├── services/ # Business logic and database operations
├── utils/ # Helper functions and formatters
├── config.ts # Configuration settings
├── client.ts # Test client for local testing
└── index.ts # Main entry point with MCP tool definitions
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"todo": {
"command": "node",
"args": ["/absolute/path/to/todo-list-mcp/dist/index.js"]
}
}
}