ai-debug-local-mcp
Version:
🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh
42 lines • 1.31 kB
TypeScript
/**
* HTTP MCP Transport - V2 Stateless Architecture
*
* Handles HTTP-based Model Context Protocol communication for AI-Debug V2
* Provides reliable, stateless communication with automatic error recovery
*/
import { EventEmitter } from 'events';
export interface HttpTransportConfig {
port: number;
host?: string;
timeout?: number;
maxConnections?: number;
}
export declare class HttpMcpTransport extends EventEmitter {
private server;
private config;
private isRunning;
private activeConnections;
constructor(port: number, config?: Partial<HttpTransportConfig>);
private setupServerHandlers;
private handleRequest;
private handleHealthCheck;
private handleStatusRequest;
private handleToolsRequest;
private handleToolExecution;
private sendJSON;
private sendError;
private handleToolSuggestion;
private handleToolDiscovery;
private handleMCPRoot;
private handleMCPWellKnown;
private handleDynamicClientRegistration;
private handleMCPEndpoint;
private convertParametersToSchema;
private handleAIGuide;
private sendNotFound;
start(): Promise<void>;
stop(): Promise<void>;
getConnectionCount(): number;
isTransportRunning(): boolean;
}
//# sourceMappingURL=http-mcp-transport.d.ts.map