From b23eb815d22513fcd413fbc934783e5e580114f8 Mon Sep 17 00:00:00 2001 From: logikonline Date: Sat, 4 Apr 2026 18:57:21 -0400 Subject: [PATCH] feat(types): add icon, options, and options_from to TypeScript types Add icon field to McpManifestServer. Add options and options_from fields to McpManifestConfig. Add McpManifestOptionsFrom interface with file and path properties for JSONPath-based dynamic options --- src/types.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/types.ts b/src/types.ts index a2a8e85..66037f4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -26,6 +26,7 @@ export interface McpManifestServer { homepage?: string; repository?: string; license?: string; + icon?: string; keywords?: string[]; } @@ -52,6 +53,15 @@ export interface McpManifestConfig { env_var?: string; arg?: string; prompt?: string; + options?: string[]; + options_from?: McpManifestOptionsFrom; +} + +export interface McpManifestOptionsFrom { + /** Path to a local JSON file. ~ is expanded to the user's home directory. */ + file: string; + /** JSONPath expression to extract values from the file. */ + path: string; } /**