Public declaration syntax from forge-ts/packages/forge-mcp/src/client.ts Original source SHA-256: f32fd39732dd7f756230ceddd191b5de072ba572cda710369659a4858eecabac Function bodies and constant values are omitted. This is not the complete implementation. Source line 36 export interface McpClientConfig { /** The transport configuration. */ readonly transport: TransportConfig; /** Optional OAuth configuration for authenticated connections. */ readonly auth?: OAuthConfig; } Source line 60 export class McpClient { constructor(config: McpClientConfig); async connect(): Promise; capabilities(): McpCapabilities | undefined; async listTools(): Promise; async callTool(toolName: string, args: Record): Promise; async listResources(): Promise; async getResource(uri: string): Promise; async listPrompts(): Promise; async getPrompt(name: string, args?: Record): Promise; async disconnect(): Promise; get connected(): boolean; }