Skip to content

Commit 026630b

Browse files
committed
fix(mcp): downgrade @modelcontextprotocol/sdk to 1.27.1
SDK 1.28.0 added client-side AJV validation of structuredContent against outputSchema. This breaks the proxy - it rejects valid upstream responses before forwarding them. A proxy has no business validating data it's passing through. Pin to ~1.27.1 which has no client-side output validation.
1 parent 9288bd7 commit 026630b

2 files changed

Lines changed: 11 additions & 47 deletions

File tree

packages/x402-proxy/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "x402-proxy",
33
"private": true,
4-
"version": "0.10.9",
4+
"version": "0.10.10",
55
"description": "curl for x402 paid APIs. Auto-pays any endpoint on Base, Solana, and Tempo.",
66
"type": "module",
77
"sideEffects": false,
@@ -49,7 +49,7 @@
4949
"dependencies": {
5050
"@clack/prompts": "^1.1.0",
5151
"@getmcp/generators": "^0.10.1",
52-
"@modelcontextprotocol/sdk": "^1.28.0",
52+
"@modelcontextprotocol/sdk": "~1.27.1",
5353
"@noble/curves": "^2.0.1",
5454
"@noble/hashes": "^2.0.1",
5555
"@scure/base": "^2.0.0",

pnpm-lock.yaml

Lines changed: 9 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)