UNPKG

mcp-openweathermap

Version:
34 lines 981 B
import { z } from "zod"; declare const transportConfigSchema: z.ZodObject<{ transportType: z.ZodEnum<["stdio", "httpStream"]>; httpStream: z.ZodOptional<z.ZodObject<{ port: z.ZodNumber; endpoint: z.ZodString; }, "strip", z.ZodTypeAny, { port: number; endpoint: string; }, { port: number; endpoint: string; }>>; }, "strip", z.ZodTypeAny, { transportType: "stdio" | "httpStream"; httpStream?: { port: number; endpoint: string; } | undefined; }, { transportType: "stdio" | "httpStream"; httpStream?: { port: number; endpoint: string; } | undefined; }>; export type TransportConfig = z.infer<typeof transportConfigSchema>; /** * Get transport configuration from environment variables * Defaults to stdio transport if MCP_TRANSPORT is not set */ export declare function getTransportConfig(): TransportConfig; export {}; //# sourceMappingURL=transport.d.ts.map