import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { registerBrowserNavigateTool } from './navigate.js';
import { registerBrowserScreenshotTool } from './screenshot.js';
import { registerBrowserConsoleLogsTool } from './consoleLogs.js';
import { registerBrowserInspectDomTool } from './inspectDom.js';
import { registerBrowserInteractTools } from './interact.js';
import { registerBrowserScreenshotBaselineTool } from './baseline.js';
import { registerBrowserVisualDiffTool } from './visualDiff.js';

export function registerBrowserTools(server: McpServer): void {
  registerBrowserNavigateTool(server);
  registerBrowserScreenshotTool(server);
  registerBrowserScreenshotBaselineTool(server);
  registerBrowserVisualDiffTool(server);
  registerBrowserConsoleLogsTool(server);
  registerBrowserInspectDomTool(server);
  registerBrowserInteractTools(server);
}

export { browserManager } from './browserManager.js';
