Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

webdriverio

Let AI assistants drive browsers, Electron apps and mobile apps through WebdriverIO

Runs locally

webdriverio is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
What it can do
Can change data (1 tool)
Version
4.2.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

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

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp -- npx -y @wdio/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
command = "npx"
args = ["-y", "@wdio/mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wdio/mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

    Or run: gemini mcp add -s user mcp npx -- -y @wdio/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

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

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

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

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About webdriverio

One server covers Chrome, Firefox, Edge, Safari, Electron, iOS and Android, so an assistant can use the same interface whether it is checking a web page or a native app. Mobile automation goes through Appium, which you install and start yourself with the XCUITest or UiAutomator2 driver for iOS or Android.

By default it runs over stdio, launched with npx @wdio/mcp. For clients that cannot start subprocesses, an HTTP mode runs on port 3000 by default with host checks for DNS rebinding protection and an allowed-origins flag for browser clients. Setup snippets are given for Claude Desktop, Claude Code, Cline, Cursor, Codex, Goose, Windsurf, Zed and VS Code.

Tests can also run on cloud devices and browsers at BrowserStack, Sauce Labs, LambdaTest, TestingBot and Digital.ai Testing, with credentials supplied as environment variables. For Sauce Labs the data centre is chosen per session through the region parameter of start_session.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 1 tool changes data.

From the server's own tool labels and tool names; not verified by us.

start_sessionName suggests: changes
Starts an automation session; accepts a region parameter for Sauce Labs.

What it does

Web and mobile in one
Automate Chrome, Firefox, Edge, Safari, Electron, iOS and Android.
Appium for mobile
iOS and Android sessions run through a local Appium server.
Cloud device providers
Supports BrowserStack, Sauce Labs, LambdaTest, TestingBot and Digital.ai Testing.
Stdio or HTTP
Runs as a subprocess by default, or over HTTP on a configurable port.
Wide client support
Config examples for Claude, Cursor, Codex, Goose, Windsurf, Zed and VS Code.
DNS rebinding protection
HTTP mode restricts allowed hosts and origins.

Good for

  • Have an assistant click through a web flow and report what breaks
  • Automate a test on an iOS simulator
  • Run a mobile check on a cloud real device
  • Drive an Electron app from chat

Pricing

Open source

Open-source npm package; cloud providers need their own accounts.

webdriverio FAQ

How do I install webdriverio?

Add npx -y @wdio/mcp@latest as a command in your client's MCP config, then restart the client.

What do I need for mobile testing?

An Appium server, the XCUITest or UiAutomator2 driver, and a simulator, emulator or device.

Can webdriverio run over HTTP?

Yes, with npx @wdio/mcp --http --port 3000, then point the client at http://localhost:3000/mcp.

Which cloud providers work?

BrowserStack, Sauce Labs, LambdaTest, TestingBot and Digital.ai Testing.

Is webdriverio free?

Yes. webdriverio is open source, so you can use and self-host it for free.

How do I add webdriverio to Claude Code?

Run this command in your terminal: claude mcp add mcp -- npx -y @wdio/mcp

What are the best alternatives to webdriverio?

The closest alternatives to webdriverio are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers