Selenium-mcp Server

Selenium MCP server for AI agents — 41 tools for real-browser automation: navigation, clicking, typing, assertions, screenshots, multi-session management, page snapshots with stable element refs…

Local serverstdioMIT

What is the Selenium-mcp Server?

selenium-mcp is an MCP project maintained in the gaforov/selenium-mcp repository. The maintainer describes its purpose as “Selenium MCP server for AI agents — 41 tools for real-browser automation: navigation, clicking, typing, assertions, screenshots, multi-session management, page snapshots with stable element refs…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @gaforov/selenium-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
CategoryTools
Navigationnavigate, history (back/forward/refresh), wait_for_page (URL/title), get_current_url, get_title
Interactionclick, retry_click, interact (hover/double/right-click), type, select_option, scroll, press_key, upload_file
Readingget_text, get_attribute
Assertionsassert_text, assert_visible, assert_attribute
Scriptingexecute_script, batch_execute
Cookiesadd_cookie, get_cookies, delete_cookie
Capturetake_screenshot

How to install the Selenium-mcp Server

{
  "mcpServers": {
    "selenium": {
      "command": "npx",
      "args": [
        "-y",
        "@gaforov/selenium-mcp@latest"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.