/** * Browser MCP Client for RecCall * Shared library for Perplexity and Sora browser extensions * Uses MCP SDK's StreamableHTTPClientTransport to connect to HTTP MCP server */ export interface MCPClientConfig { serverUrl?: string; timeout?: number; } export declare class BrowserMCPClient { private client; private transport; private serverUrl; private timeout; private connected; constructor(config?: MCPClientConfig); /** * Connect to MCP server */ connect(): Promise; /** * Disconnect from MCP server */ disconnect(): Promise; /** * Check if client is connected */ isConnected(): boolean; /** * Call an MCP tool */ callTool(name: string, args?: Record): Promise; /** * List available tools */ listTools(): Promise>; /** * Convenience method: Record a shortcut */ recordShortcut(shortcut: string, context: string): Promise; /** * Convenience method: Call a shortcut */ callShortcut(shortcut: string): Promise; /** * Convenience method: List shortcuts */ listShortcuts(): Promise; /** * Convenience method: Search shortcuts */ searchShortcuts(query: string): Promise; /** * Convenience method: Create a static context */ createContext(name: string, content: string, source: 'local' | 'global', options?: { tags?: string[]; category?: string; description?: string; }): Promise; /** * Convenience method: Get a context */ getContext(identifier: string): Promise; /** * Convenience method: Search contexts */ searchContexts(query: string, filters?: { source?: 'local' | 'global' | 'remote' | 'all'; type?: 'static' | 'dynamic' | 'hybrid' | 'all'; }): Promise; } //# sourceMappingURL=mcp-client.d.ts.map