mcp-cisco-support
Version:
MCP server for Cisco Support APIs including Bug Search and future tools
21 lines • 867 B
TypeScript
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { ToolArgs } from '../utils/validation.js';
import { ApiResponse } from '../utils/formatting.js';
export type SupportedAPI = 'psirt' | 'bug' | 'case' | 'eox' | 'product' | 'serial' | 'rma' | 'software';
export declare const SUPPORTED_APIS: SupportedAPI[];
export declare class ApiRegistry {
private apis;
private enabledApis;
constructor(enabledApis: SupportedAPI[]);
private initializeApis;
getAvailableTools(): Tool[];
executeTool(name: string, args: ToolArgs): Promise<{
result: ApiResponse;
apiName: string;
}>;
getEnabledApis(): SupportedAPI[];
isApiEnabled(apiName: SupportedAPI): boolean;
}
export declare function getEnabledAPIs(): SupportedAPI[];
export declare function createApiRegistry(): ApiRegistry;
//# sourceMappingURL=index.d.ts.map