An icons array is non-empty, and each Icon has a src and only the MCP Icon properties mimeType, sizes, and theme, with theme light or dark.
Requirement
Section titled “Requirement”icons is a non-empty array of MCP Icon objects with a src and only the properties MCP defines.
Details
Section titled “Details”Rule ID: mcp.icon.members
Owner: mcp
Surface: Icon
Kind: structural
Requirement level: must
Protocol versions: independent of the MCP protocol version
Document schema locations: #/$defs/icons, #/$defs/icon
Status: internal · Enforcement: internal
Required by
Section titled “Required by”- MCP Description 0.9.0, Appendix A
- Appendix A: Icon Object: req-icon-fields
-
- Serialization: req-serialization-value-formats
Based on
Section titled “Based on”- Tier 1 — MCP schema.ts and normative specification text: MCP 2025-11-25 and 2026-07-28 schema.ts, interface Icon
Examples
Section titled “Examples”Invalid example
Section titled “Invalid example”Source: expected-invalid/empty-ordinary-nested-collections.json · Selected: /info/icons
[]Rule Source Code
Section titled “Rule Source Code”annotations.yaml at immutable tag v0.9.0-rc.3.