Skip to content

Document MCP icon support#11240

Open
pushpak1300 wants to merge 2 commits into
13.xfrom
document-mcp-icons
Open

Document MCP icon support#11240
pushpak1300 wants to merge 2 commits into
13.xfrom
document-mcp-icons

Conversation

@pushpak1300

Copy link
Copy Markdown
Member

Documents the icon support added in laravel/mcp#219 (MCP spec 2025-11-25), which lets clients display icons for a server, tool, resource, or prompt.

Adds a short Icons section covering the repeatable #[Icon] attribute (with mimeType, sizes, and light/dark IconTheme variants), the programmatic icons() method via Schema\Icon::from(), and how paths resolve (URI schemes used as-is, relative paths through asset()).

@pushpak1300 pushpak1300 marked this pull request as ready for review June 16, 2026 20:20
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