io.github.pshivapr/selenium-mcp
Selenium Tools for MCP
★ 5MITdevtools
Install
Config snippet generator goes here (5 client tabs)
README
[](https://fastmcp.me/MCP/Details/1058/selenium-webdriver)
[](https://fastmcp.me/MCP/Details/1058/selenium-webdriver)
[](https://fastmcp.me/MCP/Details/1058/selenium-webdriver)
[](https://fastmcp.me/MCP/Details/1058/selenium-webdriver)
[](https://fastmcp.me/MCP/Details/1058/selenium-webdriver)
[](https://fastmcp.me/MCP/Details/1058/selenium-webdriver)
# Selenium MCP Server



[](https://smithery.ai/server/@pshivapr/selenium-mcp)
This is a server implementation that bridges the gap between MCP clients (AI assistants) and Selenium WebDriver. It exposes Selenium WebDriver's functionalities as MCP tools, allowing AI models to utilize them for tasks like:
- Browser management (launching, navigating, closing browsers)
- Element interaction (clicking, typing, finding elements)
- Web scraping and automated testing
- Advanced operations like screenshots, cookie management, and JavaScript execution
In essence, the selenium webdriver mcp setup allows AI assistants to leverage the power of Selenium Webdriver for web automation, by communicating with a dedicated Selenium MCP server via the Model Context Protocol. This facilitates tasks such as automated web interactions, testing, and data extraction, all controlled by AI.
<a href="https://glama.ai/mcp/servers/@pshivapr/selenium-mcp">
<img width="380" height="200" src="https://glama.ai/mcp/servers/@pshivapr/selenium-mcp/badge" />
</a>
## 🚀 Overview
A Model Context Protocol (MCP) server for [Selenium](https://www.selenium.dev/) that provides comprehensive Selenium WebDriver automation tools for AI assistants and applications. This server enables automated web browser interactions, testing, and scraping through a standardized interface.
Built with TypeScript and modern ES modules, it offers type-safe browser automation capabilities through the Model Context Protocol.
## ✨ Key Features
- **Multi-Browser Support**: Chrome, Firefox, Safari, and Edge browser automation
- **Comprehensive Element Interaction**: Click, type, hover, drag & drop, file uploads
- **Advanced Navigation**: Forward, backward, refresh, window management
- **Wait Strategies**: Intelligent waiting for elements and page states
- **Type Safety**: Full TypeScript implementation with Zod validation
## 🤝 Integration
### MCP Client Integration
Configure your MCP client to connect to the Selenium server:
### Standard Configuration (applicable to Windsurf, Warp, Gemini CLI etc)
```json
{
"servers": {
"selenium-mcp": {
"command": "npx",
"args": ["-y", "selenium-webdriver-mcp@latest"]
}
}
}
```
## Installation in VS Code
Update your `mcp.json` in **VS Code** with below configuration
**NOTE**: If you're new to MCP servers, follow this link [Use MCP servers in VS Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
### Example 'stdio' type connection
```json
{
"servers": {
"selenium-mcp": {
"command": "npx",
"args": [
"-y",
"selenium-webdriver-mcp@latest"
],
"type": "stdio"
}
},
"inputs": []
}
```
### Example 'http' type connection
```json
{
"servers": {
"Selenium": {
"url": "https://smithery.ai/server/@pshivapr/selenium-mcp",
"type": "http"
}
},
"inputs": []
}
```
After installation, the Selenium MCP server will be available for use with your GitHub Copilot agent in VS Code.
### To install the Selenium MCP server using the VS Code CLI
```bash
# For VS Code
code --add-mcp '{\"name\":\"selenium-mcp\",\"command\": \"npx\",\"args\": [\"selenium-webdriver-mcp@latest\"]}'
```
```bash
# For VS Code Insiders
vscode-insiders --add-mcp '{\"name\":\"selenium-mcp\",\"command\": \"npx\",\"args\": [\"selenium-webdriver-mcp@latest\"]}'
```
## To install the package using either npm, or Smithery
Using npm:
```bash
npm install -g selenium-webdriver-mcp@latest
```
Using [Smithery](https://smithery.ai/server/@pshivapr/selenium-mcp)
To install Selenium MCP for Claude Desktop automatically via [](https://smithery.ai/server/@pshivapr/selenium-mcp)
```bash
npx @smithery/cli install @pshivapr/selenium-mcp --client claude
```
## Claude Desktop Integration
Add to your Claude Desktop configuration:
```json
{
"mcpServers": {
"selenium-mcp": {
"command": "npx",
"args": ["-y", "s