Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

todo-mcp-server

MCP.Pizza Chef: leonvanzyl

todo-mcp-server is a lightweight MCP server designed to manage todo items using an SQLite database for persistent storage. It supports adding, listing, and removing todo items by ID, making it ideal for task management workflows. The server is easy to set up with configurable database location and simple build steps, enabling seamless integration into MCP-based environments for real-time task tracking and management.

Use This MCP server To

Manage personal todo lists with persistent SQLite storage Add new todo items via MCP protocol List all current todo items for review Remove completed or obsolete todo items by ID Integrate todo management into larger MCP workflows Customize database location for flexible deployment

README

Todo MCP Server

A simple MCP (Model Context Protocol) server for managing todo items with SQLite database storage.

Features

  • Add new todo items
  • List all todo items
  • Remove todo items by ID

Setup

  1. Install dependencies:

    npm install
    
  2. Configure database location (optional):

    Open src/database.ts and modify the DB_LOCATION variable to your preferred location:

    // Examples:
    // - Windows: "C:/todos"
    // - macOS: join(homedir(), "todos")
    // - Linux: "/home/username/todos" or join(homedir(), "todos")
    // - Current directory: join(process.cwd(), "data")
    const DB_LOCATION = "C:/todos";
  3. Build the project:

    npm run build
    
    
    

Database

The application uses SQLite for data storage. By default, the database file is created at C:/todos/todos.db. You can change this location by modifying the DB_LOCATION variable in src/database.ts.

The database and its directory will be automatically created if they don't exist.

Available Tools

add-todo

Adds a new todo item to the list.

Parameters:

  • text (string): The text content of the todo item

Example:

add-todo(text: "Buy groceries")

get-todos

Lists all todo items.

Example:

get-todos()

remove-todo

Removes a todo item by its ID.

Parameters:

  • id (number): The ID of the todo item to remove

Example:

remove-todo(id: 1)

Development

This project is built with:

  • TypeScript
  • better-sqlite3 for database operations
  • MCP SDK for the server implementation

todo-mcp-server FAQ

How do I configure the database location for todo-mcp-server?
Modify the DB_LOCATION variable in src/database.ts to set your preferred SQLite database path.
What database does todo-mcp-server use?
It uses SQLite for lightweight, file-based persistent storage of todo items.
How do I add a new todo item using this server?
Use the MCP protocol commands supported by the server to add items; the server handles storage automatically.
Can I remove todo items individually?
Yes, todo-mcp-server supports removing todo items by their unique ID.
Is the todo-mcp-server easy to set up?
Yes, it requires installing dependencies with npm, configuring the database path if needed, and building the project.
Does todo-mcp-server support real-time updates?
While it manages todo items in real-time via MCP, it does not include push notifications but can be integrated with MCP clients for live updates.
Can I use todo-mcp-server cross-platform?
Yes, it supports Windows, macOS, and Linux with configurable database paths for each OS.