Build the HTTP request headers for an MCP JSON-RPC POST. Runtime headers (Authorization, Mcp-Session-Id) always override any same-named keys in customHeaders from the constructor.
Authorization
Mcp-Session-Id
customHeaders
Build the HTTP request headers for an MCP JSON-RPC POST. Runtime headers (
Authorization,Mcp-Session-Id) always override any same-named keys incustomHeadersfrom the constructor.