Automate web testing with AI-powered recording, execution, and discovery integrated into your developer workflow
The VibeShift Web Tester MCP (Model Context Protocol) server enables seamless integration between AI coding assistants and web testing workflows. By leveraging the MCP protocol, this server allows developers to automate test recording, execution, and discovery using natural language prompts. This solution aims to address the time-consuming and error-prone process of manually testing web applications after generating code with AI assistants.
The VibeShift Web Tester MCP Server provides a robust framework for integrating various AI coding assistants such as GitHub Copilot, Cursor, Roo Code, etc., through MCP. It streamlines the development cycle by enabling developers to record new test flows, execute existing tests, and discover potential test steps directly within their AI-assisted development environment.
The VibeShift Web Tester MCP Server offers several core features that enhance the integration between AI applications and web testing processes. These include:
These features leverage the MCP protocol to provide a standardized interface between AI applications and web testing tools, ensuring compatibility and flexibility.
The architecture of the VibeShift Web Tester MCP Server is designed around an MVC (Model-View-Controller) pattern. The server acts as the controller layer, mediating communication between the AI application (MCP client), web test agent, and browser. Key components include:
mcp_server.py
to handle requests from MCP clients.The MCP protocol flow can be visualized as follows:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Web Test Agent / Browser]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
This diagram illustrates the interaction between AI applications, the MCP server, and web testing tools.
To get started with VibeShift Web Tester MCP Server, follow these steps:
git clone <repository-url>
cd <repository-name>
python -m venv venv
source venv/bin/activate # Linux/macOS
# venv\Scripts\activate # Windows
pip install -r requirements.txt
playwright install --with-deps # Installs browsers and OS dependencies
Next, configure the server with necessary environment variables.
The VibeShift Web Tester MCP Server is particularly useful in several real-world scenarios:
Automated Test Flow Recording:
"Record a test to go to https://practicetestautomation.com/practice-test-login/, type 'student' into the username field, type 'Password123' into the password field, click the submit button, and verify the text 'Congratulations student' is visible."
*The server will perform these actions automatically and save a test_....json
file in output/
.
Regression Testing:
"Run the regression test output/test_practice_test_login_20231105_103000.json"
*The server will execute the steps from the specified JSON file and report PASS/FAIL status, detailing any errors and evidence paths.
Test Discovery:
"Discover potential test steps starting from https://practicetestautomation.com/practice/"
*The server will crawl the site, analyze pages, and return suggested test steps for each page.
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
To add the MCP Server, include the following configuration in your .env
file:
{
"mcpServers": {
"Web-QA": {
"command": "uv",
"args": ["--directory", "<path/to/cloned_repo>", "run", "mcp_server.py"]
}
}
}
This configuration ensures the server runs continuously while interacting with your AI coding assistant.
The VibeShift Web Tester MCP Server is compatible with various MCP clients, ensuring seamless integration across different AI applications. The performance matrix outlines key compatibility details:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
Automated Test Generation:
Continuous Integration Testing:
To contribute to VibeShift Web Tester MCP Server:
Clone the Repository:
git clone <repository-url>
cd <repository-name>
Set Up the Environment:
Run Tests:
pytest tests/
Submit Pull Requests: Create and submit pull requests for bug fixes, feature enhancements, or new configurations.
For more information on Model Context Protocol (MCP) and related resources:
By leveraging VibeShift Web Tester MCP Server, developers can greatly enhance their web testing processes using AI applications, ensuring efficient and accurate code validation throughout the development lifecycle.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration