ActionController::MCPServer::Transport
Inherits Reference < Object
implements the Streamable HTTP transport, statelessly. Each POST is handled on its own, so the requests of a client can be served by any instance of the application.
2026-07-28 requests carry their protocol version and client capabilities in _meta,
earlier versions start with initialize and no session is created
Constants
methods that name a tool, prompt or resource in the Mcp-Name header
Constructors
endpoint: true serves the controller endpoint mounted at path
Instance methods
completes every open subscriptions/listen stream, i.e. when shutting down. Clients
listen again, to another instance
there are no event streams or sessions, so GET and DELETE aren't supported
OAuth 2.0 protected resource metadata, see MCPServer.resource_metadata
the server's Server Card,
public and cacheable so browser based clients and registries can fetch it before
connecting. OPTIONS answers CORS preflight requests