Todo List MCP Server
Todo List MCP Server
一个基于 Model Context Protocol 的小型服务器,它能把一个纯 JSON 文件变成待办事项列表,让兼容 MCP 的客户端(Claude Desktop、Claude Code、Cursor 等)可以替你读取和管理。
它能做什么
它提供五个工具和一个资源:
工具 | 描述 |
| 添加新任务。 |
| 列出任务。 |
| 将任务标记为已完成。 |
| 永久删除任务。 |
| 一次调用即可删除所有已完成任务。 |
资源 | 描述 |
| 所有待办事项的只读 JSON 转储。 |
数据存放在 server.py 旁边的 todos.json 中,因此重启后依然保留。
Related MCP server: MCP Todo List
安装
# 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连接到 MCP 客户端
Claude Desktop
将以下内容添加到你的 claude_desktop_config.json(设置 → 开发者 → 编辑配置):
{
"mcpServers": {
"todo-list": {
"command": "/absolute/path/to/todo-mcp/venv/bin/python",
"args": ["/absolute/path/to/todo-mcp/server.py"]
}
}
}重启 Claude Desktop,你就会在工具选择器(锤子图标)中看到这些待办事项工具。试试说:“把‘完成 MCP 工单’添加为高优先级待办事项,然后显示所有待处理项。”
MCP Inspector(用于本地调试)
npx @modelcontextprotocol/inspector python server.py这会打开一个浏览器界面,你可以在其中手动调用每个工具,并查看原始的 JSON-RPC 请求/响应——这是了解客户端与服务器之间实际传输内容的最佳方式。
部署到 Smithery
将此文件夹推送到一个公开的 GitHub 仓库(需要
server.py、pyproject.toml、requirements.txt和smithery.yaml)。前往 smithery.ai → 新建服务器 → 连接你的 GitHub 仓库。
Smithery 会读取
smithery.yaml来了解如何启动服务器(通过 stdio 运行python server.py),并自动构建/部署它。部署完成后,任何人都可以直接从你的 Smithery 列表页面将它添加到自己的 MCP 客户端——无需在本地进行任何设置。
构建说明
使用官方 MCP Python SDK 构建,基于 FastMCP,它通过 @mcp.tool() 装饰器将普通 Python 函数转换为 MCP 工具——类型提示和文档字符串会自动成为工具的 JSON schema 和描述,客户端模型正是读取这些信息来决定何时以及如何调用每个工具。
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that allows AI assistants to manage todo lists stored in a simple markdown file, supporting creation, reading, updating, and deletion of todo items with persistent IDs.5146MIT
- Flicense-qualityCmaintenanceMCP server that exposes a TODO list API to AI assistants, enabling natural language management of tasks with create, read, update, and delete operations.
- Alicense-qualityCmaintenanceA CRUD todo list server that exposes tools to create, list, and conclude tasks, compatible with any MCP host.11MIT
- Alicense-qualityCmaintenanceMCP server that integrates with myTinyTodo to list, create, edit, and complete tasks via its JSON HTTP API.MIT
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
A basic MCP server to operate on the Postman API.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/exemuneeb/mcp-task'
If you have feedback or need assistance with the MCP directory API, please join our Discord server