Skip to content
MCP server

Selenium AI Agent

Selenium MCP: AI test generation and self-healing for pytest, Java, C# and WebdriverIO…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
3.3.5
Listing updated
1 day ago

Similar MCP servers

About Selenium AI Agent

Selenium AI Agent is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.

Selenium MCP: AI test generation and self-healing for pytest, Java, C# and WebdriverIO, plus Grid

Install

Run in a terminal

claude mcp add selenium-ai-agent -- npx -y selenium-ai-agent

Add to claude_desktop_config.json

{
  "mcpServers": {
    "selenium-ai-agent": {
      "command": "npx",
      "args": [
        "-y",
        "selenium-ai-agent"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "selenium-ai-agent": {
      "command": "npx",
      "args": [
        "-y",
        "selenium-ai-agent"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "selenium-ai-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "selenium-ai-agent"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "selenium-ai-agent": {
      "command": "npx",
      "args": [
        "-y",
        "selenium-ai-agent"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "selenium-ai-agent": {
      "command": "npx",
      "args": [
        "-y",
        "selenium-ai-agent"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SELENIUM_HEADLESSRun the browser in headless mode
  • SELENIUM_MCP_TOOLSETSTool groups to load: core, recording, planner, generator, healer, analyzer, grid or all
  • SELENIUM_GRID_URLSelenium Grid hub URL, e.g. http://localhost:4444 (enables parallel execution)
  • SELENIUM_ATTACH_CDPAttach to an already running Chrome at host:port, e.g. 127.0.0.1:9222
  • SELENIUM_MCP_OUTPUT_MODEstdout returns data to the LLM; file saves screenshots and outputs to disk

Pricing

Open source

Selenium AI Agent FAQ

Is Selenium AI Agent free?

Yes. Selenium AI Agent is open source, so you can use and self-host it for free.

How do I add Selenium AI Agent to Claude Code?

Run this command in your terminal: claude mcp add selenium-ai-agent -- npx -y selenium-ai-agent

What are the best alternatives to Selenium AI Agent?

The closest alternatives to Selenium AI Agent are Browser Use, Scrapling MCP Server, Chrome DevTools MCP, Oya Browser and playwright_mcp.

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers