diff --git a/Models/McpManifest.cs b/Models/McpManifest.cs index 5fc5c1f..648cf97 100644 --- a/Models/McpManifest.cs +++ b/Models/McpManifest.cs @@ -98,6 +98,9 @@ public sealed class McpManifestServer [JsonPropertyName("license")] public string? License { get; set; } + [JsonPropertyName("icon")] + public string? Icon { get; set; } + [JsonPropertyName("keywords")] public List? Keywords { get; set; } } @@ -151,6 +154,26 @@ public sealed class McpManifestConfig [JsonPropertyName("prompt")] public string? Prompt { get; set; } + + [JsonPropertyName("options")] + public List? Options { get; set; } + + [JsonPropertyName("options_from")] + public McpManifestOptionsFrom? OptionsFrom { get; set; } +} + +/// +/// Dynamically resolve available config values from a local file. +/// +public class McpManifestOptionsFrom +{ + /// Path to a local JSON file. ~ is expanded to the user's home directory. + [JsonPropertyName("file")] + public string File { get; set; } = ""; + + /// JSONPath expression to extract values from the file. + [JsonPropertyName("path")] + public string Path { get; set; } = ""; } ///