UNPKG

@l4t/mcp-ai

Version:

A set of tools for making integration and aggregation of MCP servers extremely easy.

46 lines (45 loc) 1.35 kB
import { SimpleServerConfig } from './types.js'; export declare const create: (config: SimpleServerConfig) => { getFormattedTools: () => (string | Record<string, import("zod").ZodType<any, import("zod").ZodTypeDef, any>> | ((input: any) => Promise<{ [x: string]: unknown; content: ({ [x: string]: unknown; type: "text"; text: string; } | { [x: string]: unknown; type: "image"; data: string; mimeType: string; } | { [x: string]: unknown; type: "audio"; data: string; mimeType: string; } | { [x: string]: unknown; type: "resource"; resource: { [x: string]: unknown; text: string; uri: string; mimeType?: string | undefined; } | { [x: string]: unknown; uri: string; blob: string; mimeType?: string | undefined; }; })[]; _meta?: { [x: string]: unknown; } | undefined; isError?: boolean | undefined; } | { content: { type: string; text: string; }[]; }>))[][]; validateConfig: () => void; };