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
This commit is contained in:
2026-04-04 18:57:21 -04:00
parent 0913230a9e
commit b23eb815d2

View File

@@ -26,6 +26,7 @@ export interface McpManifestServer {
homepage?: string; homepage?: string;
repository?: string; repository?: string;
license?: string; license?: string;
icon?: string;
keywords?: string[]; keywords?: string[];
} }
@@ -52,6 +53,15 @@ export interface McpManifestConfig {
env_var?: string; env_var?: string;
arg?: string; arg?: string;
prompt?: 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;
} }
/** /**