Configuration for a URL-based MCP server.
This is used for remote MCP servers that are accessed via HTTP/HTTPS (SSE) or WebSocket.
Remarks
The headers field provides a simple way to add authorization headers.
However, it will be overridden if transport-specific options (streamableHTTPOptions or sseOptions)
specify their own headers in requestInit.
Configuration for a URL-based MCP server. This is used for remote MCP servers that are accessed via HTTP/HTTPS (SSE) or WebSocket.
Remarks
The
headers
field provides a simple way to add authorization headers. However, it will be overridden if transport-specific options (streamableHTTPOptions or sseOptions) specify their own headers in requestInit.