Webdriverio MCP logo

Webdriverio MCP

by webdriverio

Automate browsers, Electron apps, and Android or iOS sessions through WebdriverIO and Appium over MCP.

Install Webdriverio MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "webdriverio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wdio/mcp@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

webdriverio/mcp connects AI agents to WebdriverIO-managed browsers, local Electron applications, and mobile apps through WebDriver and Appium. Agents can start or attach to sessions, inspect pages through accessibility snapshots, interact with elements, manage tabs and frames, capture screenshots, and execute scripts. Browser sessions can cover Chrome, Firefox, Edge, Safari, and Chrome CDP attachments, while mobile workflows use Appium. Reach for it when an agent needs to operate a browser or app interactively, automate UI flows, or run against cloud browser and device providers.

Use cases

  • Automate browser-based UI workflows
  • Test local Electron application interfaces
  • Drive Android or iOS app sessions
  • Reuse remote WebDriver or Appium sessions
  • Run tests on cloud browsers and real devices

Key features

  • WebDriver and Appium session control
  • Accessibility snapshots with element references
  • Browser, Electron, and mobile interactions
  • Screenshots, scripts, cookies, and tab management
  • Browser and Electron request mocking
  • stdio and HTTP transports

Tools40

What Webdriverio MCP lets your agent do. Expand a tool for its parameters.

Self-reported~1.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

20/21 checks healthy over the last 92d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @wdio/mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars44Stargazers on the source repository.
npm downloads25kPackage downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Tools exposed40Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Webdriverio MCP works

What webdriverio/mcp does

webdriverio/mcp exposes browser and application automation to MCP-compatible AI clients. It can create sessions for browsers, local Electron applications, and mobile apps, or connect to an existing WebDriver or Appium session by ID or name. Browser automation covers Chrome, Firefox, Edge, and Safari; mobile automation targets Android and iOS through Appium.

The server supports both local and hosted execution. Cloud sessions can use BrowserStack, Sauce Labs, LambdaTest, TestingBot, or Digital.ai Testing when the corresponding provider credentials and session settings are configured.

How it works

The default transport is stdio, with the server launched as an npm package through npx. An HTTP mode is also available for clients that cannot start subprocesses; it exposes MCP at a local URL and accepts configurable port, host, and CORS settings.

An agent normally starts with start_session, then uses navigation and inspection tools to understand the current interface. snapshot returns an accessibility-oriented view with references for interactive elements, while screenshots and visible-element queries provide additional visual and positional context. The agent can then click, fill, select, press keys, scroll, switch tabs or frames, and group several interactions with perform_actions.

Sessions can be closed or detached, and Chrome can be launched separately with remote debugging enabled for an attach-based workflow. Existing remote sessions can be reused rather than creating another session.

Setup and configuration

Install through an MCP client using npx -y @wdio/mcp@latest, or install the package globally and invoke wdio-mcp. Client configuration uses a standard stdio command. The client should be restarted after adding the server configuration.

Mobile automation requires an Appium installation, the platform-specific driver, and an available simulator, emulator, or physical device. iOS automation requires the XCUITest driver and Xcode on macOS; Android uses the UiAutomator2 driver and Android Studio. Start Appium before creating mobile sessions.

Cloud providers require their credentials in the MCP client environment. Provider-specific options, including Sauce Labs data-center selection, are passed when starting a session.

Tools and capabilities

  • Start, attach to, close, or detach browser, Electron, and mobile sessions.
  • Navigate pages and inspect accessibility trees, visible elements, tabs, frames, and screenshots.
  • Click controls, replace input values, select options, press keys, scroll, and run multi-step actions.
  • Execute browser JavaScript, Appium mobile commands, or privileged Electron main-process JavaScript.
  • Emulate mobile device presets and open WebDriver BiDi web-extension pages.
  • Read, set, and delete cookies.
  • Configure, inspect, reset, clear, and restore browser or Electron mocks.
  • Launch Chrome with remote debugging and trigger configured Electron deep links.

Additional tool groups can be enabled for mocks, cookies, device functions, extensions, session attachment, element queries, and cloud applications.

Limitations and notes

Some capabilities depend on the session type. Tabs, scrolling, frame switching, and option selection are browser-oriented; Electron has its own accessibility and main-process script tools. Device emulation requires a BiDi session, and the Electron accessibility tree is separate from browser snapshots. Screenshots are returned as base64 data and are automatically limited to 2,000 pixels and 1 MB.

HTTP mode includes host-header protection and blocks browser clients unless allowed origins are configured. Mobile and cloud workflows also depend on external Appium, device, or provider setup.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Webdriverio MCP

webdriverio/mcp is an MCP server that connects AI agents to WebdriverIO browsers, Electron applications, and Appium mobile sessions. Its main tools start or attach to sessions, navigate and inspect interfaces, interact with elements, capture screenshots, execute scripts, and manage cookies, tabs, frames, and mocks.

Install it in your MCP client with `npx -y @wdio/mcp@latest` as the server command. You can also install `@wdio/mcp` globally and invoke `wdio-mcp`. Restart the MCP client after adding the configuration.

Yes, webdriverio/mcp works with Cursor through its MCP settings or a `.cursor/mcp.json` file. Configure Cursor to launch `npx` with `-y` and `@wdio/mcp@latest`, then restart the client.

Install Appium, add the platform driver, prepare a simulator, emulator, or physical device, and start the Appium server before creating a mobile session. iOS uses XCUITest and requires Xcode on macOS; Android uses UiAutomator2 and requires Android Studio.

Yes, `attach_session` connects to an existing remote WebDriver or Appium session by `sessionId`, or looks up a live session when given a name. `start_session` can also retain an existing Chrome CDP connection when attachment mode is enabled.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWebdriverio MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/webdriverio-mcp?style=directory)](https://allmcps.com/mcp/webdriverio-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/webdriverio-mcp"><img src="https://allmcps.com/api/badge/webdriverio-mcp?style=directory" alt="Webdriverio MCP on AllMCPs" /></a>