xmcp
Version:
The TypeScript MCP framework
16 lines (15 loc) • 1.08 kB
TypeScript
import { z } from "zod/v3";
export declare const adapterConfigSchema: z.ZodEnum<["express", "nextjs", "nestjs", "fastify", "tanstack", "hono", "sveltekit", "nuxt", "react-router", "astro"]>;
export type AdapterConfig = z.infer<typeof adapterConfigSchema>;
export declare const experimentalConfigSchema: z.ZodObject<{
adapter: z.ZodOptional<z.ZodEnum<["express", "nextjs", "nestjs", "fastify", "tanstack", "hono", "sveltekit", "nuxt", "react-router", "astro"]>>;
/** Infer tool input schemas and descriptions from TypeScript and JSDoc. */
inferToolSchemas: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
adapter?: "express" | "nextjs" | "nestjs" | "fastify" | "tanstack" | "hono" | "sveltekit" | "nuxt" | "react-router" | "astro" | undefined;
inferToolSchemas?: boolean | undefined;
}, {
adapter?: "express" | "nextjs" | "nestjs" | "fastify" | "tanstack" | "hono" | "sveltekit" | "nuxt" | "react-router" | "astro" | undefined;
inferToolSchemas?: boolean | undefined;
}>;
export type ExperimentalConfig = z.infer<typeof experimentalConfigSchema>;