UNPKG

mcp-experts

Version:

MCP server providing multiple AI experts with specialized knowledge

91 lines 2.54 kB
import { z } from 'zod'; export declare const ProviderConfigSchema: z.ZodObject<{ api_key: z.ZodOptional<z.ZodString>; base_url: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { api_key?: string | undefined; base_url?: string | undefined; }, { api_key?: string | undefined; base_url?: string | undefined; }>; export declare const ExpertConfigSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; model: z.ZodString; system_prompt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; description: string; model: string; system_prompt: string; }, { name: string; description: string; model: string; system_prompt: string; }>; export declare const ConfigSchema: z.ZodObject<{ providers: z.ZodRecord<z.ZodString, z.ZodObject<{ api_key: z.ZodOptional<z.ZodString>; base_url: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { api_key?: string | undefined; base_url?: string | undefined; }, { api_key?: string | undefined; base_url?: string | undefined; }>>; experts: z.ZodRecord<z.ZodString, z.ZodObject<{ name: z.ZodString; description: z.ZodString; model: z.ZodString; system_prompt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; description: string; model: string; system_prompt: string; }, { name: string; description: string; model: string; system_prompt: string; }>>; }, "strip", z.ZodTypeAny, { providers: Record<string, { api_key?: string | undefined; base_url?: string | undefined; }>; experts: Record<string, { name: string; description: string; model: string; system_prompt: string; }>; }, { providers: Record<string, { api_key?: string | undefined; base_url?: string | undefined; }>; experts: Record<string, { name: string; description: string; model: string; system_prompt: string; }>; }>; export type ProviderConfig = z.infer<typeof ProviderConfigSchema>; export type ExpertConfig = z.infer<typeof ExpertConfigSchema>; export type Config = z.infer<typeof ConfigSchema>; export interface ConsultExpertRequest { problem: string; context?: string; images?: string[]; } export interface ExpertResponse { expert: string; response: string; reasoning?: string; } //# sourceMappingURL=types.d.ts.map