About To Do List MCP Server
To Do List MCP Server is a simple task-list service for clients that need basic in-memory task management. It supports adding, listing, and removing items, with Zod validation and stdio transport.
Key features
- 01Add To Do items
- 02List all To Do items
- 03Remove items by ID
- 04Validate operations with Zod
- 05Store items in memory
Use cases
- 01Record quick tasks
- 02Review the current task list
- 03Remove completed or unwanted tasks
MCP support
Implements MCP tools for adding, listing, and removing To Do items. It uses stdio transport for client integration.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMETo Do List MCP Server
A Model Context Protocol (MCP) implementation of a simple To Do list manager that provides basic CRUD operations through MCP tools.
Features
- Add new To Do items
- View all To Do items
- Remove To Do items by ID
- Type-safe operations using Zod validation
- In-memory storage for simplicity
- Stdio transport for easy integration
Installation
npm install @modelcontextprotocol/sdk zod
Usage
Run the server:
npm run start
Available tools:
add-todo: Add a new To Do item
- Parameters:
{text: string} - Returns success message with assigned ID
get-todos: Retrieve all To Do items
- Returns formatted list of all items or empty state message
remove-todo: Remove a To Do item
- Parameters:
{id: number} - Returns success message on removal or error if ID not found
Example Usage
// Add a new todo
await client.callTool({
name: "add-todo",
arguments: { text: "Buy groceries" }
});
// Get all todos
await client.callTool({ name: "get-todos" });
// Remove a todo
await client.callTool({
name: "remove-todo",
arguments: { id: 1 }
});
Implementation Details
- Uses MCP Server SDK for protocol compliance
- Implements tools pattern for operations
- Uses stdio transport for communicatio
- Maintains state in memory for simplicity
Testing
Test the server using MCP Client like claude:
- Run the server
- Connect with MCP Inspector
- Test each tool individually
- Verify responses and error handling
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.