Playwright MCP vs Selenium MCP

A side-by-side look at the Playwright MCP and Selenium MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Playwright MCP logoPlaywright MCPBrowser Automation · Local subprocess (stdio)Official Microsoft Playwright MCP server, enabling LLMs to interact with web pages through structured accessibility snapshots89ExcellentAuth: no auth requiredSelenium MCP logoSelenium MCPBrowser Automation · Local subprocess (stdio)Python MCP server for Selenium WebDriver — 84 tools for browser automation, element interactions, assertions, and self-healing locators, plus codegen for Java TestNG / JUnit 5 / Cucumber / pytest / C NUnit / Playwright and CI pipelines (GitHub Actions / Jenkins / GitLab CI). No ChromeDriver setup needed.61GoodAuth: no auth required

Verdict: choose Playwright MCP for browser automation work as a local process; choose Selenium MCP for browser automation as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Playwright MCP logoChoose Playwright MCP when

  • You need dedicated capabilities in the Browser Automation domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You want tools like browser_close, browser_resize, browser_console_messages.
Explore Playwright MCP

Selenium MCP logoChoose Selenium MCP when

  • You need dedicated capabilities in the Browser Automation domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You want tools like start_browser, navigate, take_screenshot.
Explore Selenium MCP

Feature & specification comparison

Rows where the two servers differ are marked.

SpecPlaywright MCP logoPlaywright MCPSelenium MCP logoSelenium MCP
CategoryBrowser AutomationBrowser Automation
Quality signal89/100 · Excellent61/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNo auth requiredNo auth required
PricingFreeFree
Required env varsNone listedNone listed
Verified owner VerifiedCommunity listing
GitHub stars38,4072
Directory activity 6 views 0 installs 0 upvotes 7 views 0 installs 0 upvotes
Tools2585

Tools & capabilities

Playwright MCP tools 25

  • browser_closeClose the page
  • browser_resizeResize the browser window
  • browser_console_messagesReturns all console messages
  • browser_handle_dialogHandle a dialog
  • browser_emulate_mediaEmulate CSS media features for the page, for example switch between the light and dark color scheme. Omitted parameters are left unchanged; null clears an override.
  • browser_evaluateEvaluate JavaScript expression on page or element
  • browser_file_uploadUpload one or multiple files
  • browser_dropDrop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.
  • browser_findSearch the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), each shown under its path from the root of the tree, which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.
  • browser_fill_formFill multiple form fields
  • browser_press_keyPress a key on the keyboard
  • browser_typeType text into editable element
  • +13 more on the listing page

Selenium MCP tools 85

  • start_browserStart a browser session. Optional — any tool will auto-start Chrome if no browser is open. Use this to choose Firefox, enable headless mode, or set a custom window size.
  • navigateNavigate the browser to a URL.
  • take_screenshotTake a screenshot and return it as base64.
  • get_page_sourceReturn the current page HTML source.
  • get_page_titleReturn the current page title.
  • get_current_urlReturn the current URL.
  • close_browserClose and quit the browser session.
  • go_backNavigate back in browser history.
  • go_forwardNavigate forward in browser history.
  • refreshRefresh the current page.
  • execute_scriptExecute JavaScript in the browser.
  • switch_to_windowSwitch to a browser window/tab by index.
  • +73 more on the listing page

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Playwright MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "microsoft-playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    }
  }
}

Selenium MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "seleniumboot-selenium-mcp": {
      "command": "uvx",
      "args": [
        "seleniumboot-mcp"
      ]
    }
  }
}

Frequently asked questions

Playwright MCP is categorized under Browser Automation and uses a local stdio subprocess. Selenium MCP belongs to Browser Automation and uses a local stdio subprocess. Pick Playwright MCP for browser automation work and Selenium MCP for browser automation.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Playwright MCP is listed as free. Auth: no auth required. Selenium MCP is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add microsoft-playwright-mcp and seleniumboot-selenium-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Playwright MCP has a quality signal of 89/100 (Excellent) with 6 views, 0 installs and 38,407 GitHub stars. Selenium MCP has 61/100 (Good) with 7 views, 0 installs and 2 GitHub stars.