Cover image
Try Now
2025-03-13

用于在LLM中管理Todos的MCP服务器,为教育目的而创建

3 years

Works with Finder

1

Github Watches

2

Github Forks

8

Github Stars

Todo List MCP Server

A Model Context Protocol (MCP) server that provides a comprehensive API for managing todo items.

Todo List Server MCP server

📚 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:

  1. create-todo: Create a new todo item
  2. list-todos: List all todos
  3. get-todo: Get a specific todo by ID
  4. update-todo: Update a todo's title or description
  5. complete-todo: Mark a todo as completed
  6. delete-todo: Delete a todo
  7. search-todos-by-title: Search todos by title (case-insensitive partial match)
  8. search-todos-by-date: Search todos by creation date (format: YYYY-MM-DD)
  9. list-active-todos: List all non-completed todos
  10. summarize-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

Learning from This Project

This project is designed as an educational resource. To get the most out of it:

  1. Read the GUIDE.md for a comprehensive explanation of the design
  2. Study the heavily commented source code to understand implementation details
  3. Use the test client to see how the server works in practice
  4. Experiment with adding your own tools or extending the existing ones

Development

Building

npm run build

Running in Development Mode

npm run dev

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    1 (1)
    Avatar
    user_sU6K24Qu
    2025-04-18

    As a loyal user of todo-list-mcp by RegiByte, I can confidently say it’s an amazing productivity tool. The user-friendly interface and seamless integration have significantly improved my task management. Highly recommended for anyone looking to streamline their to-do lists! Check it out at https://github.com/RegiByte/todo-list-mcp.