14 public string?
Version {
get;
internal set; }
46 public static bool TryParse(Dictionary<string, object> Generic,
51 if (Generic.TryGetValue(
"version", out
object? Obj))
52 Result.Version = Obj as string;
54 if (Generic.TryGetValue(
"description", out Obj))
55 Result.Description = Obj as string;
57 if (Generic.TryGetValue(
"websiteUrl", out Obj) &&
59 Uri.TryCreate(
WebsiteUrl, UriKind.Absolute, out Uri WebsiteUrlUri))
61 Result.WebsiteUrl = WebsiteUrlUri;
68 Result.Icons = IconsParsed;
Describes the MCP implementation.
string? Version
Version of the implementation, if available.
static bool TryParse(Dictionary< string, object > Generic, out Implementation Typed)
Tries to parse a generic structure into a typed structure.
Uri? WebsiteUrl
An optional URL of the website for this implementation.
string? Description
An optional human-readable description of what this implementation does.
BaseMetadata? Metadata
Base metadata about the implementation, if available.
Base interface to add icons property.
static bool TryParse(Dictionary< string, object > Generic, out Icons Typed)
Tries to parse a generic structure into a typed structure.