DocsCommonmcpMCPSSEServerConfig
Package: @hexos/common

Configuration for an MCP server communicating via HTTP Server-Sent Events.

Connects to a remote MCP server over HTTP. Supports custom headers for authentication (e.g., Bearer tokens). Suitable for shared or cloud-hosted MCP servers.

Related: MCPServerConfigBase provides shared settings, MCPStdioServerConfig is the alternative for local servers.

interface MCPSSEServerConfig extends MCPServerConfigBase {
    transport: 'sse';
    url: string;
    headers?: Record<string, string>;
    timeout?: number;
}

transport

'sse'

url

string

headers

Record

timeout

number