MCP::Client::SseClientTransport
Inherits MCP::Shared::AbstractTransport < MCP::Shared::Transport < Reference < Object
Constructors
Instance methods
endpoint
Sourcesend(message : MCP::Protocol::JSONRPCMessage)
Send a client-to-server message via HTTP POST.
The POST URL is either the extracted endpoint (from an event: endpoint
frame) or the original GET URL.
start
Start the SSE connection. Spawns a long-lived fiber that reads the event stream and, when the stream ends, reconnects with exponential backoff.