MCP directory
SA

Selenium AI Agent

by github.com/learn-automated-testing · v3.8.0 · updated Nov 22, 2026

Selenium MCP: plan, generate and heal tests; pytest by default, any language; Selenium Grid

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • SELENIUM_HEADLESS

    Run the browser in headless mode

  • SELENIUM_MCP_TOOLSETS

    Tool groups to load: core, recording, planner, generator, healer, analyzer, grid or all

  • SELENIUM_GRID_URL

    Selenium Grid hub URL, e.g. http://localhost:4444 (enables parallel execution)

  • SELENIUM_ATTACH_CDP

    Attach to an already running Chrome at host:port, e.g. 127.0.0.1:9222

  • SELENIUM_MCP_OUTPUT_MODE

    stdout returns data to the LLM; file saves screenshots and outputs to disk

More MCP servers