wdio
WebdriverIO mcp server
claude mcp add --transport stdio siri100-wdio-mcp-server node ./server.js
How to use
This MCP server exposes WebdriverIO-based automation tools to a GitHub Copilot Agent operating in Agent Mode. It allows you to describe test scenarios in plain English, and the agent will orchestrate real browser actions through WDIO by calling the exposed tools. Available tools include openBrowser, navigate, clickElement, setValue, getText, isDisplayed, and closeBrowser. The server handles translating high-level scenarios into a sequence of tool invocations and can optionally generate reusable WDIO test code from those scenarios. To use it, run the MCP server locally, connect Copilot Agent in Agent Mode, and enable the tools you want the agent to access. Then you can start describing test flows in natural language, such as navigating to a URL, logging in, interacting with page elements, and validating results, with the agent executing the actions in real time via WDIO.
How to install
Prerequisites:
- Node.js (v14+ recommended) and npm/yarn installed
- Access to the MCP server code and repository
Installation steps:
-
Clone the repository git clone https://github.com/your-username/wdio-mcp-server.git cd wdio-mcp-server
-
Install dependencies npm install
-
Configure the MCP server (optional guidance)
- Ensure mcp.json (or the configuration file used by your setup) references the correct entry point for the Node server (e.g., server.js).
- If you are using a Docker/VM environment, adjust the docker configuration accordingly.
-
Run the server
- If using npm scripts, you may run: npm run start
- Or execute directly: node server.js
-
Verify the server is running
- Check logs for a ready/listening message and ensure tools are exposed as described in the docs.
-
Connect Copilot Agent in Agent Mode and configure tools
- In Copilot Agent settings, enable Agent Mode and select the tools exposed by this MCP server (openBrowser, navigate, clickElement, setValue, getText, isDisplayed, closeBrowser).
Additional notes
Tips and troubleshooting:
- If tools are not appearing in Copilot Agent, ensure the MCP server has fully started and that the exposed tool definitions align with what the agent expects.
- Some WDIO actions may require explicit waits or selectors; consider using isDisplayed and getText to validate element readiness before interacting.
- If you modify tools, restart the MCP server to refresh the exposed capabilities.
- Environment variables can be added under the mcpServers.<name>.env section if your WDIO setup requires specific configurations (e.g., browser capabilities, Selenium/WDIO services).
- For local development, ensure a compatible browser driver is installed (e.g., Gecko or Chrome driver) and that WDIO is configured to use it.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud