Selenium MCP: AI test generation and self-healing for pytest, Java, C# and WebdriverIO, plus Grid
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add selenium-ai-agent \ -- npx -y [email protected]
Environment
SELENIUM_HEADLESS (optional, not in the config above): Run the browser in headless modeSELENIUM_MCP_TOOLSETS (optional, not in the config above): Tool groups to load: core, recording, planner, generator, healer, analyzer, grid or allSELENIUM_GRID_URL (optional, not in the config above): Selenium Grid hub URL, e.g. http://localhost:4444 (enables parallel execution)SELENIUM_ATTACH_CDP (optional, not in the config above): Attach to an already running Chrome at host:port, e.g. 127.0.0.1:9222SELENIUM_MCP_OUTPUT_MODE (optional, not in the config above): stdout returns data to the LLM; file saves screenshots and outputs to diskWe don't run packages, so we can't list this server's tools.