UNPKG

@aashari/boilerplate-mcp-server

Version:

TypeScript MCP server boilerplate with STDIO and HTTP transport support, CLI tools, and extensible architecture

28 lines (27 loc) 913 B
import { z } from 'zod'; /** * Output format options for API responses * - toon: Token-Oriented Object Notation (default, more token-efficient for LLMs) * - json: Standard JSON format */ export declare const OutputFormat: z.ZodOptional<z.ZodEnum<{ toon: "toon"; json: "json"; }>>; /** * Zod schema for the IP address tool arguments. */ export declare const IpAddressToolArgs: z.ZodObject<{ includeExtendedData: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; useHttps: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; jq: z.ZodOptional<z.ZodString>; outputFormat: z.ZodOptional<z.ZodEnum<{ toon: "toon"; json: "json"; }>>; }, z.core.$strict>; /** * TypeScript type inferred from the IpAddressToolArgs Zod schema. * This represents the optional arguments passed to the tool handler and controller. */ export type IpAddressToolArgsType = z.infer<typeof IpAddressToolArgs>;