Repository navigation
docs(unstable-v2): word Icon.src as MCP does - #2948
Merged
Merged
Conversation
The `Icon.src` description required senders to use an `https:` or `data:` URI. MCP's `Icon.src` allows an HTTP or HTTPS URL or a `data:` URI, and puts the checks on the consumer. The content page says Agents can forward MCP content unchanged, so a valid MCP `resource_link` with an `http:` icon broke the ACP description. Use MCP's sentence for the sender. The Client rule stays as the security page has it, with the same keywords: accept only `https:` and `data:`, fetch without credentials, and do not follow redirects that change the scheme or origin.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
Icon.srcschema description said the value "MUST be anhttps:ordata:URI". MCP has no such sender rule. ItsIcon.srcreads:The content page says ACP's
ContentBlockis a superset of MCP's, "so Agents can forward content from MCP tool outputs unchanged". An Agent that forwards a valid MCPresource_linkwith anhttp:icon would have broken the ACP description.Changes
Icon.srcdescription in the v2 schema: uses MCP's sentence for the sender, with the schema and the schema reference pages regenerated.https:anddata:URIs, MUST fetch without credentials, and MUST NOT follow redirects that change the scheme or origin.No page changes. The security page already has the Client rule.
For implementers
http:source. A conforming Client does not fetch it, so the icon is not shown.Checks
cargo fmt, Prettier and the spell check pass.