Skip to content
MCP server

selenium-mcp-server

MCP server giving AI assistants browser automation through Selenium Chrome control

selenium-mcp-server is an open-source MCP server for browser automation. It is available on CLI, Linux, macOS, Windows and API.

Pricing
Open source
Platforms
CLI, Linux, macOS
What it can do
Can change data (1 tool)
GitHub stars
10
Last commit

Similar MCP servers

About selenium-mcp-server

Exposes a Chrome browser to AI assistants over the Model Context Protocol, so a client can open pages, click and type into elements, read console and network logs, and capture screenshots. It attaches to an existing Chrome started with remote debugging or launches a new one on its own.

The server ships a compact default profile with twelve tools that share one browser session and an active tab, plus a legacy profile that keeps the original 24 tool names for older clients. Element lookup works by XPath, CSS, text, attributes, or iframe targeting, and results come back as references that can be reused for clicks and input.

It suits developers and QA engineers who want an assistant to drive a real browser for testing, scraping, or debugging front-end behaviour. Installation is via pip or from source, and it requires Python 3.10 or newer and a local Chrome install.

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 8 tools changes data; 4 names don't say.

From the server's own tool labels and tool names; not verified by us.

navigate
Navigate to a specified URL with Chrome browser
take_screenshot
Take a screenshot of the active tab
record_video
Start or stop recording a tab as an MP4
request_headers
Set, list or clear headers on a tab's matching requests
get_console_logsName suggests: reads
Read and consume browser console logs with optional level filtering
get_network_logsName suggests: reads
Read performance logs as network events with optional filtering
run_javascript_in_consoleName suggests: changes
Execute JavaScript in the page
local_storage_read_allName suggests: reads
Read all key-value pairs from browser local storage

What it does

Compact tool profile
A twelve-tool default surface keeps the tool list small, with a legacy profile available for existing clients.
Element querying and interaction
Find elements by XPath, CSS, text or attributes, then click, type, hover or upload through stable references.
Browser log access
Read console output and network requests with filtering, cursors and optional redaction of sensitive values.
Tab and screenshot control
List, open, switch and close tabs, and save viewport, full-page or element screenshots as PNG files.
Request header injection
Add headers such as a debug flag to requests from one tab that match explicit URL patterns.
Chrome session attachment
Connect to a running Chrome via remote debugging or let the server start a new instance.

Good for

  • Letting an AI assistant walk through a web app to reproduce a front-end bug
  • Automating form filling and navigation during manual-style QA checks
  • Capturing screenshots of pages or components for review
  • Inspecting console errors and network responses while debugging a page
  • Running JavaScript in a live page and reading back its results

Pricing

Open source

selenium-mcp-server FAQ

How do I install the server?

Install the mcp-server-selenium package with pip or uv, or clone the repository and run it from source with uv sync.

What does selenium-mcp-server need on the machine?

Python 3.10 or higher and a Chrome browser installed. ffmpeg is needed only for the address header in video recording.

Which profile should I use?

The default compact profile is recommended; pass --tool-profile legacy only if a client requires the original 24 tool names.

Can selenium-mcp-server run headless or in the background?

The README describes attaching to a Chrome instance with remote debugging enabled or letting the server start one, and it keeps focus behaviour details for Linux X11.

Is selenium-mcp-server free?

Yes. selenium-mcp-server is open source, so you can use and self-host it for free.

What are the best alternatives to selenium-mcp-server?

The closest alternatives to selenium-mcp-server are selenium-mcp, Selenium MCP, Selenium MCP, Selenium Webdriver MCP and Selenium AI Agent.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers