About Todo MCP Server
Todo MCP Server is an MCP server for managing todo items with SQLite storage. It provides simple add, list, and remove operations for users who need a task list.
Key features
- 01Add todo items
- 02List all todo items
- 03Remove items by ID
- 04Store data with SQLite
Use cases
- 01Record a new task
- 02Review the todo list
- 03Remove completed or unwanted items
MCP support
It acts as an MCP server and exposes tools for adding, listing, and removing todo items to MCP clients.
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 READMETodo 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
-
Install dependencies:
npm install -
Configure database location (optional):
Open
src/database.tsand modify theDB_LOCATIONvariable 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"; -
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
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.