Minor Changes
-
#364
0df302dThanks @glanzel! - Node 18 is no longer supported. The server now runs on the split v2 MCP SDK (@modelcontextprotocol/serverfor the server and@modelcontextprotocol/nodefor the Streamable HTTP transport) instead of@modelcontextprotocol/sdkv1, and the v2 packages require Node 20 or newer;enginesnow says>=20.6.0. The published Docker image already used Node 22.What stays the same: the server still answers the 2025-era
initializehandshake and offers no newer revision, still asks for approval withelicitInput()and still refuses when a client cannot answer, and policy, quotas, role bindings, host groups, the denylist, OPA andclient-tooldecide exactly as before. Every tool keeps its name, description, annotations and input schema properties.What a client or an operator can see change, all from the SDK:
- A call to a tool that does not exist is answered with a JSON-RPC error (
-32602,Tool <name> not found) instead of a tool result withisError: true, as the 2025-11-25 spec has it. - Refusal text loses its
MCP error -32602:prefix. An input the server refuses (a command with a line break or a null byte, a reservedsftp:/session:prefix, an empty or over-long command, a bad path) now reads, for example,Command cannot contain a null byte, in the tool result and in the audit record'serrorfield alike. A log or SIEM rule anchored on the old prefix needs updating; one that matches the message itself does not. Schema validation failures are worded slightly differently too. tools/listdeclares each input schema as JSON Schema 2020-12 rather than draft-07, and no longer sendsexecution: { taskSupport: "forbidden" }on every tool.- stdio: when stdin closes, requests already read are answered before the process exits, for up to 5 seconds, instead of racing the exit; and the process now also exits when the transport closes on its own (a stdout write error, or a single message over the SDK's 10 MB limit) rather than staying up with nobody to answer.
This is the groundwork for the
2026-07-28revision; that revision is not offered yet. - A call to a tool that does not exist is answered with a JSON-RPC error (
Patch Changes
- #357
cb45896Thanks @dependabot! - Update OpenTelemetry to 0.301:@opentelemetry/sdk-nodeand@opentelemetry/exporter-trace-otlp-httpgo from^0.300.0to^0.301.2, the only part of this bump that changes whatnpm i ssh-mcpresolves, since a caret on a 0.x version does not reach the next minor. The lockfile also moves@opentelemetry/resourcesand the other 3.x OpenTelemetry packages to 3.1.1,@opentelemetry/semantic-conventionsto 1.45.0 andimport-in-the-middleto 3.6.0, all inside ranges already declared. No package is added or removed, andnpm audit --omit=devreports nothing.