The canonical resource indicator (RFC 8707) for an MCP server: the endpoint
URL with a lowercased scheme+authority, any fragment dropped, and a single
trailing slash stripped. The MCP "Canonical Server URI" rules prefer the
no-trailing-slash form. ASCII case is folded in place (rather than via
toLower) to keep this pure nothrow.
The canonical resource indicator (RFC 8707) for an MCP server: the endpoint URL with a lowercased scheme+authority, any fragment dropped, and a single trailing slash stripped. The MCP "Canonical Server URI" rules prefer the no-trailing-slash form. ASCII case is folded in place (rather than via toLower) to keep this pure nothrow.