Skip to content

Commit 9ee029c

Browse files
authored
Merge pull request modelcontextprotocol#758 from modelcontextprotocol/localden/rfc8707
chore: Follow-up on `RFC8707` in authorization.mdx
2 parents 20a951a + 6834a92 commit 9ee029c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

docs/specification/draft/basic/authorization.mdx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -204,23 +204,16 @@ to explicitly specify the target resource for which the token is being requested
204204

205205
For the purposes of this specification, the canonical URI of an MCP server is defined as the resource identifier as specified in
206206
[RFC 8707 Section 2](https://www.rfc-editor.org/rfc/rfc8707.html#section-2) and aligns with the `resource` parameter in
207-
[RFC 9728](https://datatracker.ietf.org/doc/html/rfc9728). This URI:
208-
209-
1. **MUST** be an absolute URI, as specified by [Section 4.3 of RFC 3986](https://www.rfc-editor.org/rfc/rfc3986#section-4.3).
210-
1. **MUST** include the fully qualified domain name (FQDN) of the server.
211-
1. **MUST** include any non-default port if applicable (e.g., `https://mcp.example.com:8443`).
212-
1. **MUST NOT** include a fragment component.
213-
1. **SHOULD** use lowercase for the scheme and host components as per [RFC 3986 Section 6.2.2.1](https://www.rfc-editor.org/rfc/rfc3986#section-6.2.2.1), which defines this as the canonical form for comparison purposes.
214-
1. **SHOULD NOT** include a query component unless necessary for MCP server identification.
215-
1. **SHOULD NOT** include path components beyond what is necessary to uniquely identify the MCP server.
207+
[RFC 9728](https://datatracker.ietf.org/doc/html/rfc9728).
216208

217209
MCP clients **SHOULD** provide the most specific URI that they can for the MCP server they intend to access, following the guidance in [RFC 8707](https://www.rfc-editor.org/rfc/rfc8707). While the canonical form uses lowercase scheme and host components, implementations **SHOULD** accept uppercase scheme and host components for robustness and interoperability.
218210

219211
Examples of valid canonical URIs:
220212

213+
- `https://mcp.example.com/mcp`
221214
- `https://mcp.example.com`
222215
- `https://mcp.example.com:8443`
223-
- `https://mcp.example.com/server` (when path component is necessary to identify individual MCP server)
216+
- `https://mcp.example.com/server/mcp` (when path component is necessary to identify individual MCP server)
224217

225218
Examples of invalid canonical URIs:
226219

0 commit comments

Comments
 (0)