Skip to content

Conversation

@Vijaydaswani
Copy link
Contributor

@Vijaydaswani Vijaydaswani commented Dec 11, 2025

Summary

This PR adds support for the theme property in MCP icons, aligning the Inspector with the official Model Context Protocol icon specification.

What’s Updated

Extended the Icon type to include theme?: string as defined in the MCP Icons spec.

Updated components (PromptsTab, IconDisplay, and others) to correctly preserve and pass the theme field through the UI.

Why

The MCP spec includes the theme field in the icon schema, but the Inspector previously omitted it, causing theming data to be dropped.
This update ensures full spec compliance and prepares the Inspector for any future UI features that rely on icon theming.

Related Issue

Closes #965

@olaservo olaservo merged commit bce61b2 into modelcontextprotocol:main Dec 12, 2025
5 checks passed
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.

Missing support for icon theme

3 participants