Webdriverio MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to interact with web browsers, local Electron applications, and mobile applications using WebdriverIO. Automate Chrome, Firefox, Edge, Safari, Electron, iOS, and Android through a unified interface. Its 34 documented tools cover session, mock, switch, device.

People who work with session, mock and switch and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-16 · ★ 38 · #13 OF 255 MAINTAINED BROWSER AUTOMATION · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Webdriverio MCP Server

before you install - you'll need

Set BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY, SAUCE_USERNAME, SAUCE_ACCESS_KEY, TESTMU_USERNAME, TESTMU_ACCESS_KEY, TESTINGBOT_KEY, TESTINGBOT_SECRET, DIGITALAI_CLOUD_URL, DIGITALAI_ACCESS_KEY before connecting.

Claude Code

claude mcp add webdriverio-mcp -- npx -y @wdio/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "webdriverio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wdio/mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @wdio/mcp - the @wdio scope differs from the repo owner (webdriverio); confirm it's the project's official package

registry namespace io.github.webdriverio is GitHub-verified and matches the repo owner

03 · What Webdriverio MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can start a browser, local Electron application, or mobile app session, launch a new Chrome instance with remote debugging enabled (for use with start_session({ attach: true })), close or detach from the current session (supports detach: true to disconnect without terminating), and install a web extension through WebDriver BiDi and open one of its extension pages so normal page tools can drive its UI.

Capability map

Tools grouped from the project's README - what Webdriverio MCP Server lets an agent do.

read & search

6 tools - e.g. Get visible, interactable elements on the page. Supports inViewportOnly (default: true) to filter viewport elements, and includeContainers (default: false) to i; Get the page accessibility tree with…

get_elements · get_accessibility_tree · get_screenshot · get_tabs · get_contexts · get_app_state

Mock

3 tools - e.g. Configure a session-scoped mock by kind (currently Electron API functions); Inspect call arguments for a session-scoped mock; Clear, reset, or restore a session-scoped mock

mock · get_mock_calls · manage_mock

Switch

3 tools - e.g. Switch to a different browser tab by handle or 0-based index. Browser-only.; Switch into an iframe by CSS/XPath selector, or back to the top-level frame if no selector is given. Browser-only.; Switch…

switch_tab · switch_frame · switch_context

update

3 tools - e.g. Type text into input fields; Set a cookie with name, value, and optional attributes; Set device GPS location

set_value · set_cookie · set_geolocation

run & execute

2 tools - e.g. Start a browser, local Electron application, or mobile app session; attach: true retains the existing Chrome CDP connection mode; Execute arbitrary JavaScript in the browser, or Appium mobile commands on…

start_session · execute_script

Electron

2 tools - e.g. Execute privileged JavaScript in the Electron main process (Electron sessions only); Trigger an Electron deeplink whose scheme was explicitly configured at session start

execute_electron_script · trigger_electron_deeplink

Cookies

2 tools - e.g. Get all cookies for the current session, or a single cookie by name; Delete all cookies or a specific cookie

get_cookies · delete_cookies

Attach

1 tool - e.g. Attach to an existing remote WebDriver/Appium session by ID without creating a new session

attach_session

Latest releases

v3.13.0 · 2026-09-15

3.13.0 (2026-09-15) · Add session-scoped API mocking tools

v3.12.1 · 2026-09-12

3.12.1 (2026-09-12) · Enhance automationName handling and add lowercase platform support in LocalAppiumProvider

v3.12.0 · 2026-09-04

3.12.0 (2026-09-04) · Add electron support

04 · Who maintains Webdriverio MCP Server

mcp is maintained by webdriverio. It's the only MCP server we track from this author; the repo dates to Dec 2025.

05 · Facts

category
browser automation - ranked #13 of 255 actively-maintained browser automation servers as of 2026-09-18.
release cadence
7 releases in the last 90 days (latest 2026-09-15)
registry
io.github.webdriverio/mcp (active, first published 2026-03-20 · 23 versions)
packages
npm:@wdio/mcp

06 · Webdriverio MCP Server FAQ

Is Webdriverio MCP Server still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-16 and it shipped 7 releases in the last 90 days. We re-verify nightly.

What can Webdriverio MCP Server do?

With this server connected, an agent can start a browser, local Electron application, or mobile app session, launch a new Chrome instance with remote debugging enabled (for use with start_session({ attach: true })), close or detach from the current session (supports detach: true to disconnect without terminating), and install a web extension through WebDriver BiDi and open one of its extension pages so normal page tools can drive its UI.

How do I install Webdriverio MCP Server?

Run `npx -y @wdio/mcp`. The README documents 10 environment variables (BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY, SAUCE_USERNAME…) to set first. Set BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY, SAUCE_USERNAME, SAUCE_ACCESS_KEY, TESTMU_USERNAME, TESTMU_ACCESS_KEY, TESTINGBOT_KEY, TESTINGBOT_SECRET, DIGITALAI_CLOUD_URL, DIGITALAI_ACCESS_KEY before connecting. You can also paste the ready-made client config above.

Does Webdriverio MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Webdriverio MCP Server

More browser automation MCP servers · Macbeth · Wick · Pixelcheck · Campus Copilot MCP · Prompt Switchboard MCP Sidecar

More TypeScript MCP servers · Webflow MCP Server · Mymlh MCP Server · Cronicorn · Exerciseapi · see all