typescript-sdk/.changeset/standard-schema-elicitation.md
Matt 24be4040d4
feat(server): accept Standard Schemas in inputRequired.elicit (#2369)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-07-09 11:04:16 +01:00

375 B

@modelcontextprotocol/core-internal @modelcontextprotocol/server
minor minor

Allow inputRequired.elicit() to accept a Standard Schema such as a Zod object for requestedSchema. The builder converts it to MCP's restricted form-elicitation JSON Schema, while the same schema can validate and type the response through acceptedContent() on handler re-entry.