Selenium MCP Server

An MCP server that uses Selenium to interact with a WebDriver instance.

Local serverstdioTypeScript

What is the Selenium MCP Server?

An MCP server that uses Selenium to interact with a WebDriver instance.

What Selenium does

An MCP server that uses Selenium to interact with a WebDriver instance. Built using the MCP-Server-Starter template.

This server allows AI agents to control a web browser session via Selenium WebDriver, enabling tasks like web scraping, automated testing, and form filling through the Model Context Protocol.

Requirements

  • Node.js (v18 or later) * npm (v7 or later) * A WebDriver executable (e.g., ChromeDriver, GeckoDriver) installed and available in your system's PATH. * A compatible web browser (e.g., Chrome, Firefox).

Practical notes

  • Maintained by themindmod, written in TypeScript.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

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
selenium_navigateNavigates the browser to a specific URL.
selenium_findElementFinds an element on the page using a CSS selector.
selenium_clickClicks an element.
selenium_sendKeysSends keystrokes to an element.
selenium_getPageSourceRetrieves the current page source HTML.

How to install the Selenium MCP Server

{
  "mcpServers": {
    "selenium-mcp-server": {
      "command": "node",
      "args": [
        "/path/to/selenium-mcp-server/build/index.js"
      ]
    }
  }
}

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

Configuration

  • Node.js (v18 or later) * npm (v7 or later) * A WebDriver executable (e.g., ChromeDriver, GeckoDriver) installed and available in your system's PATH. * A compatible web browser (e.g., Chrome, Firefox).

Example prompts to try

  • “Use Selenium to selenium navigate.”
  • “Use Selenium to selenium findElement.”
  • “Use Selenium to selenium click.”

Frequently asked questions

An MCP server that uses Selenium to interact with a WebDriver instance. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.