Skip to main content
Glama
Todo MCP Server

Todo MCP Server

by X4MU-L

πŸ“ Todo MCP Server

A simple Todo List MCP server built for learning!

What is this?

This is an MCP (Model Context Protocol) server that gives AI assistants (like Claude) the ability to manage a todo list for you.

Tools Included:

  • add_todo - Add a new task

  • list_todos - See all your tasks

  • complete_todo - Mark a task as done βœ…

  • delete_todo - Remove a task πŸ—‘οΈ


Related MCP server: FastAPI Todo MCP Server

πŸš€ Quick Start

1. Install dependencies

cd todo-mcp
npm install

2. Build the project

npm run build

3. Test it works

node index.js

(Press Ctrl+C to stop - it will just wait for input)


πŸ”Œ Connect to Claude Desktop

Edit your Claude Desktop config file:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this to the file:

{
  "mcpServers": {
    "todo": {
      "command": "node",
      "args": ["/FULL/PATH/TO/todo-mcp/index.js"]
    }
  }
}

⚠️ Replace /FULL/PATH/TO/ with the actual path to your todo-mcp folder!

Then restart Claude Desktop.


πŸ”Œ Connect to Codebuff

Create or edit .codebuff/config.json in your project:

{
  "mcpServers": {
    "todo": {
      "command": "node",
      "args": ["/FULL/PATH/TO/todo-mcp/index.js"]
    }
  }
}

Or add to global config at ~/.codebuff/config.json.

Then restart Codebuff.


πŸ’‘ How to Use

Once connected, just talk to Claude naturally:

  • "Add 'buy groceries' to my todo list"

  • "What's on my todo list?"

  • "Mark todo #1 as complete"

  • "Delete todo #2"

Claude will automatically use the right tools!


πŸ“š Learning More

Look at index.ts - it's full of comments explaining every part!

Key concepts:

  1. Tools = Actions the AI can take

  2. inputSchema = What info each tool needs

  3. Request Handlers = Code that runs when tools are used


⚠️ Note

Todos are stored in memory only - they disappear when the server restarts. This is intentional for learning! A real app would save to a file or database.

Available Tools

4 tools
add_todoA

Add a new todo item to the list. Returns the created todo with its ID.

Inputs: text (required).

complete_todoA

Mark a todo item as done/completed by its ID.

Inputs: id (required).

delete_todoB

Remove a todo item from the list by its ID.

Inputs: id (required).

list_todosA

Get all todo items as a structured list with IDs, text, completion status, and creation dates.

Inputs: filter.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool performs a distinct operation on todos: add, list, complete, and delete. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (add_todo, list_todos, complete_todo, delete_todo), making the API predictable.

    Tool Count5/5

    Four tools is a well-scoped set for a todo server, covering the essential operations without unnecessary bloat.

    Completeness4/5

    The core lifecycle of create, read, update status, and delete is covered. The only notable gap is the lack of an update_todo tool for editing todo text, but this is minor for the domain.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers