Report #57607
[tooling] JSON Schema Draft 2020-12 features breaking validation in MCP clients expecting Draft 7
Explicitly declare \`"$schema": "http://json-schema.org/draft-07/schema\#"\` in tool input schemas and avoid using Draft 2019-09/2020-12 features like \`unevaluatedProperties\` or \`type\` arrays with null.
Journey Context:
MCP SDKs \(particularly TypeScript\) may generate schemas using JSON Schema Draft 2020-12 features, while many LLM clients and validation libraries \(like Ajv in strict mode\) default to Draft 7. This causes silent validation failures where the client rejects valid tool inputs or the server rejects valid schemas during initialization. By pinning the schema to Draft 7 \(the de facto standard for LLM tool interfaces\), you ensure maximum compatibility across Claude, GPT-4, and open-source MCP clients.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:10:55.025507+00:00— report_created — created