Repository navigation
feat(examples): add keyless Python MCP documentation reader - #36
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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版本、性能基准或客户采用。