Purpose
Wopee MCP Server provides autonomous testing capabilities for web applications. By connecting MCP (Model Context Protocol)-enabled AI agents such as Claude and Cursor to Wopee.io, users can generate test cases and user stories in seconds and run autonomous tests. Tests are executed in a real browser, providing pass/fail results and screenshots, and can generate Playwright code.
Key Capabilities
The MCP server provides the following tools:
- Suite management: Retrieve existing analysis suites, create and schedule new analysis/crawl suites, create blank suites.
- Generation tools: Generate various artifacts for a specified suite, including application context, user stories, test cases, test case steps, reusable test cases, etc.
- Retrieval tools: Retrieve generated artifacts, such as application context, user stories, Playwright code, etc.
- Update tools: Update or set artifacts for a specified suite.
- Execution and results: Dispatch autonomous testing agents to execute test cases, retrieve recent execution records and test results.
- Issue reporting: Submit failed test runs as GitHub issues to the associated repository, with failed steps, expected and actual results, screenshots, and run links attached.
Usage
Environment Requirements
- Node.js (v18 or higher recommended)
- An MCP-enabled IDE, such as Cursor or VSCode
Configuration
Add the server to the MCP configuration, with the following environment variables set:
WOPEE_PROJECT_UUID: Wopee project UUIDWOPEE_API_KEY: Wopee API key (can be created in the project settings at cmd.wopee.io)WOPEE_API_URL: Wopee API endpoint URL (for testing/development only)
For enterprise proxy or TLS certificate issues, you can configure environment variables such as HTTPS_PROXY、HTTP_PROXY or NODE_EXTRA_CA_CERTS .
Typical Workflow
- Start with suites: Use
wopee_fetch_analysis_suitesto view existing suites, or usewopee_dispatch_analysisto create a new suite. - Generate artifacts: Use
wopee_generate_artifactto generate application context, user stories, test cases, etc. - Retrieve generated content: Use the retrieval tools to retrieve the generated markdown/JSON files.
- Run tests: Use
wopee_dispatch_agentto execute test cases. - Check results: Use
wopee_fetch_recent_executionsorwopee_fetch_executed_test_casesto retrieve execution status and reports.
Use Cases
Suitable for teams that need to automate web application testing, especially for integrating AI-driven test generation and execution in CI/CD pipelines, and for projects that need to quickly generate test cases and user stories.
Limitations
- Test execution runs asynchronously and usually takes 1-3 minutes; the dispatch tool only returns tracking information, not the final pass/fail results.
- A valid Wopee project UUID and API key are required.
- Using the GitHub issue feature requires installing the Wopee.io GitHub App and granting the corresponding repository permissions.
- Some environment variables (such as proxy, TLS certificates) may require additional configuration depending on the enterprise network environment.