UNPKG

mcp-cisco-support

Version:

MCP server for Cisco Support APIs including Bug Search and future tools

25 lines 1.1 kB
import { Tool } from '@modelcontextprotocol/sdk/types.js'; import { ToolArgs } from '../utils/validation.js'; import { ApiResponse } from '../utils/formatting.js'; import { Server } from '@modelcontextprotocol/sdk/server/index.js'; export type SupportedAPI = 'psirt' | 'bug' | 'case' | 'eox' | 'product' | 'serial' | 'rma' | 'software' | 'enhanced_analysis' | 'smart_bonding' | 'sampling'; export declare const SUPPORTED_APIS: SupportedAPI[]; export declare class ApiRegistry { private apis; private enabledApis; private mcpServer?; constructor(enabledApis: SupportedAPI[], mcpServer?: Server); private initializeApis; getAvailableTools(): Tool[]; executeTool(name: string, args: ToolArgs, meta?: { progressToken?: string; }): Promise<{ result: ApiResponse; apiName: string; }>; getEnabledApis(): SupportedAPI[]; isApiEnabled(apiName: SupportedAPI): boolean; } export declare function getEnabledAPIs(): SupportedAPI[]; export declare function createApiRegistry(mcpServer?: Server): ApiRegistry; //# sourceMappingURL=index.d.ts.map