Selenium AI MCP Server — Testing skill for Claude Code
AI-powered Selenium MCP Server built with Java 21, enabling AI agents like Codex, Claude, and Cursor to automate browsers, execute test scenarios, validate results, capture screenshots, and generate H.
How to install Selenium AI MCP Server
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Nayan76/selenium-ai-mcp-server and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Selenium AI MCP Server does
AI-powered Selenium MCP Server built with Java 21, enabling AI agents like Codex, Claude, and Cursor to automate browsers, execute test scenarios, validate results, capture screenshots, and generate HTML/JSON reports across Chrome, Firefox, and Edge.
Alternatives in Testing
- Playwright — Automate real browser interactions for navigation, forms, and scraping 14.6k ★
- Higgsfield Claude Skills — 19 Claude Code skills for Higgsfield AI — automate image generation, Seedance 2.0 video creation, and full UGC 329 ★
- Design Compare — Capture two websites with Playwright and produce a structured side-by-side design comparison — layout, color 309 ★
README
Selenium MCP Server
Control one Chrome, Firefox, or Edge session from an MCP client over stdio. The 28 tools share a fresh browser profile and run headlessly by default.
Build and run
Install JDK 21, Maven 3.9+, and the browser you intend to use. Selenium Manager resolves compatible drivers on first launch, which may require internet access and a writable cache. In offline environments, provision a compatible driver on PATH. Inspector 2.16.0 declares Node.js ^22.23.4, ^24.22.1 or >=26.12.1.
From the project directory, run:
mvn clean verify
$env:SELENIUM_ALLOWED_ORIGINS = 'https://example.com'
java -jar target/selenium-mcp.jar
The process waits for MCP messages on stdin. Configure your client to launch the Java command directly and pass the origin setting in its environment. Use an absolute JAR path when starting from another directory. Closing stdin ends the server. Logs go to stderr.
Verify with MCP Inspector
The included configuration starts the packaged server and permits the example origin. Run from the repository root:
npx --yes @modelcontextprotocol/inspector@2.16.0 --cli --config inspector.json --server selenium --method tools/list
npx --yes @modelcontextprotocol/inspector@2.16.0 --cli --config inspector.json --server selenium --method tools/call --tool-name get_page_text
Expect 28 tools from the first command and a structured `NO_SESSION` error from the second. Each CLI invocation launches a new process. For a sequence of browser operations, start the interactive Inspector and keep the connection open:
npx --yes @modelcontextprotocol/inspector@2.16.0 --web --config inspector.json --server selenium
Open the authenticated local URL printed by Inspector, connect to the stdio server, and list tools. Call `launch_browser` with `{"browser":"chrome"}`, then `navigate` with `{"url":"https://example.com"}`. Call `get_page_text` or `take_screenshot`, then `close_browser`.
Tool contracts
| T
Related Skills
Electron Stagewright
Drive Electron apps the way Playwright drives browsers — MCP server for AI agents.
Claude Engineer Toolkit
AI-powered toolkit for Claude Code that provides structured workflows, commands, and agents to automate planni
Asktube
AskTube - An AI-powered YouTube video summarizer and QA assistant powered by Retrieval Augmented Generation (R
AI Tester
End-to-end behavioral testing skills, bare system prompts, and any agent runtime — run real scenarios in an is
QA Execute
Execute configured test commands and capture results / Ejecutar comandos de prueba configurados y capturar res
AppReveal
Debug-only in-app MCP server for iOS/macOS/Android/Flutter/ReactNative. Gives LLM agents Playwright-like contr
Related Agents
Playwright Agent
Specialized browser automation validator for the Kanban SDLC project. Uses Playwright MCP tools to test web in
Playwright Validator
Specialized browser automation validator that uses Playwright MCP tools to execute and validate specific user
Selenium Test Generator.Agent
Generator agent uses the Markdown test plan to produce executable Selenium-based tests, in Python with pytest