{"count":3,"items":[{"slug":"tool-error-http-200","title":{"en":"MCP tool error with HTTP 200","zh":"MCP 工具报错，HTTP 仍返回 200"},"summary":{"en":"Two lookups returned HTTP 200. The missing key returned isError: true, while the known key returned isError: false.","zh":"两次查询都收到 HTTP 200。查询已有键得到 isError: false，查询缺失键得到 isError: true。"},"verifiedAt":"2026-11-10T01:50:18.691Z","environment":{"sdk":"1.30.0","zod":"4.5.4","node":"v24.22.0","platform":"darwin/arm64","transport":"Streamable HTTP (stateless JSON response, 127.0.0.1)"},"limitations":{"en":"One SDK client called a local fixture that explicitly marks missing keys as errors. Other tools may return an empty successful result. Confirm the result contract for the tool you use.","zh":"本次使用一个 SDK 客户端和本机测试服务。测试工具将缺失键明确标为错误；其他工具也可能返回成功且内容为空的结果，需要按该工具的约定判断。"},"url":"https://www.niubiagent.com/lab/tool-error-http-200","zhUrl":"https://www.niubiagent.com/zh/lab/tool-error-http-200","jsonUrl":"https://www.niubiagent.com/api/lab/tool-error-http-200.json","markdownUrl":"https://www.niubiagent.com/lab/tool-error-http-200.md"},{"slug":"timeout-after-tool-execution","title":{"en":"MCP request timeout after tool execution","zh":"MCP 请求超时，服务端已执行工具"},"summary":{"en":"At the 750 ms deadline the server had completed one lookup. An explicit retry of the same lookup increased the server count to two.","zh":"客户端等到 750 毫秒超时时，服务端已完成一次查询。手动重试同一请求后，服务端查询次数增至两次。"},"verifiedAt":"2026-11-10T01:50:19.685Z","environment":{"sdk":"1.30.0","zod":"4.5.4","node":"v24.22.0","platform":"darwin/arm64","transport":"Streamable HTTP (stateless JSON response, 127.0.0.1)"},"limitations":{"en":"The local fixture delayed a reply after a read-only lookup. The client explicitly repeated it. This run covers a client deadline; proxy disconnections, automatic retries and desktop clients require separate tests.","zh":"本机测试服务完成只读查询后延迟响应，客户端显式发起了第二次查询。此实验覆盖客户端超时。代理断流、自动重试和桌面客户端需要分别验证。"},"url":"https://www.niubiagent.com/lab/timeout-after-tool-execution","zhUrl":"https://www.niubiagent.com/zh/lab/timeout-after-tool-execution","jsonUrl":"https://www.niubiagent.com/api/lab/timeout-after-tool-execution.json","markdownUrl":"https://www.niubiagent.com/lab/timeout-after-tool-execution.md"},{"slug":"client-result-comparison","title":{"en":"MCP 1.30 and 2.0 clients handling a tool error","zh":"MCP 1.30 和 2.0 客户端如何处理工具错误"},"summary":{"en":"Both clients resolved a successful lookup and a tool-reported error against the same SDK 1.30.0 server. All four requests returned HTTP 200. The two missing-key results carried isError: true.","zh":"两个客户端访问同一个 SDK 1.30.0 服务端，分别查询已有键和缺失键。四次请求均返回 HTTP 200。两次缺失键查询都正常返回带有 isError: true 的工具结果。"},"verifiedAt":"2026-11-10T02:01:58.641Z","environment":{"sdk":"1.30.0","clientSdk":"2.0.0","zod":"4.5.4","node":"v24.22.0","platform":"darwin/arm64","transport":"Streamable HTTP (stateless JSON response, 127.0.0.1)"},"limitations":{"en":"Two official TypeScript packages were run in one Node process against the same local stateless fixture. The tested server chose the tool error flags. Desktop hosts, streaming reconnects and other server or protocol versions require their own runs.","zh":"本实验在同一个 Node 进程内运行两个官方 TypeScript 客户端包，连接本机无状态测试服务。错误标志由这个服务端设置。桌面宿主、流式重连及其他服务端或协议版本需要单独测试。"},"url":"https://www.niubiagent.com/lab/client-result-comparison","zhUrl":"https://www.niubiagent.com/zh/lab/client-result-comparison","jsonUrl":"https://www.niubiagent.com/api/lab/client-result-comparison.json","markdownUrl":"https://www.niubiagent.com/lab/client-result-comparison.md"}],"requestCoverageUrl":"https://www.niubiagent.com/pilot"}