Rate this page:

MCPServerConnectionConfig

MCP server connection configuration.

Props

clientName
Copy URL
clientName: 

string

ClientName and ClientVersion identify this MCP client in the protocol handshake.

clientVersion
Copy URL
clientVersion: 

string

ClientVersion identify this MCP client in the protocol handshake.

endpoint
Copy URL
endpoint: 

string

Endpoint is the server URL for "http" or "sse" transport.

headers
Copy URL
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
Copy URL
transport: 

string

Transport is "http", or "sse".

Rate this page: