@aashari/boilerplate-mcp-server
Version:
TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources. Includes CLI support and extensible structure for connecting AI systems (LLMs) to external data sources like ip-api.com. Ideal template for creating new MCP in
20 lines (19 loc) • 670 B
TypeScript
import { z } from 'zod';
/**
* 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>>;
}, "strict", z.ZodTypeAny, {
useHttps: boolean;
includeExtendedData: boolean;
}, {
useHttps?: boolean | undefined;
includeExtendedData?: boolean | undefined;
}>;
/**
* 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>;