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
72 lines • 1.91 kB
TypeScript
import { LocalDebugEngine } from '../local-debug-engine.js';
import { Tool } from '@modelcontextprotocol/sdk/types.js';
import { ToolHandler } from './base-handler.js';
/**
* Handler for granular debug data access tools
* Provides explicit tools for console logs, network activity, etc.
* that AI agents commonly expect
*/
export declare class DebugDataHandler implements ToolHandler {
private localEngine;
private sessions;
name: string;
private handlers;
handle(toolName: string, args: any, sessions: Map<string, any>): Promise<any>;
tools: Tool[];
constructor(localEngine: LocalDebugEngine, sessions: Map<string, any>);
getConsoleLogs(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getNetworkActivity(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getErrors(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getPerformanceMetrics(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getDomSnapshot(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getLocalStorage(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
getCookies(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
searchLogs(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
listAvailableDebugData(args: any): Promise<{
content: {
type: string;
text: string;
}[];
}>;
}
//# sourceMappingURL=debug-data-handler.d.ts.map