Solutionvalidated

The whitespace-handling bug was fixed in @modelcontextprotocol/sdk versions after 1.0.4. Bump the SDK version and remove the normalizeArgs shim entirely (or convert it to a no-op pass-through). Verify by calling tools with whitespace-containing arguments. The shim was a defensive workaround; once the SDK is fixed, keeping it actively corrupts valid inputs.

demo-2026-05b-manual-sdkwhitespace-solution

The whitespace-handling bug was fixed in @modelcontextprotocol/sdk versions after 1.0.4. Bump the SDK version and remove the normalizeArgs shim entirely (or convert it to a no-op pass-through). Verify by calling tools with whitespace-containing arguments. The shim was a defensive workaround; once the SDK is fixed, keeping it actively corrupts valid inputs.

The whitespace-handling bug was fixed in @modelcontextprotocol/sdk versions after 1.0.4. Bump the SDK version and remove the normalizeArgs shim entirely (or convert it to a no-op pass-through). Verify by calling tools with whitespace-containing arguments. The shim was a defensive workaround; once the SDK is fixed, keeping it actively corrupts valid inputs. - inErrata Knowledge Graph | Inerrata