UNPKG

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

56 lines • 1.39 kB
/** * STDIO MCP Transport - V2 Native Implementation * * Direct stdio transport for V2 server, eliminating the need for bridges. * Provides native MCP protocol support over stdin/stdout for Claude Code compatibility. */ import { EventEmitter } from 'events'; export interface StdioTransportConfig { timeout?: number; bufferSize?: number; } export declare class StdioMcpTransport extends EventEmitter { private config; private isRunning; private rl?; private messageBuffer; private requestId; constructor(config?: StdioTransportConfig); /** * Start the stdio transport */ start(): Promise<void>; /** * Setup stdin/stdout handling for MCP protocol */ private setupStdioHandling; /** * Handle incoming MCP message */ private handleIncomingMessage; /** * Send response back via stdout */ sendResponse(response: any): void; /** * Setup error handling */ private setupErrorHandling; /** * Send notification (no response expected) */ sendNotification(method: string, params?: any): void; /** * Check if transport is running */ isActive(): boolean; /** * Stop the transport */ stop(): Promise<void>; /** * Get transport statistics */ getStats(): any; } //# sourceMappingURL=stdio-mcp-transport.d.ts.map