UNPKG

npmplus-mcp-server

Version:

Production-ready MCP server for intelligent JavaScript package management. Works with Claude, Windsurf, Cursor, VS Code, and any MCP-compatible AI editor.

18 lines 506 B
import { z } from 'zod'; /** * Convert Zod schema to JSON Schema for MCP compatibility */ export declare function convertZodToJsonSchema(zodSchema: z.ZodType<any, any>): any; /** * Convert a tool definition with Zod schema to MCP-compatible format */ export declare function convertToolSchema(tool: { name: string; description: string; inputSchema: z.ZodType<any, any>; }): { name: string; description: string; inputSchema: any; }; //# sourceMappingURL=schema-converter.d.ts.map