selenium -python
MCP server from Jyothishkumarav/selenium-mcp-server-python
claude mcp add --transport stdio jyothishkumarav-selenium-mcp-server-python python server.py
How to use
This MCP server provides Selenium WebDriver automation through a Python-based MCP server. It enables Claude's desktop application to control Chrome or Firefox browsers programmatically, performing common browser interactions such as navigation, element operations, taking screenshots, and managing storage and frames. The server exposes a suite of Selenium capabilities organized into sections like Browser Management, Navigation, Element Interaction, Element Information, Page Operations, and Frame Handling, allowing Claude to initiate sessions, locate and interact with elements, capture page content and screenshots, and switch contexts between iframes and windows. To use it, start the server with Python, then enable the MCP-Selenium server in Claude under Developer Options. Once enabled, Claude can issue MCP commands to perform the described automation tasks across supported browsers.
How to install
Prerequisites:
- Python 3.7+
- Chrome or Firefox browser installed
- Claude desktop application
Installation steps:
- Clone the repository:
git clone https://github.com/Jyothishkumarav/selenium-mcp-server-python.git
cd selenium-mcp-server-python
- Install the required dependencies:
pip install -r requirements.txt
- Install the MCP server in Claude:
mcp install server.py
- Run the server locally:
python server.py
- In Claude, enable the MCP-Selenium server under Settings > Developer Options to start using Selenium automation features.
Additional notes
Tips and notes:
- Ensure the appropriate browser (Chrome or Firefox) is installed and accessible by the WebDriver.
- Check that the Python environment has the required dependencies listed in requirements.txt.
- If you encounter connection or capability errors, verify that the server.py is running and that Claude is configured to connect to the running MCP server.
- You can extend or customize environment variables in the mcp_config 'env' section if the server requires API keys or browser driver paths.
- Common issues include Mismatched WebDriver versions, firewall restrictions, and missing browser binaries in headless environments.
- This MCP server focuses on Selenium WebDriver interactions; use the Available Tools documentation in Claude to map to MCP commands for actions like find_element, click, send_keys, take_screenshot, switch_to_window, and manage_local_storage.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP