UNPKG

bottlenecks-mcp-server

Version:

Model Context Protocol server for Bottlenecks database - enables AI agents like Claude to interact with bottleneck data

59 lines 1.36 kB
/** * MCP Server Implementation for Bottlenecks * Integrates with existing Vercel-deployed Next.js APIs */ import { MCPConfig } from './types/mcp.js'; /** * Bottlenecks MCP Server */ export declare class BottlenecksMCPServer { private server; private tools; private config; private updateCheck; constructor(config: MCPConfig); /** * Set up MCP request handlers */ private setupHandlers; /** * Update the API key for authenticated requests */ setApiKey(apiKey: string): void; /** * Start the MCP server */ start(): Promise<void>; /** * Stop the MCP server */ stop(): Promise<void>; /** * Get server status */ getStatus(): { name: string; version: string; updateAvailable: boolean; latestVersion: string | null; apiBaseUrl: string; toolCount: number; categories: { [k: string]: 1 | 2 | 3 | 4 | 5; }; }; } /** * Create and configure the MCP server */ export declare function createBottlenecksMCPServer(options?: { apiBaseUrl?: string; supabaseUrl?: string; supabaseKey?: string; defaultTimeout?: number; }): BottlenecksMCPServer; /** * Default export for easy importing */ export default BottlenecksMCPServer; //# sourceMappingURL=server.d.ts.map