mcp-cisco-support
Version:
MCP server for Cisco Support APIs including Bug Search and future tools
69 lines • 2.25 kB
TypeScript
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
import { Prompt, PromptMessage } from '@modelcontextprotocol/sdk/types.js';
import { ApiRegistry, SupportedAPI } from './apis/index.js';
import { ApiResponse } from './utils/formatting.js';
import { setLogging, logger } from './utils/logger.js';
declare let apiRegistry: ApiRegistry;
declare let ENABLED_APIS: SupportedAPI[];
export declare function getAvailablePrompts(): Prompt[];
export declare function generatePrompt(name: string, args: Record<string, any>): PromptMessage[];
export declare function createMCPServer(): Server;
export declare const mcpServer: Server<{
method: string;
params?: {
[x: string]: unknown;
_meta?: {
[x: string]: unknown;
progressToken?: string | number | undefined;
} | undefined;
} | undefined;
}, {
method: string;
params?: {
[x: string]: unknown;
_meta?: {
[x: string]: unknown;
} | undefined;
} | undefined;
}, {
[x: string]: unknown;
_meta?: {
[x: string]: unknown;
} | undefined;
}>;
export { setLogging, logger, apiRegistry, ENABLED_APIS };
export declare function getAvailableTools(): {
[x: string]: unknown;
name: string;
inputSchema: {
[x: string]: unknown;
type: "object";
properties?: {
[x: string]: unknown;
} | undefined;
required?: string[] | undefined;
};
title?: string | undefined;
description?: string | undefined;
outputSchema?: {
[x: string]: unknown;
type: "object";
properties?: {
[x: string]: unknown;
} | undefined;
required?: string[] | undefined;
} | undefined;
annotations?: {
[x: string]: unknown;
title?: string | undefined;
readOnlyHint?: boolean | undefined;
destructiveHint?: boolean | undefined;
idempotentHint?: boolean | undefined;
openWorldHint?: boolean | undefined;
} | undefined;
_meta?: {
[x: string]: unknown;
} | undefined;
}[];
export declare function executeTool(name: string, args: Record<string, any>): Promise<ApiResponse>;
//# sourceMappingURL=mcp-server.d.ts.map