# Selenium AI Agent

> Selenium AI Agent is an open-source MCP server for browser automation. Selenium MCP: AI test generation and self-healing for pytest, Java, C# and WebdriverIO, plus Grid. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/learn-automated-testing/selenium_agent/tree/HEAD/selenium-mcp-server
- **MCP Registry name:** io.github.learn-automated-testing/selenium-ai-agent
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-18

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "selenium-ai-agent": {
      "command": "npx",
      "args": [
        "-y",
        "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.

## Alternatives

- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [playwright_mcp](https://ai-powered.com/mcp/playwright-mcp-3): playwright_mcp is an open-source MCP server for browser automation.
- [browsentic](https://ai-powered.com/mcp/browsentic-2): browsentic is an open-source MCP server for browser automation.
- [Turbo-Browser-MCP](https://ai-powered.com/mcp/turbo-browser-mcp): Turbo-Browser-MCP is an open-source MCP server for browser automation.
- [Mantis](https://ai-powered.com/mcp/mantis-2): Mantis is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/selenium-ai-agent
