Exception: MCPClient::Errors::ModernServerError

Inherits:
ConnectionError show all
Defined in:
lib/mcp_client/errors.rb

Overview

Raised when a server/discover probe identified the peer as a modern (2026-07-28+) MCP server that this client cannot complete a connection with — an incompatible version list, or a modern protocol error the client cannot correct. A subclass of ConnectionError so existing rescues keep working, but the era is settled: MCPClient's transport detector re-raises it instead of falling back to the legacy SSE or HTTP+POST transports, which cannot do better against a modern server.

Method Summary

Methods inherited from MCPError

#era_inconclusive?