Sponsored by Deepsite.site

FastMCP Todo List Server

Created By
DustyPolk9 months ago
A simple and effective MCP server to manage your todos
Content

FastMCP Todo List Server

A powerful, feature-rich todo list server built with FastMCP that provides a comprehensive set of tools for managing todos. This server can be used with Claude Desktop to create, manage, and organize your tasks efficiently.

Features

  • Rich Todo Management: Create, read, update, and delete todos with extensive metadata
  • Advanced Filtering & Sorting: Filter by status, priority, tags, due dates, and more
  • Search Capability: Search todos by title and description
  • Automatic Backups: Automatic backups before any data changes
  • Manual Backups: Create manual backups on demand
  • Statistics: Get detailed statistics about your todos
  • Data Validation: Comprehensive validation for all inputs
  • Caching: Efficient caching to reduce file I/O
  • Configurable: Configurable file paths via environment variables

Installation

  1. Clone this repository:

    git clone https://github.com/DustyPolk/todo_mcp.git
    cd todo_mcp
    
  2. Create and activate a virtual environment:

    python -m venv .venv
    # On Windows
    .venv\Scripts\activate
    # On macOS/Linux
    source .venv/bin/activate
    
  3. Install the required packages:

    pip install fastmcp aiofiles
    

Running the Server

Run the server with:

python todolist_server.py

The server will start and be available for Claude Desktop to connect to.

Environment Variables

You can configure the server using the following environment variables:

  • TODO_FILE: Path to the JSON file where todos are stored (default: todos.json in the same directory as the script)
  • TODO_BACKUP_DIR: Path to the directory where backups are stored (default: backups in the same directory as the script)

Available Tools

The server provides the following tools:

add_todo

Add a new todo item.

Parameters:

  • title: The title of the todo (required, max 100 chars)
  • description: A detailed description (optional, max 1000 chars)
  • due_date: Due date in YYYY-MM-DD format (optional)
  • status: Status of the todo (optional, one of: pending, in_progress, done, cancelled)
  • priority: Priority level (optional, one of: low, medium, high, critical)
  • tags: List of tags for categorization (optional)

list_todos

List todos with filtering, sorting and pagination.

Parameters:

  • status: Filter by status (optional, one of: pending, in_progress, done, cancelled)
  • priority: Filter by priority (optional, one of: low, medium, high, critical)
  • search: Search in title and description (optional)
  • tag: Filter by tag (optional)
  • due_date_filter: Filter by due date (optional, one of: overdue, today, upcoming, no_date)
  • sort_by: Field to sort by (optional, default: id)
  • sort_order: Sort order (optional, one of: asc, desc, default: asc)
  • limit: Maximum number of todos to return (optional, default: 100)
  • offset: Number of todos to skip (optional, default: 0)

get_todo

Get a todo by id.

Parameters:

  • todo_id: The ID of the todo to retrieve

update_todo

Update a todo by id.

Parameters:

  • todo_id: The ID of the todo to update
  • title: New title (optional)
  • description: New description (optional)
  • due_date: New due date in YYYY-MM-DD format (optional)
  • status: New status (optional, one of: pending, in_progress, done, cancelled)
  • priority: New priority (optional, one of: low, medium, high, critical)
  • tags: New list of tags (optional)

complete_todo

Mark a todo as complete by id.

Parameters:

  • todo_id: The ID of the todo to mark as complete

delete_todo

Delete a todo by id.

Parameters:

  • todo_id: The ID of the todo to delete

batch_delete_todos

Delete multiple todos by ids.

Parameters:

  • todo_ids: List of todo IDs to delete

create_backup

Create a manual backup of the todos file.

Parameters: None

get_statistics

Get statistics about todos.

Parameters: None

Data Structure

Todos are stored with the following structure:

{
  "id": 1,
  "title": "Complete project report",
  "description": "Finish the quarterly project report",
  "due_date": "2025-05-20",
  "status": "pending",
  "priority": "high",
  "tags": ["work", "quarterly"],
  "created_at": "2025-05-09T12:00:00.000000",
  "updated_at": "2025-05-09T12:00:00.000000"
}

License

MIT

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
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.
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
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.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
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"
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.
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server