xmcp
Version:
The TypeScript MCP framework
29 lines (28 loc) • 1.09 kB
TypeScript
import { z } from "zod/v3";
export declare const pathsConfigSchema: z.ZodEffects<z.ZodObject<{
tools: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>>;
prompts: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>>;
resources: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>>;
}, "strip", z.ZodTypeAny, {
tools?: string | boolean | undefined;
prompts?: string | boolean | undefined;
resources?: string | boolean | undefined;
}, {
tools?: string | boolean | undefined;
prompts?: string | boolean | undefined;
resources?: string | boolean | undefined;
}>, {
tools: string | boolean;
prompts: string | boolean;
resources: string | boolean;
}, {
tools?: string | boolean | undefined;
prompts?: string | boolean | undefined;
resources?: string | boolean | undefined;
}>;
export type PathsConfig = z.infer<typeof pathsConfigSchema>;
export declare const DEFAULT_PATHS: {
readonly tools: "src/tools";
readonly prompts: "src/prompts";
readonly resources: "src/resources";
};