Todo MCP

Todo MCP

A persistent todo list server that enables AI assistants to manage tasks across different platforms using the Model Context Protocol. It provides tools for creating, listing, updating, and deleting todos with support for priorities, tags, and due dates.

Category
访问服务器

README

Todo MCP

A persistent todo list accessible from any AI assistant that supports MCP. One server, every client.

Works with Claude (chat, Code, Cowork), Codex, and any MCP-compatible tool. ChatGPT support is possible too, with one current auth caveat noted below.


Quick start (local)

git clone https://github.com/YOUR_USER/todo-mcp.git
cd todo-mcp
cp .env.example .env
docker compose up -d

MCP endpoint: http://localhost:8000/mcp


Deploy on a remote server

# 1. Copy the folder to your server
scp -r ~/Downloads/todo-mcp user@YOUR_SERVER:~/todo-mcp

# 2. SSH in and configure
ssh user@YOUR_SERVER
cd ~/todo-mcp
cp .env.example .env

# 3. Generate an auth token and add it to .env
python3 -c "import secrets; print(secrets.token_urlsafe(32))"
# → paste the output as AUTH_TOKEN=... in .env

# 4. Start
docker compose up -d

HTTP endpoint: http://YOUR_SERVER:8000/mcp


Add HTTPS (recommended for remote servers)

Self-signed certs are blocked by many corporate firewalls (e.g. FortiGuard). Use Let's Encrypt for a free, trusted certificate.

1. Point a DNS A record at your server:

Type Name Value
A todo YOUR_SERVER_IP

2. Get a certificate (requires port 80 free temporarily):

certbot certonly --standalone -d todo.yourdomain.com

If port 80 is occupied: stop whatever is using it, run certbot, then restart it.

3. Edit nginx.conf — replace yourdomain.com with your actual domain in:

  • server_name
  • ssl_certificate
  • ssl_certificate_key

4. Start with HTTPS:

docker compose --profile https up -d

If port 443 is already taken, set HTTPS_PORT=8443 in .env. Your endpoint becomes https://todo.yourdomain.com:8443/mcp.

5. Open the firewall if needed:

ufw allow 443/tcp   # or 8443/tcp if using a custom port

Note: The nginx container mounts all of /etc/letsencrypt (not just live/), because Let's Encrypt certs are symlinks into archive/. Mounting only live/ breaks symlink resolution inside the container.

HTTPS endpoint: https://todo.yourdomain.com/mcp


Connect your AI clients

Use the full MCP endpoint URL here: https://todo.yourdomain.com/mcp

For the companion slash commands / skill in skills/, use the base server URL without /mcp, for example: https://todo.yourdomain.com

Claude (claude.ai)

Settings → Integrations → Add custom integration

  • URL: https://todo.yourdomain.com/mcp
  • If auth is enabled, add header: Authorization: Bearer YOUR_TOKEN

Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "todo": {
      "type": "url",
      "url": "https://todo.yourdomain.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Codex (CLI, app, IDE extension)

Codex uses ~/.codex/config.toml (or project-local .codex/config.toml). The Codex CLI and app share this config.

No auth:

[mcp_servers.todo]
url = "https://todo.yourdomain.com/mcp"

Bearer token auth:

[mcp_servers.todo]
url = "https://todo.yourdomain.com/mcp"
bearer_token_env_var = "TODO_MCP_TOKEN"

Then export the token before starting Codex:

export TODO_MCP_TOKEN="YOUR_TOKEN"

You can also use static headers with http_headers or environment-backed headers with env_http_headers.

ChatGPT

As of March 26, 2026, OpenAI's ChatGPT developer mode supports remote MCP servers over streaming HTTP, but the documented auth modes are OAuth, no authentication, and mixed auth. This server currently supports no auth or bearer token auth.

That means:

  • AUTH_TOKEN empty: easiest path for ChatGPT testing
  • AUTH_TOKEN set: works in Claude / Codex, but ChatGPT may not connect unless you add OAuth support

This is an inference from OpenAI's current docs: bearer-only remote MCP servers do not appear to be the smooth path in ChatGPT today.

If you want ChatGPT support right now, leave AUTH_TOKEN empty during testing or place the server behind another trusted access layer. If you want secure internet-facing ChatGPT access, the next step is adding OAuth.

Any other MCP client

Streamable HTTP transport, URL https://todo.yourdomain.com/mcp. Include header Authorization: Bearer YOUR_TOKEN if auth is enabled.


Slash commands and skill triggers

Install the companion skill from the skills/ folder:

Command Also triggers on
/setup-todo <url> "setup todo", "configure todo", "set todo url"
/todo <text> "add todo", "remind me to", "note to self", "don't let me forget"
/next-todo "what's next", "what should I work on", "most urgent", "what's overdue"
/list-todo [filter] "show my todos", "what's on my plate", "todo stats", "show ASF todos"
cd skills && chmod +x install.sh && ./install.sh
/setup-todo https://todo.yourdomain.com

For Codex, see:

  • codex-config.toml.example
  • skills/AGENTS.md.example

MCP tools

Tool What it does
todo_list List todos with short #1, #2, #3 references for follow-up actions
todo_add Add a todo with optional tag, priority, and due date
todo_update Edit text, toggle done, change priority / tag / due using a short reference or internal ID
todo_complete Mark a todo done using a short reference or internal ID
todo_delete Permanently delete a todo using a short reference or internal ID
todo_stats Summary counts by status, tag, priority, and overdue

Example flow:

Found 3 todos — 3 open, 0 done, 0 overdue
Use the `#` number to refer to an item in follow-up commands.

#1 ○ Buy groceries
  priority:high  due:2026-03-27

#2 ○ Review pages and letter of HubX

#3 ○ Read MCP spec (streamable HTTP section)
  priority:med  tag:dev

That lets the assistant say things like complete 1 or delete 2 without surfacing the long internal storage IDs in the normal presentation.


Authentication

Set AUTH_TOKEN in .env to require a bearer token on all requests. Leave it empty to disable auth (fine for local, not recommended for remote).

Compatibility summary:

  • Claude / Claude Code: works with bearer auth
  • Codex: works with bearer auth
  • ChatGPT: easiest with no auth today; OAuth would be needed for the cleanest authenticated setup
# Generate a token
python3 -c "import secrets; print(secrets.token_urlsafe(32))"

The /health endpoint is always public (used by Docker healthchecks).


Architecture

  • Protocol: MCP over streamable HTTP
  • Runtime: Python 3.12 + FastMCP
  • Storage: JSON file in a Docker named volume (/data/todos.json)
  • Auth: Optional bearer token middleware
  • TLS: Optional nginx reverse proxy (--profile https)

Notes for OpenAI clients

I verified the current OpenAI docs before writing this section:

  • Codex supports streamable HTTP MCP servers, bearer tokens, http_headers, and env_http_headers
  • ChatGPT developer mode supports streaming HTTP MCP servers, but its docs currently describe OAuth / no auth / mixed auth rather than arbitrary bearer header entry in the UI

Sources:


Backup & restore

# Backup
docker cp $(docker compose ps -q todo-mcp):/data/todos.json ./backup.json

# Restore
docker cp ./backup.json $(docker compose ps -q todo-mcp):/data/todos.json

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选