Skip to content

docs(unstable-v2): word Icon.src as MCP does - #2948

Merged
benbrandt merged 1 commit into
mainfrom
docs/v2-icon-src-follow-mcp
Nov 20, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/v2-icon-src-follow-mcp

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

The Icon.src schema description said the value "MUST be an https: or data: URI". MCP has no such sender rule. Its Icon.src reads:

A standard URI pointing to an icon resource. May be an HTTP/HTTPS URL or a data: URI with Base64-encoded image data.

The content page says ACP's ContentBlock is a superset of MCP's, "so Agents can forward content from MCP tool outputs unchanged". An Agent that forwards a valid MCP resource_link with an http: icon would have broken the ACP description.

Changes

  • Icon.src description in the v2 schema: uses MCP's sentence for the sender, with the schema and the schema reference pages regenerated.
  • The same description restated the Client rule without keywords ("Clients reject other schemes…"). It now uses the keywords of the security page: Clients MUST accept only https: and data: 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

  • An Agent can forward an icon with an http: source. A conforming Client does not fetch it, so the icon is not shown.
  • Clients need no change.

Checks

  • The tests, cargo fmt, Prettier and the spell check pass.
  • Regenerating the schema a second time gives no diff.

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.
@benbrandt
benbrandt requested a review from a team as a code owner November 20, 2026 20:08
@benbrandt
benbrandt merged commit 11dfc0b into main Nov 20, 2026
15 checks passed
@benbrandt
benbrandt deleted the docs/v2-icon-src-follow-mcp branch November 20, 2026 20:56
@acp-release-bot acp-release-bot Bot mentioned this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant