MCP Todo 5ec9e1a5

MCP日程管理

提供方 slavaspirin

日程管理 stdio · 本地进程 API Key 社区 / 第三方 Claude DesktopClaude
查看接入方式

一个基于Python实现的TODO MCP服务器,通过HTTP提供添加、列出和删除TODO项的功能,数据存储在本地JSON文件中。

一句话选型结论

按资料字段整理

MCP Todo 5ec9e1a5 属于日程管理类 MCP 服务器,stdio · 本地进程,API Key,可直接接入 Claude Desktop、Claude,有可直接执行的安装命令。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类日程管理 传输方式stdio · 本地进程 鉴权API Key 部署方式本地部署
GitHub 星标 0 仓库热度,无公开仓库时显示未标注
工具数 3 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

日程管理
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量3暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

TODO管理Python本地部署HTTP服务Python开发本地存储

安装与配置

stdio · 本地进程 API Key
客户端在本机拉起子进程,数据不出本机
python -m venv .venv

这条命令只是入口,具体启动参数请按官方文档补齐,不要直接照搬到别的服务器。

  1. 1
    准备运行环境

    stdio 服务在本地起进程,需要先装好 Python,再按安装命令拉取依赖。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 3 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
日程安排

按空闲时间自动排日程。

提醒与待办

设提醒、管待办清单。

时间协调

在多人之间找共同空档。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 3 个工具,职责相对集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已适配 Claude Desktop、Claude,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好运行时(如 Node.js),换机器要重新装一遍。
  • 使用前要准备好API Key对应的凭据,并按最小权限配置。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在日程管理场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop、Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
MCP Todo 5ec9e1a5当前 3 stdio · 本地进程 本地部署 有 2026-05-17
Todoist MCP Server 79e800d2 35 stdio · 本地进程 支持远程部署 有 2026-05-17
Outlook Calendar MCP 7 stdio · 本地进程 本地部署 有 2026-05-18
MCP Server Apple Events 5 stdio · 本地进程 本地部署 有 2026-05-17
y-cli 未标注 stdio · 本地进程 本地部署 无 2026-10-05
Google Calendar 未标注 HTTP · 远程 支持远程部署 有 2026-05-17

服务器档案

日程管理
字段来自项目仓库与公开索引,中文说明由本站标注
提供方slavaspirin上游标注的维护方 slavaspirin
分类日程管理本站按上游分类展示
连接方式stdio · 本地进程客户端在本机拉起子进程,数据不出本机
鉴权方式API Key远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · Python本地安装时用到的包标识与运行时
部署类型本地部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

6.7 KB
来自项目仓库与上游目录的原文,未做删改

TODO MCP Server for Claude (Python)

Simple TODO MCP server implemented in Python using the official mcp SDK. It exposes MCP tools over HTTP so Claude web can add, list, and remove TODOs, storing data in a local JSON file.

Features

  • Python MCP server using mcp.server.fastmcp.FastMCP
  • Tools:
  • add_todo_item(text: str) – add a TODO
  • list_todo_items() – list all TODOs
  • remove_todo_item(todo_id: str) – remove by id
  • Storage: JSON file on disk with file locking (filelock)
  • Transports: Streamable HTTP at /mcp (port 8000 by default)
  • Auth modes (config-only for now):
  • AUTH_MODE=none – no auth (local-only)
  • AUTH_MODE=api_key – static API key via HTTP header
  • AUTH_MODE=cognito – AWS Cognito JWT validation helpers

> Note: The MCP Python SDK’s HTTP transport currently does not expose HTTP headers directly to tool handlers. The auth.py module provides reusable functions to validate API keys and Cognito JWTs, which you can plug into HTTP middleware once the SDK exposes hooks, or via a reverse proxy that terminates auth before forwarding to /mcp.

Repository structure

Single source of truth at repo root; no duplicated app code.

  • server.py – MCP app + HTTP entrypoint (CORS, streamable-http).
  • server_stdio.py – Stdio entrypoint for Claude Desktop / .mcpb.
  • config.py, todo_store.py, auth.py – Config, storage, auth helpers.
  • mcpb/ – Bundle-only files: manifest.json, data/.gitkeep. See mcpb/README.md.
  • scripts/build-mcpb.sh – Builds todo-mcp.mcpb from root + mcpb (run from project root).

1. Install dependencies (local dev)

From the project root:```bash
python -m venv .venv
source .venv/bin/activate # on Windows: .venv\Scripts\activate
pip install --upgrade pip
pip install -r requirements.txt


### 2. Run the MCP server locally

By default this will:

- Listen on `0.0.0.0:8000`
- Store todos in `./data/todos.json`
- Use `AUTH_MODE=api_key` (but not yet enforced at HTTP level)```bash
export MCP_PORT=8000
export TODO_FILE_PATH=./data/todos.json
export AUTH_MODE=none  # for local testing

python server.py

You should see the server start without errors.

Test with MCP Inspector (optional)

In another terminal:```bash
npx -y @modelcontextprotocol/inspector


Connect to:```text
http://localhost:8000/mcp

You should see the tools:

  • add_todo_item
  • list_todo_items
  • remove_todo_item

3. Docker build and run (local)

Build the image:```bash
docker build -t todo-mcp:local .


Run it with a mounted `data` directory:```bash
mkdir -p data
docker run \
  -p 8000:8000 \
  -e MCP_PORT=8000 \
  -e TODO_FILE_PATH=/app/data/todos.json \
  -e AUTH_MODE=none \
  -v "$(pwd)/data:/app/data" \
  todo-mcp:local

Or use docker-compose:```bash
docker compose up --build


Then connect MCP Inspector to `http://localhost:8000/mcp` as above.

---

### 4. Claude Desktop (.mcpb)

To install as a one-click extension in Claude Desktop:

1. Build the bundle from project root: `./scripts/build-mcpb.sh`
2. Double-click the generated **todo-mcp.mcpb** and approve in Claude Desktop.
3. Restart Claude Desktop if needed. See mcpb/README.md for details.

---

### 5. Deploy to AWS Lightsail (Docker on a VM)

1. **Create Lightsail instance**
   - Choose a small Linux instance (Ubuntu) in your preferred region.
   - Enable SSH.
   - In “Networking”, open:
     - TCP **22** (SSH)
     - TCP **8000** (or 80/443 if you put a reverse proxy in front)

2. **Install Docker on the instance**

   SSH into the instance:```bash
   sudo apt-get update
   sudo apt-get install -y docker.io docker-compose-plugin
   sudo usermod -aG docker "$USER"
   # log out and back in to apply group changes
   ```

3. **Get the code onto the instance**

   Options:

   - `git clone` your repo, or
   - `scp` this folder up, or
   - push the Docker image to a registry (Docker Hub/ECR) and `docker pull` on Lightsail.

   Example with direct build on the instance:```bash
   cd ~/mcp-todo
   docker build -t todo-mcp:prod .
   mkdir -p data
   docker run -d \
     --name todo-mcp \
     -p 8000:8000 \
     -e MCP_PORT=8000 \
     -e TODO_FILE_PATH=/app/data/todos.json \
     -e AUTH_MODE=none \
     -v "$PWD/data:/app/data" \
     todo-mcp:prod
   ```

4. **(Optional) Add HTTPS and Cognito in front**

For production, you typically:

- Put an HTTPS load balancer or Nginx reverse proxy in front of the container.
- Configure AWS Cognito (or AWS ALB with Cognito auth) to protect the `/mcp` endpoint.
- Forward only authenticated traffic to the MCP server.

`auth.py` already contains helpers (`verify_api_key`, `verify_cognito_jwt`, `authenticate_from_headers`) that you can use in a future HTTP middleware layer once the MCP HTTP transport exposes headers, or from a sidecar API gateway/proxy.

---

### 6. Connect from Claude (HTTP MCP)

Once the server is reachable from the public internet (for example):```text
http://YOUR_LIGHTSAIL_IP:8000/mcp

Add an HTTP MCP server in Claude web / Claude Code with:

  • Transport: HTTP
  • URL: http://YOUR_LIGHTSAIL_IP:8000/mcp (or https://your-domain/mcp if behind HTTPS)
  • Headers:
  • For now, you can leave empty while AUTH_MODE=none.
  • Later, once you front it with Cognito or API Gateway, you will typically add:
    • Authorization: Bearer or
    • X-API-Key:

After saving, Claude should:

  • Discover the TODO tools.
  • Let you run add_todo_item, list_todo_items, and remove_todo_item directly from chat.

7. AWS Cognito integration (conceptual)

To integrate Cognito as you evolve this project:

  1. Create Cognito User Pool and App Client
    - Note the User Pool ID and Region.
    - Create an App Client (no client secret), note its Client ID.

  2. Set environment variables on Lightsailbash export AUTH_MODE=cognito export COGNITO_REGION=your-region export COGNITO_USER_POOL_ID=your-pool-id export COGNITO_APP_CLIENT_ID=your-app-client-id

  3. Obtain a JWT token
    - Use AWS CLI (aws cognito-idp initiate-auth) or a small helper app to log in and obtain an ID or access token.

  4. Configure your front-end/auth proxy
    - Ensure it sends Authorization: Bearer to your MCP server.
    - The auth.py helpers show how to validate those tokens on the server side once HTTP headers are available.


8. Notes and next steps

  • This is intentionally minimal and file-based. For more serious use:
  • Move storage to a database (e.g. DynamoDB, PostgreSQL).
  • Add structured logging and monitoring.
  • Harden network access (firewalls, IP allow-lists, stricter auth).
  • You can now iterate on additional tools (e.g. mark TODO as done, filter by user, etc.) by adding more decorated functions in server.py.

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
MCP Todo 5ec9e1a5 怎么安装?

在客户端按下面的安装命令接入:python -m venv .venv。装完在客户端配置里引用同一个包或端点。

MCP Todo 5ec9e1a5 怎么在 Claude Desktop、Claude 里配置?

它的传输方式是stdio · 本地进程,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

MCP Todo 5ec9e1a5 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

MCP Todo 5ec9e1a5 需要 API Key 吗?

资料标注需要API Key认证,使用前准备好对应凭据,并按最小权限配置。

MCP Todo 5ec9e1a5 支持哪些客户端?

资料标注支持 Claude Desktop、Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

MCP Todo 5ec9e1a5 能提供哪些能力?

资料显示约 3 个工具;能力标签包括 本地存储、Python、Claude、HTTP服务。具体工具清单以官方文档为准。

MCP Todo 5ec9e1a5 需要什么运行环境?

运行时为 Python;属于本地进程,需要在本机装好运行环境。

MCP Todo 5ec9e1a5 是本地还是远程?

它是本地进程(stdio),由客户端在本机拉起。传输方式为stdio · 本地进程。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。