A Model Context Protocol (MCP) server that enables AI assistants to interact with web browsers and mobile applications using WebDriverIO. Automate Chrome browsers, iOS apps, and Android apps—all through a unified interface.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add mcp -- npx -y @wdio/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": ["-y", "@wdio/mcp"],
"env": {
"BROWSERSTACK_USERNAME": "<browserstack_username>",
"BROWSERSTACK_ACCESS_KEY": "<browserstack_access_key>",
"SAUCE_USERNAME": "<sauce_username>",
"SAUCE_ACCESS_KEY": "<sauce_access_key>",
"TESTMU_USERNAME": "<testmu_username>",
"TESTMU_ACCESS_KEY": "<testmu_access_key>"
}
}
}
}BROWSERSTACK_USERNAMEBROWSERSTACK_ACCESS_KEYSAUCE_USERNAMESAUCE_ACCESS_KEYTESTMU_USERNAMETESTMU_ACCESS_KEYMCP Servers overview
# 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.
## Installation
[](https://glama.ai/mcp/servers/webdriverio/mcp)
Add the following configuration to your MCP client settings:
**Standard config** (works in most clients):
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": [
"-y",
"@wdio/mcp@latest"
]
}
}
}
```
[](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522wdio-mcp%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522%2540wdio%252Fmcp%2540latest%2522%255D%257D)
[](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522wdio-mcp%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522%2540wdio%252Fmcp%2540latest%2522%255D%257D)
[<img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install in Cursor">](https://cursor.com/en/install-mcp?name=WebDriverIO&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB3ZGlvL21jcEBsYXRlc3QiXX0%3D)
<details>
<summary>Claude Desktop</summary>
Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS),
`%APPDATA%\Claude\claude_desktop_config.json` (Windows), or `~/.config/Claude/claude_desktop_config.json` (Linux):
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": [
"-y",
"@wdio/mcp@latest"
]
}
}
}
```
</details>
<details>
<summary>Claude Code</summary>
```bash
claude mcp add wdio-mcp -- npx -y @wdio/mcp@latest
```
</details>
<details>
<summary>Cline</summary>
Add to your VS Code `settings.json` or `cline_mcp_settings.json` file:
```json
{
"mcpServers": {
"wdio-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wdio/mcp@latest"
]
}
}
}
```
</details>
<details>
<summary>Cursor</summary>
Go to `Cursor Settings` → `MCP` → `Add new MCP Server`, or create `.cursor/mcp.json`:
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": [
"-y",
"@wdio/mcp@latest"
]
}
}
}
```
</details>
<details>
<summary>Codex</summary>
Use the Codex CLI:
```bash
codex mcp add wdio-mcp npx "@wdio/mcp@latest"
```
Or edit `~/.codex/config.toml`:
```toml
[mcp_servers.wdio-mcp]
command = "npx"
args = ["@wdio/mcp@latest"]
```
</details>
<details>
<summary>Goose</summary>
Go to `Advanced settings` → `Extensions` → `Add custom extension`, or run:
```bash
goose configure
```
Or edit `~/.config/goose/config.yaml`:
```yaml
extensions:
wdio-mcp:
name: WebDriverIO MCP
cmd: npx
args: [ -y, "@wdio/mcp@latest" ]
enabled: true
type: stdio
```
</details>
<details>
<summary>Windsurf</summary>
Edit `~/.codeium/windsurf/mcp_config.json`:
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": [
"-y",
"@wdio/mcp@latest"
]
}
}
}
```
</details>
<details>
<summary>Zed</summary>
Edit Zed settings (`~/.config/zed/settings.json`):
```json
{
"context_servers": {
"wdio-mcp": {
"source": "custom",
"command": "npx",
"args": [
"-y",
"@wdio/mcp@latest"
]
}
}
}
```
</details>
<details>
<summary>VS Code (Copilot)</summary>
```bash
code --add-mcp '{"name":"wdio-mcp","command":"npx","args":["-y","@wdio/mcp@latest"]}'
```
</details>
----
> ⚠️ **Restart Required**: After adding the configuration, fully restart your MCP client to apply the changes.
### Option 2: Global Installation
If you prefer to install globally:
```bash
npm install -g @wdio/mcp
```
Then use `wdio-mcp` as the command:
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "wdio-mcp"
}
}
}
```
📖 **Need help?** Follow the [MCP install guide](https://modelcontextprotocol.io/quickstart/user).
### HTTP Transport (for non-subprocess clients)
By default the server uses **stdio** (subprocess) transport. For clients that cannot launch subprocesses (e.g.
llama.cpp, OpenAI Codex secure mode), enable HTTP transport:
```bash
npx @wdio/mcp --http --port 3000
```
| Flag | Default | Description |
|--------------------|------------------------------------|---------------------------------------------------------|
| `--http` | — | Enable HTTP transport mode |
| `--port` | `3000` | Port to listen on |
| `--allowedHosts` | `localhost,127.0.0.1,::1` | Allowed `Host` header values (DNS rebinding protection) |
| `--allowedOrigins` | _(none — browser clients blocked)_ | Allowed `Origin` values for CORS. Use `*` to allow all. |
Then point your MCP client at `http://localhost:3000/mcp`.
### Prerequisites For Mobile App Automation
- **Appium Server**: Install globally with `npm install -g appium`
- **Platform Drivers**:
- iOS: `appium driver install xcuitest` (requires Xcode on macOS)
- Android: `appium driver install uiautomator2` (requires Android Studio)
- **Devices/Emulators**:
- iOS Simulator (macOS) or physical device
- Android Emulator or physical device
- **For iOS Real Devices**: You'll need the device's UDID (Unique Device Identifier)
- **Find UDID on macOS**: Connect device → Open Finder → Select device → Click device name/model to reveal UDID
- **Find UDID on Windows**: Connect device → iTunes or Apple Devices app → Click device icon → Click "Serial Number"
to reveal UDID
- **Xcode method**: Window → Devices and Simulators → Select device → UDID shown as "Identifier"
Start the Appium server before using mobile features:
```bash
appium
# Server runs at http://127.0.0.1:4723 by default
```
## Cloud Providers
Run browser and mobile app tests on cloud real devices and browsers without any local setup. Currently supports
[BrowserStack](https://www.browserstack.com/), [Sauce Labs](https://saucelabs.com/),
[LambdaTest](https://www.lambdatest.com/), [TestingBot](https://testingbot.com/), and
[Digital.ai Testing](https://digital.ai/products/continuous-testing/).
### Prerequisites
Set your provider credentials as environment variables or in your MCP client config:
<details>
<summary>BrowserStack</summary>
```bash
export BROWSERSTACK_USERNAME=your_username
export BROWSERSTACK_ACCESS_KEY=your_access_key
```
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": ["-y", "@wdio/mcp@latest"],
"env": {
"BROWSERSTACK_USERNAME": "your_username",
"BROWSERSTACK_ACCESS_KEY": "your_access_key"
}
}
}
}
```
</details>
<details>
<summary>Sauce Labs</summary>
```bash
export SAUCE_USERNAME=your_username
export SAUCE_ACCESS_KEY=your_access_key
```
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": ["-y", "@wdio/mcp@latest"],
"env": {
"SAUCE_USERNAME": "your_username",
"SAUCE_ACCESS_KEY": "your_access_key"
}
}
}
}
```
| `SAUCE_USERNAME` | Sauce Labs username (required) |
| `SAUCE_ACCESS_KEY` | Sauce Labs access key (required) |
The data center is set per-session via the `region` parameter in `start_session` (defaults to `eu-central-1`).
</details>
<details>
<summary>LambdaTest (TestMu)</summary>
```bash
export TESTMU_USERNAME=your_username
export TESTMU_ACCESS_KEY=your_access_key
```
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": ["-y", "@wdio/mcp@latest"],
"env": {
"TESTMU_USERNAME": "your_username",
"TESTMU_ACCESS_KEY": "your_access_key"
}
}
}
}
```
| `TESTMU_USERNAME` | LambdaTest username (required) |
| `TESTMU_ACCESS_KEY` | LambdaTest access key (required) |
</details>
<details>
<summary>TestingBot</summary>
```bash
export TESTINGBOT_KEY=your_key
export TESTINGBOT_SECRET=your_secret
```
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": ["-y", "@wdio/mcp@latest"],
"env": {
"TESTINGBOT_KEY": "your_key",
"TESTINGBOT_SECRET": "your_secret"
}
}
}
}
```
| `TESTINGBOT_KEY` | TestingBot key (required) |
| `TESTINGBOT_SECRET` | TestingBot secret (required) |
</details>
<details>
<summary>Digital.ai Testing</summary>
```bash
export DIGITALAI_CLOUD_URL=https://your-cloud.example.com
export DIGITALAI_ACCESS_KEY=your_access_key
```
```json
{
"mcpServers": {
"wdio-mcp": {
"command": "npx",
"args": ["-y", "@wdio/mcp@latest"],
"env": {
"DIGITALAI_CLOUD_URL": "https://your-cloud.example.com",
"DIGITALAI_ACCESS_KEY": "your_access_key"
}
}
}
}
```
| `DIGITALAI_CLOUD_URL` | Digital.ai cloud host, e.g. `https://your-cloud.example.com` (required) |
| `DIGITALAI_ACCESS_KEY` | Digital.ai access key (required) |
The access key is sent via the `digitalai:options` capability (mobile) or the flat `digitalai:accessKey` capability (web).
**Report pass/fail status:** WebdriverIO defaults to the BiDi protocol, over which Digital.ai's cloud cannot observe command failures — so reports default to "Passed". To make the cloud reflect actual pass/fail, opt in to classic WebDriver per session:
```js
start_session({
provider: 'digitalai', platform: 'browser', browWhat people ask about mcp
What is webdriverio/mcp?
+
webdriverio/mcp is mcp servers for the Claude AI ecosystem. A Model Context Protocol (MCP) server that enables AI assistants to interact with web browsers and mobile applications using WebDriverIO. Automate Chrome browsers, iOS apps, and Android apps—all through a unified interface. It has 38 GitHub stars and its last recorded update is dated 2026-09-12.
How do I install mcp?
+
You can install mcp by cloning the repository (https://github.com/webdriverio/mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is webdriverio/mcp safe to use?
+
Our security agent has analyzed webdriverio/mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains webdriverio/mcp?
+
webdriverio/mcp is maintained by webdriverio. The last recorded GitHub activity is dated 2026-09-12, with 4 open issues.
Are there alternatives to mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/webdriverio-mcp)<a href="https://claudewave.com/repo/webdriverio-mcp"><img src="https://claudewave.com/api/badge/webdriverio-mcp" alt="Featured on ClaudeWave: webdriverio/mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
The fastest path to AI-powered full stack observability, even for lean teams.