zuplo 7.14.6 → 7.14.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,6 +28,19 @@ answers a capability that does not exist, so a client cannot tell the two apart:
|
|
|
28
28
|
| `completion/complete` of a hidden reference | `-32602`, `Prompt "<name>" not found` or `Resource template "<uri>" not found` |
|
|
29
29
|
| Any of these without a string `name` or `uri` | `-32602`, for example `Invalid params for tools/call: params.name must be a string` |
|
|
30
30
|
|
|
31
|
+
With the `mcpGatewaySpecCompliance` compatibility flag (on from 2026-11-06), a
|
|
32
|
+
2025-era request for a hidden target first gets the checks the server handler
|
|
33
|
+
makes before it looks at any target, in the same order, so it still answers as
|
|
34
|
+
an absent target would: `406` for an `Accept` without `application/json`, `415`
|
|
35
|
+
for a JSON-like `Content-Type` other than `application/json` (a `Content-Type`
|
|
36
|
+
that is not JSON at all gets the problem+json `415` below, for every target),
|
|
37
|
+
`400` `-32600` for a message the MCP schema refuses (a `params._meta` that is
|
|
38
|
+
not an object), `400` `-32600` for an `initialize` batched with other messages,
|
|
39
|
+
`400` for an `MCP-Protocol-Version` the server handler does not serve (it serves
|
|
40
|
+
`2025-11-25`, `2025-06-18`, `2025-03-26`, `2024-11-05` and `2024-10-07`), each
|
|
41
|
+
in the handler's words, then `-32602` for a mistyped `arguments`. A `ping` in a
|
|
42
|
+
refused 2025-03-26 batch gets an empty result.
|
|
43
|
+
|
|
31
44
|
A method the policy checks or filters spelled another way, in another case or
|
|
32
45
|
with surrounding spaces (`Tools/Call`, ` tools/list`), is answered `-32601`
|
|
33
46
|
(`Method not found`): it is no MCP method, and an upstream that matched it
|
|
@@ -227,7 +240,7 @@ The policy fails closed. It never forwards something it could not check:
|
|
|
227
240
|
|
|
228
241
|
| Case | Result |
|
|
229
242
|
| ------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
|
|
230
|
-
| Body is not JSON (`Content-Type
|
|
243
|
+
| Body is not JSON (no `Content-Type`, or one without `json`), on any HTTP method, for every target | `415` problem+json, not forwarded |
|
|
231
244
|
| Body over 10 MiB | `413` problem+json, not forwarded |
|
|
232
245
|
| Body is JSON-typed but does not parse, or cannot be read (the upload failed) | `400`, `-32700`, not forwarded |
|
|
233
246
|
| Body is JSON but not a JSON-RPC message | `400`, `-32600` (its `id` when valid) |
|
|
@@ -390,10 +403,16 @@ results to another. With only the static allowlist, every caller sees the same
|
|
|
390
403
|
results, so the upstream's `cacheScope` is kept.
|
|
391
404
|
|
|
392
405
|
The SDK server's not-found words, below, are used only when the
|
|
393
|
-
`MCP-Protocol-Version` header names 2026-07-28 or later.
|
|
394
|
-
2026-07-28
|
|
395
|
-
|
|
396
|
-
|
|
406
|
+
`MCP-Protocol-Version` header names 2026-07-28 or later. Before it answers a
|
|
407
|
+
hidden target on a 2026-07-28 request, the policy runs the checks the MCP Server
|
|
408
|
+
handler runs before it looks up a target, and answers with the first that fails:
|
|
409
|
+
an `Accept` that can't take JSON or a non-JSON `Content-Type` (406 or 415), a
|
|
410
|
+
batch (400 `-32600`), a malformed `_meta` envelope, a revision the server does
|
|
411
|
+
not serve (`-32022`), a missing `MCP-Protocol-Version`, `Mcp-Method` or
|
|
412
|
+
`Mcp-Name` header (`-32020`), each with HTTP 400, and then missing or mistyped
|
|
413
|
+
params (`-32602`). A request that names 2026-07-28 only in `_meta` is missing
|
|
414
|
+
its required header, so it gets that `-32020`, as it does from the server. A
|
|
415
|
+
hidden target then looks the same as an absent one.
|
|
397
416
|
|
|
398
417
|
The policy filters the replies to list requests, `subscriptions/listen` and,
|
|
399
418
|
with `accessControl` covering resources, `resources/read`. Other replies, such
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zuplo",
|
|
3
|
-
"version": "7.14.
|
|
3
|
+
"version": "7.14.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The official Zuplo CLI for local development and platform management",
|
|
6
6
|
"homepage": "https://zuplo.com/docs/cli/overview",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"zuplo": "zuplo.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@zuplo/cli": "7.14.
|
|
36
|
-
"@zuplo/core": "7.14.
|
|
37
|
-
"@zuplo/runtime": "7.14.
|
|
38
|
-
"@zuplo/test": "7.14.
|
|
35
|
+
"@zuplo/cli": "7.14.8",
|
|
36
|
+
"@zuplo/core": "7.14.8",
|
|
37
|
+
"@zuplo/runtime": "7.14.8",
|
|
38
|
+
"@zuplo/test": "7.14.8"
|
|
39
39
|
}
|
|
40
40
|
}
|