@@ -51,31 +51,20 @@ export type ServerOptions = ProtocolOptions & {
5151 * The validator is used to validate user input returned from elicitation
5252 * requests against the requested schema.
5353 *
54- * @default AjvJsonSchemaValidator (auto-configured with sensible defaults)
54+ * @default AjvJsonSchemaValidator
5555 *
5656 * @example
5757 * ```typescript
58- * // Use default AJV validator (recommended, no configuration needed)
59- * import { Server } from '@modelcontextprotocol/sdk';
60- * const server = new Server(
61- * { name: 'my-server', version: '1.0.0' },
62- * { capabilities: {} }
63- * );
64- *
65- * // Use custom AJV configuration
66- * import { Server, AjvJsonSchemaValidator } from '@modelcontextprotocol/sdk';
67- * import { Ajv } from 'ajv';
68- * const ajv = new Ajv({ strict: true });
58+ * // ajv (default)
6959 * const server = new Server(
7060 * { name: 'my-server', version: '1.0.0' },
7161 * {
72- * capabilities: {},
73- * jsonSchemaValidator: new AjvJsonSchemaValidator(ajv )
62+ * capabilities: {}
63+ * jsonSchemaValidator: new AjvJsonSchemaValidator()
7464 * }
7565 * );
7666 *
77- * // Cloudflare Workers (edge-compatible)
78- * import { Server, CfWorkerJsonSchemaValidator } from '@modelcontextprotocol/sdk';
67+ * // @cfworker /json-schema
7968 * const server = new Server(
8069 * { name: 'my-server', version: '1.0.0' },
8170 * {
0 commit comments