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
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 and mobile applications
using WebDriverIO. Automate Chrome, Firefox, Edge, and Safari browsers plus iOS and Android apps—all 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', browser: 'chrome', What 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 31 GitHub stars and was last updated today.
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 87/100 (tier: Trusted). 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 from today, with 1 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.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。