export type McpRemoteConfig = {
/**
* Type of MCP server connection
*/
type: "remote"
/**
* URL of the remote MCP server
*/
url: string
/**
* Explicit transport; omitted tries HTTP then SSE
*/
transport?: "http" | "sse"
/**
* Enable or disable the MCP server on startup
*/
enabled?: boolean
/**
* Headers to send with the request
*/
headers?: {
[key: string]: string
}
/**
* OAuth authentication configuration for the MCP server. Set to false to disable OAuth auto-detection.
*/
oauth?: McpOAuthConfig | false
/**
* Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified.
*/
timeout?: number
}