Sponsored by Deepsite.site

Todo MCP Server

Created By
idsulik8 months ago
The repository todo-mcp-server is a minimal Todo application implemented as an MCP (Model Context Protocol) server. It provides basic functionalities such as listing, viewing, adding, removing, and clearing todo items.
Content

Todo MCP Server

A simple Todo application built using MCP (Model Context Protocol) Server for testing and demonstrating MCP interactions.

Overview

This repository contains a minimal Todo application implemented as an MCP server. It allows you to:

  • List all todo items
  • View specific todo items
  • Add new todo items
  • Remove todo items
  • Clear all todo items
  • Create structured todo tasks with metadata

This project serves as a test bed for interacting with Model Context Protocol servers and understanding how to build and expose functionality through the MCP protocol. For more information about the Model Context Protocol, visit modelcontextprotocol.io.

Requirements

  • Python 3.10+
  • uv (Python package installer)

Installation

  1. Clone the repository:
git clone https://github.com/idsulik/todo-mcp-server.git
cd todo-mcp-server
  1. Install dependencies using uv:
uv pip install -e .

Adding to MCP Servers List

To add this server to your MCP servers list, use the following command:

mcp install server.py --name "Todo MCP"

This registers the server with the Claude Desktop app or other MCP-enabled applications.

Alternatively, if you want to test the server with the MCP Inspector, you can use:

mcp dev server.py

This will launch the server along with the MCP Inspector interface for easy testing and debugging.

API Usage

The server exposes the following MCP resources and tools:

Resources

  1. List all todo items:
GET todo://list
  1. View a specific todo item:
GET todo://view/{item_idx}

Where item_idx is the index of the item you want to view.

Prompts

  1. Create a structured todo task:
create_task(task_name: str, priority: str = "medium", due_date: str = "")

This prompt helps format todo tasks with priority levels and due dates. Parameters:

  • task_name: The name/description of the task
  • priority: Task priority (low, medium, high)
  • due_date: When the task is due (optional)

Tools

  1. Add a new todo item:
add_todo(value: str)
  1. Remove a todo item:
remove_todo(item_idx: int)
  1. Clear all todo items:
clear_todo()

Adding to MCP Configuration Manually

If you prefer to add the server manually to your MCP configuration, you can add the following JSON to your Claude Desktop configuration file (typically located at ~/.claude-desktop/claude_desktop_config.json on Mac/Linux or C:\Users\YourUsername\AppData\Roaming\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "todo": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "/path/to/your/server.py"
      ]
    }
  }
}

Replace /path/to/your/server.py with the absolute path to your server.py file. Make sure to use absolute paths, not relative paths.

Using Docker

You can also run this MCP server using Docker without installing anything locally. Add the following to your Claude Desktop configuration:

{
  "mcpServers": {
    "todo": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "idsulik/todo-mcp-server"
      ]
    }
  }
}

The Docker image will automatically pull from Docker Hub if it's not already on your system.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Playwright McpPlaywright MCP server
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server