/** Options for {@link MCPServerStdio}. */ export type MCPServerStdioOptions = { /** Command-line arguments passed to the MCP server process. Default: `[]`. */ args?: string[] | null; /** Environment variables for the MCP server process. Default: `{}`. */ env?: Record | null; [key: string]: any; }; /** Options for {@link MCPServerHTTP}. */ export type MCPServerHTTPOptions = { /** HTTP headers sent with each request to the MCP server. Default: `{}`. */ headers?: Record | null; [key: string]: any; }; /** Configuration for a Model Context Protocol (MCP) server launched as a local subprocess over stdio. */ export type MCPServerStdio = { readonly type: 'stdio'; command: string; args: string[]; env: Record; }; /** * Describe an MCP server run as a local subprocess communicating over stdio. * @param command Executable to launch. */ export declare function MCPServerStdio(command: string, opts?: MCPServerStdioOptions): MCPServerStdio; /** Configuration for a Model Context Protocol (MCP) server reached over HTTP. */ export type MCPServerHTTP = { readonly type: 'http'; url: string; headers: Record; }; /** * Describe an MCP server reached over HTTP. * @param url Base URL of the MCP server. */ export declare function MCPServerHTTP(url: string, opts?: MCPServerHTTPOptions): MCPServerHTTP;