UNPKG

@toolprint/hypertool-mcp

Version:

HyperTool MCP proxy server for routing requests between clients and multiple underlying MCP servers

48 lines • 1.4 kB
/** * CLI command for showing HyperTool configuration overview */ import { Command } from "commander"; import { ConfigurationManager } from "../index.js"; export interface ServerInfo { name: string; type: string; details: string; source?: string; healthy: boolean; warning?: string; isDevelopment?: boolean; developmentPath?: string; } export interface ApplicationStatus { name: string; installed: boolean; configPath?: string; hasConfig?: boolean; isDevelopmentBuild?: boolean; developmentPath?: string; mcpConfigPath?: string; } export interface ToolDetail { namespacedName: string; serverName: string; toolName: string; description?: string; parameters?: string[]; } export interface ToolsetInfo { name: string; description?: string; toolCount: number; autoGenerated: boolean; apps: string[]; toolDetails?: ToolDetail[]; serverGroups?: Record<string, ToolDetail[]>; } export declare function createShowCommand(): Command; export declare function getMcpServers(basePath: string, linkedApp?: string): Promise<{ servers: ServerInfo[]; configPath: string; }>; export declare function getApplicationStatus(configManager: ConfigurationManager): Promise<ApplicationStatus[]>; export declare function getToolsets(basePath: string): Promise<ToolsetInfo[]>; //# sourceMappingURL=show.d.ts.map