better-todo-mcp
Python 库,用于按照 example/task.md 规范管理任务文件,提供:
- 解析/渲染:
mcp_tasks.parser - 任务操作:
mcp_tasks.ops - 文件处理与自动重命名:
mcp_tasks.storage - CLI:
better-todo-cli - MCP HTTP 服务器:
better-todo-mcp
安装
pip install -e .
CLI
- 列表:
better-todo-cli --file task.md list - 开始:
better-todo-cli --file task.md start "主任务/子任务" - 完成:
better-todo-cli --file task.md finish "主任务/子任务"(返回下一任务,若全完成自动重命名) - 添加:
better-todo-cli --file task.md add "新任务" --parent 主任务 --desc 描述 - 删除:
better-todo-cli --file task.md delete "主任务/子任务" - 需求文档:
better-todo-cli requirements --file requirements.md [--init] [--set "内容"] - 架构文档:
better-todo-cli architecture --file architecture.md [--init] [--set "内容"] - 规划提示词:
better-todo-cli start_plan
MCP 服务器
启动(任务文件默认存放在当前工作区的 .task/ 目录下,命令里的 --file task.md 实际指向 ./.task/task.md;目录不存在会自动创建,禁止绝对路径/.. 逃逸):
better-todo-mcp --file task.md --host 0.0.0.0 --port 8008
接口示例:
GET /tasks→ 列表(包含状态、层级)POST /tasks/start{path:"主任务/子任务"}(文件限定在 ./.task/)POST /tasks/finish{path:"主任务/子任务"}(返回下一任务;若全完成自动重命名;文件限定在 ./.task/)POST /tasks/add{title:"新任务",parent:"可选父任务",desc:["行1","行2"]}(文件限定在 ./.task/)DELETE /tasks{path:"主任务/子任务"}(文件限定在 ./.task/)GET /tasks/next→ 返回当前优先任务(先 RUNNING 再 TODO)GET /requirements/POST /requirements:读取/写入需求文档(默认 .task/requirements.md,不存在会用模板创建)GET /architecture/POST /architecture:读取/写入架构文档(默认 .task/architecture.md,不存在会用模板创建)POST /tasks/from-plan:[{title, desc?, children:[{title, desc?}] }]追加为主/子任务GET /start_plan:返回规划提示词(用于模型产出需求/架构/任务拆解)
开发
pip install -e ".[dev]"
pytest
Metadata
Release files for better-todo-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| better_todo_mcp-0.1.1.tar.gz | 11.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| better_todo_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.8 kB
Release files / better_todo_mcp-0.1.1.tar.gz
| Download URL | better_todo_mcp-0.1.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a74f1d8d37cb6e64d4476caed8c33ffce6cf3ba0eb54ba03b680d625d530f5a
|
|
BLAKE2b-256 checksum How to use checksums |
e803f69bc379a5b55e987e11f2fa1484d2ce5406de49ecaa84d5c2251891a818
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / better_todo_mcp-0.1.1-py3-none-any.whl
| Download URL | better_todo_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24623795320fddb41fa80587f2a18aca72f1328a51a802404af608af1cfe5a9c
|
|
BLAKE2b-256 checksum How to use checksums |
78cea5a203864f299d690613f53cdd6c7cc3461c5108b5c2be5ea69cfdf562f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for better-todo-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.