Selenium Spring MCP
Selenium MCP server with spring boot
Ask AI about Selenium Spring MCP
Powered by Claude Β· Grounded in docs
I know everything about Selenium Spring MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Selenium MCP with Spring AI π€π§ͺ
A modular command-based Model Context Protocol (MCP) server implementation for Selenium WebDriver, using Spring AI for intelligent browser automation capabilities. This project supports browser-level control via a standardized set of commands, making it ideal for dynamic testing or AI-assisted browser automation.
Demo Video
π Pre-requisites
- Java 17+
- Maven (for building project)
Supported browsers
- Chrome
- Firefox
- Safari
Note: For Safari browser, enable automation capabilities.
- Go to Safari > Preferences/Settings > Advanced > check
Show Develop menu in menu bar - Now go to the Develop menu in the top menu bar > Allow Remote Automation
π Features
This tool includes a wide range of browser control commands:
- β
browser_open: Launch the browser with desired configuration. - β
browser_close: Gracefully shuts down the browser session. - β
browser_navigate: Navigate to a specific URL. - β
browser_click: Click on web elements. - β
browser_send_keys: Type into input fields. - β
browser_take_screenshot: Capture full-page screenshots. - β
browser_get_text: Retrieve text content from elements. - β
browser_hover: Hover over elements. - β
browser_drag_and_drop: Perform drag-and-drop actions. - β
browser_double_click: Double-click on elements. - β
browser_right_click: Right-click/context click on elements. - β
browser_press_key: Simulate keyboard key press. - β
browser_upload_file: Upload files using file input elements. - β
browser_page_source: Extract full HTML page source. - β
browser_execute_javascript: Run custom JavaScript in the browser context. - β
browser_tabs: Manage and switch between multiple browser tabs.
π¦ Installation
- Download the latest build (.jar) from Releases section
- Add the following config to the
mcp.jsonconfig file of MCP client (Github copilot, Claude desktop etc.)
{
"servers": {
"selenium-spring-mcp": {
"type": "stdio",
"command": "java",
"args": [
"-jar",
"path/to/jar/file"
]
}
}
}
π¦ Build Project
- Run the following commands in terminal
# Clone the repo
git clone https://github.com/nipunsaini/selenium-spring-mcp.git
# move to the project directory
cd selenium-spring-mcp
# build
mvn clean package
π€ Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change or add.
π License
This project is licensed under the MIT License.
Built with π‘ by [Nipun]

