# McpProviderIcon

Kind: Class  
Namespace: `Sisk.ModelContextProtocol`  
Assembly: `Sisk.ModelContextProtocol.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.html

Represents an icon that clients can display for an MCP server.

```csharp
public sealed class McpProviderIcon : IJsonSerializable<McpProviderIcon>
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[McpProviderIcon](https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.md)

#### Implements

IJsonSerializable<McpProviderIcon\>

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring), 
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)), 
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)), 
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), 
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

## Constructors

| Name | Description |
| --- | --- |
| [McpProviderIcon\(string, string?, IEnumerable<McpProviderIconSize\>?, McpProviderIconTheme?\)](https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.-ctor.md#Sisk_ModelContextProtocol_McpProviderIcon__ctor_System_String_System_String_System_Collections_Generic_IEnumerable_Sisk_ModelContextProtocol_McpProviderIconSize__System_Nullable_Sisk_ModelContextProtocol_McpProviderIconTheme__) | Creates an icon with the specified source and optional display metadata. |

## Properties

| Name | Description |
| --- | --- |
| [MimeType](https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.MimeType.md#Sisk_ModelContextProtocol_McpProviderIcon_MimeType) | Gets the MIME type of the icon, if explicitly specified. |
| [Sizes](https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.Sizes.md#Sisk_ModelContextProtocol_McpProviderIcon_Sizes) | Gets the sizes at which the icon can be displayed. |
| [SourceUrl](https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.SourceUrl.md#Sisk_ModelContextProtocol_McpProviderIcon_SourceUrl) | Gets the URI of the icon resource. |
| [Theme](https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.Theme.md#Sisk_ModelContextProtocol_McpProviderIcon_Theme) | Gets the color theme for which the icon is intended. |

## Methods

| Name | Description |
| --- | --- |
| [SerializeIntoJson\(McpProviderIcon, JsonOptions\)](https://docs.sisk-framework.org/api/Sisk.ModelContextProtocol.McpProviderIcon.SerializeIntoJson.md#Sisk_ModelContextProtocol_McpProviderIcon_SerializeIntoJson_Sisk_ModelContextProtocol_McpProviderIcon_LightJson_JsonOptions_) | Serializes an MCP provider icon into its JSON representation. |
