Skip to content

Middleware

Everything under Quiote\Mcp\Middleware.

ClassDescription
McpAuthMiddlewareBearer-token auth for the MCP HTTP endpoint.
McpEndpointMiddlewareThe Streamable-HTTP transport: matches the configured mcp.path (default /mcp) — plus, when mcp.auth is 'oauth2', a GET to the RFC 9728 well-known metadata path, since that also has to reach McpServer::handleHttp() for the SDK’s own ProtectedResourceMetadataMiddleware (composed there) to serve it — and delegates everything else to the rest of the pipeline unchanged.