
A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

A Haskell MCP server that connects to Selenium WebDriver and exposes browser automation tools to MCP clients such as Claude.
MCP Selenium server in Haskell is cataloged as an MCP server attributed to albertov. A Haskell MCP server that connects to Selenium WebDriver and exposes browser automation tools to MCP clients such as Claude. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: BSD-3-Clause. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Selenium server in Haskell are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports Chrome and Firefox browsers and can operate in headless mode.
Yes, it requires a separate Selenium server and connects to it via configurable host and port.
It adds a JavaScript console logging suite, page source retrieval, and UUID-based multi-session management.
README.md · 8531edb2b9e2 · Fetched 2026-11-13 12:06:26 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Haskell implementation of MCP Selenium Server using WebDriver, enabling browser automation through standardized MCP clients like Claude.
This implementation is inspired by the mcp-selenium project developed by Angie Jones. We thank the original contributors for their foundational work in MCP Selenium automation.
This project is a Haskell reimplementation of the original JavaScript mcp-selenium project. Here's an honest comparison between the two implementations:
npx support, includes browser managementBoth implementations provide identical MCP tool interfaces with these differences:
Additional Tools (Haskell-only):
get_console_logs, inject_console_logger, get_injected_console_logs, get_available_log_types - comprehensive JavaScript console monitoringget_source - retrieve current page HTMLChoose Node.js mcp-selenium if you:
Choose Haskell mcp-selenium if you:
Both implementations are production-ready with different strengths:
Choose based on your technical requirements and ecosystem preferences.
For comprehensive documentation of all available tools and their parameters, see API.md.
nix develop
# inside the shell that will open...
cabal build
nix run github:albertov/mcp-selenium-haskell
mcp-selenium-hs
To use this MCP server with Claude Desktop, add the following configuration to your claude_desktop_config.json file:
{
"mcpServers": {
"selenium": {
"command": "mcp-selenium-hs",
"args": [],
"env": {
"SELENIUM_HOST": "some.tailscale.host",
"SELENIUM_PORT": "1234",
}
}
}
}
Or from a flake
{
"mcpServers": {
"selenium": {
"command": "nix",
"args": ["run", "github:albertov/mcp-selenium-haskell"],
"env": {
"SELENIUM_HOST": "some.tailscale.host",
"SELENIUM_PORT": "1234",
}
}
}
}
The configuration file is typically located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAfter adding this configuration, restart Claude Desktop to enable the Selenium MCP server.
mcp-proxy allows you to expose the mcp-selenium server over HTTP/SSE for remote access or to connect to remote MCP servers. This is useful when you want to make the mcp-selenium proxy accessible through the network to MCP clients running on different machines. The underlying Selenium server can be located anywhere as long as the proper environment variables (SELENIUM_HOST, SELENIUM_PORT, etc.) are configured to reach it.
⚠️ SECURITY WARNING
NEVER bind mcp-proxy to
0.0.0.0on production systems or networks you don't fully control! This exposes your MCP server to the entire internet, potentially allowing unauthorized access to browser automation capabilities.Safe alternatives:
- Tailscale/VPN: Bind to your Tailscale interface IP (e.g.,
--host=100.x.x.x)- Local + SSH: Use
--host=127.0.0.1and SSH port forwarding (ssh -L 8080:localhost:8080 user@server)- Private networks: Only bind to private network interfaces you control
- Firewall: If you must use
0.0.0.0, ensure proper firewall rules restrict access
To run mcp-selenium behind mcp-proxy and expose it over SSE for remote access:
# Install mcp-proxy
uv tool install mcp-proxy
# Run mcp-selenium behind the proxy on localhost (safe for local development)
mcp-proxy --port=8080 mcp-selenium-hs
# For network access, bind to a specific interface (replace with your Tailscale IP)
mcp-proxy --host=100.64.1.100 --port=8080 mcp-selenium-hs
# Or use SSH port forwarding for remote access
# On the server:
mcp-proxy --host=127.0.0.1 --port=8080 mcp-selenium-hs
# On the client:
# ssh -L 8080:localhost:8080 user@your-server
The server will be accessible at:
http://localhost:8080/ssehttp://localhost:8080/statusYou can then configure Claude Desktop to connect to the proxy instead of directly to the server:
{
"mcpServers": {
"selenium-proxy": {
"command": "mcp-proxy",
"args": ["http://your-server:8080/sse"],
"env": {}
}
}
}
You can run multiple instances of mcp-selenium with different configurations:
# Run multiple selenium instances with different headless settings
mcp-proxy --port=8080 \
--named-server selenium-headless 'mcp-selenium-hs' \
--named-server selenium-desktop 'mcp-selenium-hs'
This exposes:
http://localhost:8080/servers/selenium-headless/ssehttp://localhost:8080/servers/selenium-desktop/sseNote: Browser type (Chrome/Firefox) and other options are specified through the MCP tool parameters, not environment variables.
For complex setups, use a JSON configuration file:
{
"mcpServers": {
"selenium-default": {
"command": "mcp-selenium-hs",
"args": [],
"transportType": "stdio"
},
"selenium-remote": {
"command": "mcp-selenium-hs",
"args": [],
"env": {
"SELENIUM_HOST": "selenium.example.com",
"SELENIUM_PORT": "4444"
},
"transportType": "stdio"
}
}
}
Then run:
mcp-proxy --port=8080 --named-server-config ./selenium-servers.json
For containerized deployments, you can use mcp-proxy with Docker. Always use specific interface binding for security:
FROM ghcr.io/sparfenyuk/mcp-proxy:latest
# Install dependencies and copy mcp-selenium-hs binary
RUN wget -O /usr/local/bin/mcp-selenium-hs https://github.com/albertov/mcp-selenium-haskell/releases/latest/download/mcp-selenium-hs
RUN chmod +x /usr/local/bin/mcp-selenium-hs
EXPOSE 8080
# Use a specific interface IP instead of 0.0.0.0
ENTRYPOINT ["mcp-proxy", "--host=127.0.0.1", "--port=8080", "mcp-selenium-hs"]
For Tailscale integration in Docker:
# Run with Tailscale network access
docker run -d \
--name mcp-selenium-proxy \
--network=host \
-e TAILSCALE_HOSTNAME=$(tailscale ip -4) \
your-mcp-proxy-image \
mcp-proxy --host=$(tailscale ip -4) --port=8080 mcp-selenium-hs
For the safest remote access, use Tailscale to create a secure network:
tailscale ip -4# Replace 100.64.1.100 with your actual Tailscale IP
mcp-proxy --host=100.64.1.100 --port=8080 mcp-selenium-hs
{
"mcpServers": {
"selenium-proxy": {
"command": "mcp-proxy",
"args": ["http://100.64.1.100:8080/sse"],
"env": {}
}
}
}
When using mcp-proxy, you can pass environment variables to configure the Selenium connection:
# Pass custom Selenium server configuration
mcp-proxy --port=8080 \
--env SELENIUM_HOST selenium.example.com \
--env SELENIUM_PORT 4444 \
mcp-selenium-hs
Complete list of supported environment variables:
| Variable | Default | Description | Example |
|---|---|---|---|
SELENIUM_HOST | 127.0.0.1 | Hostname or IP address of the Selenium WebDriver server | selenium.example.com |
SELENIUM_PORT | 4444 | Port number of the Selenium WebDriver server | 4444 |
Configuration Examples:
For local Selenium server (default):
# These are the defaults, no configuration needed
export SELENIUM_HOST=127.0.0.1
export SELENIUM_PORT=4444
For remote Selenium Grid:
export SELENIUM_HOST=selenium-grid.company.com
export SELENIUM_PORT=4444
For Docker-based Selenium:
export SELENIUM_HOST=selenium-container
export SELENIUM_PORT=4444
For Selenium running on different port:
export SELENIUM_HOST=localhost
export SELENIUM_PORT=8080
To allow browser-based clients to connect, you can enable CORS. Be careful with wildcard origins:
# ⚠️ Only use '*' for development/testing - NEVER in production!
mcp-proxy --port=8080 --allow-origin='*' mcp-selenium-hs
For production, always specify exact origins:
# Safe: specify exact origins you trust
mcp-proxy --port=8080 \
--allow-origin='https://claude.ai' \
--allow-origin='https://your-app.com' \
mcp-selenium-hs
The project includes comprehensive black-box integration tests that validate the MCP server functionality through its external interface.
Run all integration tests:
./run_integration_tests.sh
This automatically:
For detailed information about the integration testing setup, see integration_tests/README.md.
The project uses the following key dependencies:
webdriver - Selenium WebDriver bindings for Haskellhs-mcp - Model Context Protocol implementationaeson - JSON parsing and encodingThe project provides a Nix environment with all dependencies:
nix-shell
Or with flakes:
nix develop
Unit tests:
cabal test
Integration tests:
./run_integration_tests.sh
Format code:
nix fmt
Check code quality and run linting:
nix check
BSD-3-Clause - see LICENSE file for details.
Please ensure all tests pass and code follows the project style guidelines.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Selenium server in Haskell from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-selenium-haskell)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.