MCPServerConnectionConfig
MCP server connection configuration.
Props
clientName
clientName: string
ClientName and ClientVersion identify this MCP client in the protocol handshake.
clientVersion
clientVersion: string
ClientVersion identify this MCP client in the protocol handshake.
endpoint
endpoint: string
Endpoint is the server URL for "http" or "sse" transport.
headers
headers: Object
Headers to send to the MCP server on HTTP/SSE requests (e.g. Authorization, API keys). You can use it to pass authentication headers to the MCP server.
transport
transport: string
Transport is "http", or "sse".