Skip to content

docs(schema): adopt MCP's icon fetch rules - #2728

Merged
benbrandt merged 1 commit into
mainfrom
docs/icon-fetch-rules
Oct 30, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/icon-fetch-rules

Conversation

@benbrandt

Copy link
Copy Markdown
Member

ACP's URI rules were SHOULD-level, didn't say which fetches may be automatic, had no redirect rule, and implicitly allowed file: icons inside the root set. MCP 2026-07-28 has MUSTs for icons.

On v2 security (stable and draft) and the Icon.src Rust/schema doc, adopting MCP's rules:

  • Icon src is the only URI a Client may fetch without user action.
  • Icons: only https: and data: (other schemes, including file:, are rejected), no credentials, no scheme- or origin-changing redirects, checks on every redirect hop, and PNG/JPEG support for Clients that display icons.
  • The file: root-set bullet now excludes icons.

v2 only.

@benbrandt
benbrandt requested a review from a team as a code owner October 30, 2026 11:26
@benbrandt
benbrandt enabled auto-merge (squash) October 30, 2026 11:31
@benbrandt
benbrandt merged commit 0676ed0 into main Oct 30, 2026
14 checks passed
@benbrandt
benbrandt deleted the docs/icon-fetch-rules branch October 30, 2026 11:32
@acp-release-bot acp-release-bot Bot mentioned this pull request Oct 30, 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