Skip to content

feat(examples): add keyless Python MCP documentation reader - #36

Merged
gjwang merged 1 commit into
mainfrom
docs/python-mcp-first-read-20261106
Nov 6, 2026
Merged

gjwang merged 1 commit into
mainfrom
docs/python-mcp-first-read-20261106

Conversation

@gjwang

@gjwang gjwang commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Owner: 01a133d7-789f-7241-af41-185e49fc0fed

新增 uv run examples/mcp_docs.py,让 Python Agent 通过官方 MCP SDK 直接列出两个文档工具并读取英文 quickstart,输出含完整 Markdown 的 JSON。固定 Python ≥3.11、mcp 2.3.0,只连接文档入口;不需要 key、钱包或模型 API,也不执行链上 RPC。中英 README 同步说明依赖安装与 40 秒协作式运行时限。

仅新增示例并补两份 README,不改现有 Node/标准库 RPC 路径。独立源码审查通过;合后 exact 07b2d89/tree429054dd 由原 Planck 实际执行脚本 main,官方 SDK 2.3.0/Python 3.14.8 下 4HTTP、0重试、0.6507秒,全文78835字符,native0。QA适配层收窄endpoint/请求及响应预算并禁代理/redirect;不是无适配网络环境或 uv 再安装验收。原有 Node22/24 两轮自动离线 CI 成功,没有手动重跑。此前prototype 4HTTP/1.21s另保,不合并计样或宣提速。

验收项: 官方 SDK 完成文档初始化、工具发现和 read_doc;QA访问带 BlockVectraQA/1。错误/空文本/错误工具集的源码分支已独审,未新增现场失败用例。该验收不代表全客户端/全Python版本、性能基准或客户采用。

@gjwang
gjwang merged commit 07b2d89 into main Nov 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant