Skip to content

Commit 64ad50a

Browse files
committed
link fixes
1 parent 1e6cea5 commit 64ad50a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/client/src/client/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export type ClientOptions = ProtocolOptions & {
162162
* The validator is used to validate structured content returned by tools
163163
* against their declared output schemas.
164164
*
165-
* @default {@linkcode DefaultJsonSchemaValidator} ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, {@linkcode index.CfWorkerJsonSchemaValidator | CfWorkerJsonSchemaValidator} on Cloudflare Workers)
165+
* @default {@linkcode DefaultJsonSchemaValidator} ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, `CfWorkerJsonSchemaValidator` on Cloudflare Workers)
166166
*/
167167
jsonSchemaValidator?: jsonSchemaValidator;
168168

packages/core/src/validators/ajvProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function createDefaultAjvInstance(): Ajv {
3333
* const validator = new AjvJsonSchemaValidator(ajv);
3434
* ```
3535
*
36-
* @see {@linkcode CfWorkerJsonSchemaValidator} for an edge-runtime-compatible alternative
36+
* @see `CfWorkerJsonSchemaValidator` for an edge-runtime-compatible alternative (import from `@modelcontextprotocol/server/validators/cf-worker`)
3737
*/
3838
export class AjvJsonSchemaValidator implements jsonSchemaValidator {
3939
private _ajv: Ajv;

packages/server/src/server/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export type ServerOptions = ProtocolOptions & {
8484
* The validator is used to validate user input returned from elicitation
8585
* requests against the requested schema.
8686
*
87-
* @default {@linkcode DefaultJsonSchemaValidator} ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, {@linkcode index.CfWorkerJsonSchemaValidator | CfWorkerJsonSchemaValidator} on Cloudflare Workers)
87+
* @default {@linkcode DefaultJsonSchemaValidator} ({@linkcode index.AjvJsonSchemaValidator | AjvJsonSchemaValidator} on Node.js, `CfWorkerJsonSchemaValidator` on Cloudflare Workers)
8888
*/
8989
jsonSchemaValidator?: jsonSchemaValidator;
9090
};

0 commit comments

Comments
 (0)