import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { registerGenerateReactHookTool } from './generateReactHook.js';
import { registerAddReactRouteTool } from './addReactRoute.js';
import { registerRunReactTestsTool } from './runReactTests.js';
import { registerAnalyzeReactComponentTool } from './analyzeComponent.js';
import { registerGenerateNextLayoutTool, registerGenerateNextPageTool } from './generateNextFiles.js';

export function registerReactTools(server: McpServer): void {
  registerGenerateReactHookTool(server);
  registerAddReactRouteTool(server);
  registerRunReactTestsTool(server);
  registerAnalyzeReactComponentTool(server);
  registerGenerateNextPageTool(server);
  registerGenerateNextLayoutTool(server);
}
