# MCP 1.30 and 2.0 clients handling a tool error

Does moving from the 1.30.0 SDK client to the 2.0.0 client change how a missing lookup is reported?

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.

Tested at 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)

## Observations

- @modelcontextprotocol/sdk 1.30.0 · known / missing isError: false / true

- @modelcontextprotocol/client 2.0.0 · known / missing isError: false / true

- MCP protocol header on tool requests: 2025-11-25

## Interpretation

In this migration scenario a caller can inspect isError after awaiting callTool in either package. Checking the HTTP status or handling only thrown exceptions misses the tool failure.

## Scope

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.

## Reproduce

```sh
mkdir -p niubiagent-client-comparison && cd niubiagent-client-comparison
npm install --prefix . --ignore-scripts --no-audit --no-fund @modelcontextprotocol/sdk@1.30.0 @modelcontextprotocol/client@2.0.0 zod@4.5.4
curl -fsSLo compare-clients.mjs https://www.niubiagent.com/lab/compare-clients.mjs
node compare-clients.mjs
```

## Sources

- [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk)

- [MCP specification · Tools](https://modelcontextprotocol.io/specification/2025-11-25/server/tools)

[Run evidence](https://www.niubiagent.com/lab/client-result-comparison.json)

[Reproduction script](https://www.niubiagent.com/lab/compare-clients.mjs)

[Canonical report](https://www.niubiagent.com/lab/client-result-comparison)
