UNPKG

@aredes.me/mcp-dadosbr

Version:

Model Context Protocol server for Brazilian public data lookup (CNPJ companies and CEP postal codes) with configurable API endpoints

43 lines 1.3 kB
import { z } from "zod"; import { ApiConfig } from "../types/index.js"; export declare const configSchema: z.ZodObject<{ cnpjBaseUrl: z.ZodOptional<z.ZodString>; cepBaseUrl: z.ZodOptional<z.ZodString>; authHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { cnpjBaseUrl?: string | undefined; cepBaseUrl?: string | undefined; authHeaders?: Record<string, string> | undefined; }, { cnpjBaseUrl?: string | undefined; cepBaseUrl?: string | undefined; authHeaders?: Record<string, string> | undefined; }>; interface CreateServerOptions { config?: Partial<ApiConfig>; } export default function createServer({ config }?: CreateServerOptions): import("@modelcontextprotocol/sdk/server/index.js").Server<{ method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; } | undefined; }, { method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; } | undefined; }, { [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; }>; export {}; //# sourceMappingURL=smithery.d.ts.map