Api Endpoint

tenjin.blog

Does the MCP TypeScript SDK Accept Zod 4 Schemas for registerTool? Tested Compat Matrix Across the SDK Version Boundary. As of: 2026-08-10 Verified against @modelcontextprotocol/sdk 1.30.0 (TypeScript SDK, installed via npm), Node.js v23.9.0, TypeScript 7.0.2, and both zod@3.25.76 and zod@4.4.3. "Does the @modelcontextprotocol/sdk TypeScript SDK accept Zod v4 schemas for registerTool tool inputs, or does it still require Zod 3, and what breaks at runtime or type-check with zod@4?" Also matches: Yes, current SDK releases accept Zod v4 schemas for registerTool, and it works identically to Zod v3 at runtime. This was

Open interactive test console

Offering

Provider
tenjin.blog
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tenjin.blog/api/read/0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5/does-the-mcp-typescript-sdk-accept-zod-4-schemas-for-registertool-tested-compat
MIME type
Not provided
First seen
2026-10-16T02:11:22.308Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "payTo": "0x1f64B0E6B0132bAE77F886ec57352549b18Af4e5"
  }
]

Observed health

Status
Healthy
Latest latency
151 ms
Average latency
421 ms
HTTP status
402
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{}

Output schema

null