import { T as Tool, E as EADKAgent } from '../../types-Ks98Z0E_.js'; import 'zod'; /** * MCP Client Adapter * * Consume any MCP server as agent tools. * Google ADK / OpenAI / Vercel / Claude pattern. */ interface MCPServerConfig { /** MCP server URL or transport */ url: string; /** Server name */ name: string; /** Authentication headers */ headers?: Record; /** Tool filter (only expose these tools) */ toolFilter?: string[]; /** Timeout for tool calls */ timeoutMs?: number; } interface MCPToolDefinition { name: string; description: string; inputSchema: Record; } /** * MCP Client that discovers and wraps MCP server tools as EADK tools. */ declare class MCPClient { private config; private tools; constructor(config: MCPServerConfig); /** * Discover available tools from the MCP server. */ discover(): Promise; /** * Get EADK tools from discovered MCP tools. */ getTools(): Tool[]; /** * Call a specific MCP tool. */ callTool(name: string, args: unknown): Promise; private wrapMCPTool; } /** * MCP Server Adapter * * Expose EADK agents and tools as an MCP server. * Google ADK pattern — makes agents consumable by any MCP client. */ interface MCPServerOptions { /** Server name */ name: string; /** Server description */ description?: string; /** Agents to expose as tools */ agents?: EADKAgent[]; /** Additional tools to expose */ tools?: Tool[]; } interface MCPRequest { jsonrpc: '2.0'; method: string; params?: unknown; id?: string | number; } interface MCPResponse { jsonrpc: '2.0'; result?: unknown; error?: { code: number; message: string; }; id?: string | number; } /** * MCP Server that exposes EADK agents and tools. */ declare class MCPServer { private options; private tools; constructor(options: MCPServerOptions); /** * Handle an MCP JSON-RPC request. */ handleRequest(request: MCPRequest): Promise; } export { MCPClient, type MCPRequest, type MCPResponse, MCPServer, type MCPServerConfig, type MCPServerOptions, type MCPToolDefinition };