Icon
An optionally sized icon that can be displayed in a user interface.
Icons help clients provide visual branding and identification for MCP implementations.
Security considerations:
Consumers SHOULD ensure URLs serving icons are from the same domain as the client/server or a trusted domain to prevent malicious content.
Consumers SHOULD take appropriate precautions when rendering SVGs as they can contain executable JavaScript. Consider sanitizing SVG content or rendering in isolated contexts.
Constructors
Properties
Optional specifier for the theme this icon is designed for. Theme.Light indicates the icon is designed for a light background, Theme.Dark indicates the icon is designed for a dark background. If not provided, the client should assume the icon can be used with any theme.