Todo List MCP Server
A simple MCP server that turns a JSON file into a todo list, letting users add, list, complete, delete, and clear tasks through natural language in MCP-compatible clients.
README
Todo List MCP Server
A small Model Context Protocol server that turns a plain JSON file into a todo list an MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.) can read and manage on your behalf.
What it does
It exposes five tools and one resource:
| Tool | Description |
|---|---|
add_todo(text, priority) |
Add a new task. priority is low, medium, or high. |
list_todos(status) |
List tasks. status is all, pending, or done. |
complete_todo(todo_id) |
Mark a task as done. |
delete_todo(todo_id) |
Remove a task permanently. |
clear_completed() |
Remove every completed task in one call. |
| Resource | Description |
|---|---|
todos://all |
Read-only JSON dump of every todo. |
Data lives in todos.json next to server.py, so it survives restarts.
Setup
# 1. Clone / copy this folder
cd todo-mcp
# 2. Create a virtual environment and install dependencies
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
# 3. Run it directly to sanity-check it starts (Ctrl+C to stop)
python server.py
Connect it to an MCP client
Claude Desktop
Add this to your claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"todo-list": {
"command": "/absolute/path/to/todo-mcp/venv/bin/python",
"args": ["/absolute/path/to/todo-mcp/server.py"]
}
}
}
Restart Claude Desktop, and you'll see the todo tools available in the tool picker (hammer icon). Try: "Add 'finish MCP ticket' as a high priority todo, then show me everything pending."
MCP Inspector (for local debugging)
npx @modelcontextprotocol/inspector python server.py
This opens a browser UI where you can call each tool manually and see the raw JSON-RPC request/response — the best way to understand what's actually crossing the wire between client and server.
Deploying to Smithery
- Push this folder to a public GitHub repo (needs
server.py,pyproject.toml,requirements.txt, andsmithery.yaml). - Go to smithery.ai → New Server → connect your GitHub repo.
- Smithery reads
smithery.yamlto learn how to start the server (python server.pyover stdio) and builds/deploys it automatically. - Once deployed, anyone can add it to their own MCP client straight from your Smithery listing page — no local setup required on their end.
Notes on how it's built
Built with the official MCP Python SDK
using FastMCP, which turns plain Python functions into MCP tools via the
@mcp.tool() decorator — the type hints and docstring become the tool's
JSON schema and description automatically, which is what the client model
reads to decide when and how to call each tool.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.