bottlenecks-mcp-server
Version:
Model Context Protocol server for Bottlenecks database - enables AI agents like Claude to interact with bottleneck data
56 lines • 1.26 kB
TypeScript
/**
* 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;
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;
apiBaseUrl: string;
toolCount: number;
categories: {
[k: string]: 2 | 3 | 5 | 4;
};
};
}
/**
* 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