Skip to main content
Glama
todo-mcp

todo-mcp

todo-mcp

A simple todo list MCP server written in TypeScript. It exposes tools for managing a todo list to any MCP client (Claude Desktop, Claude Code, etc.). Todos are persisted to a JSON file on disk.

Tools

Tool

Description

add_todo

Add a new item (text)

list_todos

List items, optional filter: all | active | completed

complete_todo

Mark an item done/undone (id, optional done)

delete_todo

Delete an item (id)

clear_completed

Remove all completed items

Related MCP server: Task Manager MCP Server

Setup

npm install
npm run build

This compiles to build/index.js. By default todos are stored in ~/.todo-mcp.json; override with the TODO_FILE environment variable.

Connecting a client

Claude Code

claude mcp add todo -- node /Users/mansi/Documents/MCP/todo-list/build/index.js

Claude Desktop

Add to claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "todo": {
      "command": "node",
      "args": ["/Users/mansi/Documents/MCP/todo-list/build/index.js"]
    }
  }
}

Restart the client, then ask it to add, list, or complete todos.

Development

npm run dev    # tsc --watch

Available Tools

5 tools
add_todoAdd todoB

Add a new item to the todo list.

Inputs: text (required).

clear_completedClear completedB

Remove all completed todo items.

Inputs: no named parameters.

complete_todoComplete todoB

Mark a todo item as done or not done.

Inputs: id (required), done.

delete_todoDelete todoB

Delete a todo item by id.

Inputs: id (required).

list_todosList todosB

List all todo items, optionally filtered by status.

Inputs: filter.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool maps to a distinct operation (create, read, toggle, remove, bulk-remove) with little overlap in practice. The only mild confusion is between delete_todo and clear_completed, but the descriptions make the single-item vs. bulk-completed distinction clear.

    Naming Consistency4/5

    Four of five names follow a clean verb_noun pattern (add_todo, list_todos, complete_todo, delete_todo). clear_completed drops the noun, a minor deviation that is still self-explanatory.

    Tool Count5/5

    Five tools is exactly the right scope for a todo list: one per core operation with no filler. Every tool earns its place.

    Completeness4/5

    Create, list (with status filter), toggle-complete, delete, and bulk-clear cover the essential lifecycle. The notable gap is editing a todo's text/content — there is no update_todo, so an agent must delete and re-add to fix a typo.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers