🚀 Wopee.io MCP
(early preview)
Overview
Wopee.io MCP is a Model Context Protocol server for integrating with the Wopee testing platform. This server provides tools for managing analysis suites, generating test cases, user stories, and dispatching autonomous testing agents.
Now, you can use Wopee.io MCP to integrate with your favorite IDE and use Wopee.io AI Agents to increase your productivity and speed up your testing while developing your web app.
Features
- Dispatch Analysis: Start analysis of web applications to understand their structure and behavior
- Dispatch Agent: Execute tests for specific suites with autonomous testing agents
- Generate Artifacts: Create app context, user stories, test cases, and more from analysis results
- Fetch Artifacts: Retrieve existing app context, user stories, test cases, and Playwright code
- Update Artifacts: Modify existing artifacts for a specific suite
- Fetch Analysis Suites: Fetch all analysis suites for a project
Quick Start Guide
🚀 One-Click Installation
For VS Code / Cursor:
Ctrl+Shift+P→ "MCP: Install Server"- Enter:
wopee-mcp - Configure your environment variables in the MCP config
🛠 Available Tools
| Tool | Purpose | Example |
|---|---|---|
wopee_fetch_analysis_suites |
Fetch all analysis suites | Fetch all existing analysis suites for my project |
wopee_dispatch_analysis |
Start app analysis | Dispatch a new analysis suite |
wopee_generate_artifact |
Generate artifacts | Generate app context for my most recent analysis suite |
wopee_fetch_artifact |
Fetch existing artifacts | Fetch user stories for the latest suite |
wopee_update_artifact |
Update existing artifacts | Update app context file for the most recent suite |
wopee_dispatch_agent |
Execute tests | Dispatch agent for my latest suite's user story US001 and test case TC003 |
🔧 Manual Installation
⚙️ Configuration
Add the Wopee MCP server to your MCP configuration:
{
"mcpServers": {
"wopee": {
"command": "npx wopee-mcp",
"env": {
"WOPEE_PROJECT_UUID": "your-project-uuid-here",
"WOPEE_API_KEY": "your-api-key-here"
}
}
}
}
Prerequisites
Before using the Wopee MCP server, ensure you have:
- VS Code with the MCP extension installed, or Cursor ... or even could be used with ChatGPT or Claude or any other AI agent that supports MCP.
- A Wopee API key from cmd.wopee.io (in your project's settings)
- Node.js 18+ installed on your system
Configuration
Environment Variables
Required Environment Variables
WOPEE_PROJECT_UUID- Your Wopee project UUID. This identifies which project you're working with.WOPEE_API_KEY- Your Wopee API key. You can create one at cmd.wopee.io, in your project's settings.
Optional Environment Variables
WOPEE_API_URL- The Wopee API endpoint URL. Should be specified only for testing/development purposes.
Corporate Proxy Configuration
If you're behind a corporate proxy/VPN and experiencing connection timeouts, you can configure proxy settings using standard environment variables:
{
"mcpServers": {
"wopee": {
"command": "npx wopee-mcp",
"env": {
"WOPEE_PROJECT_UUID": "your-project-uuid-here",
"WOPEE_API_KEY": "your-api-key-here",
"HTTPS_PROXY": "http://your-proxy-server:8080"
}
}
}
}
Supported Proxy Environment Variables
HTTPS_PROXYorhttps_proxy- Proxy server URL for HTTPS connections (recommended)HTTP_PROXYorhttp_proxy- Fallback proxy server URL
Finding Your Proxy Settings
If you're unsure about your proxy settings, check your VS Code settings (settings.json) for http.proxy value, or consult your IT department. Common corporate proxy formats:
http://proxy.company.com:8080http://10.x.x.x:8080http://username:password@proxy.company.com:8080(if authentication is required)
Getting Started
Most tools in this MCP server require a suiteUuid to operate. You have two options to get started:
Option 1: Use Existing Suites
Start by fetching your existing analysis suites:
This will return a list of all analysis suites with their UUIDs, which you can then use with other tools.
Option 2: Create a New Suite
If you don't have any suites yet, create a fresh analysis suite:
This will create a new suite and return its UUID, which you can use for subsequent operations.
Usage
Once configured, you can use the Wopee tools in your chat interface. Simply describe what you want to do in natural language.
Quick Examples
Fetch Analysis Suites:
Start Analysis:
Generate Artifacts:
Execute Tests:
Real-World Usage Examples
Complete Testing Workflow
Here's a typical workflow from analysis to test execution:
1. Start Analysis
2. Generate Application Context
3. Create User Stories
4. Generate Test Case Steps
5. Review Generated Tests
6. Execute Tests
Advanced Usage Examples
Multi-Language Support
Generate test cases with additional instructions: "Focus on fields validations, make sure to test all fields. Use USD and EUR currencies. Focus on payment flows."
Custom Analysis Instructions
Data Retrieval Examples
Check Analysis Status
Get Specific Test Cases
View User Stories
Give me the same table with the user stories but also provide a column with number of tests per story
Test Execution Examples
Run Specific Tests
Monitor Execution
Common Workflows
1. New Project Setup
- Dispatch analysis for your application
- Generate app context to understand the application
- Generate general user stories for high-level overview
- Generate user stories with test cases based on analysis
- Generate test case steps for detailed test execution
- Review and organize the generated content
2. Test Execution Workflow
- Check available tests in your analysis
- Select specific tests to execute
- Dispatch agent to run selected tests
- Monitor execution status and results
- Review test outcomes and iterate
3. Multi-Analysis Comparison
- Fetch all analysis suites for your project
- Compare test cases from different analyses
- Check statuses of all analyses
- Select best performing analysis for execution
Tips and Best Practices
1. Use Descriptive Analysis Names
- Include the application name and version
- Add date or iteration information
- Example:
"E-commerce App v2.1 - Payment Testing"
2. Provide Clear Instructions
- Be specific about language requirements
- Include focus areas for testing
- Example:
"Focus on user authentication and payment flows"
3. Monitor Progress
- Check analysis status regularly
- Wait for completion before proceeding
- Use status queries to track progress
4. Organize by Analysis
- Keep related tests in the same analysis
- Use consistent naming conventions
- Document analysis purposes
5. Test Execution
- Start with single test cases
- Monitor execution status
- Scale up to multiple tests once stable
Available Tools
Suite Management
wopee_fetch_analysis_suites
Fetches all analysis suites for your project. This is a good starting point to see what suites are available.
- Returns: Array of analysis suites with their UUIDs, names, statuses, and metadata
Example Usage:
wopee_dispatch_analysis
Creates and dispatches a new analysis/crawling suite for your project. Use this to start a fresh analysis session.
- Returns: Success message with the created suite information
Example Usage:
Generation Tools
These tools generate various artifacts for a specific suite. All require a suiteUuid and type to generate.
wopee_generate_artifact
Generates a specific file (artifact) for the selected suite.
Parameters:
suiteUuid(string, required): The UUID of the suitetype(string, required): One of:APP_CONTEXT- Application context markdownGENERAL_USER_STORIES- High-level user storiesUSER_STORIES_WITH_TEST_CASES- Detailed user stories with test casesTEST_CASES- Comprehensive test casesTEST_CASE_STEPS- Detailed test case stepsREUSABLE_TEST_CASES- Reusable test case templatesREUSABLE_TEST_CASE_STEPS- Reusable test case step templates
Example Usage:
Fetch Tools
These tools retrieve generated artifacts for a specific suite. All require a suiteUuid and type.
wopee_fetch_artifact
Fetches the enquired file (artifact) from the selected suite.
Parameters:
suiteUuid(string, required): The UUID of the suitetype(string, required): One of:APP_CONTEXT- Application context markdownGENERAL_USER_STORIES- General user stories markdownUSER_STORIES- Detailed user stories JSONPLAYWRIGHT_CODE- Generated Playwright test codePROJECT_CONTEXT- Project context markdownidentifier(string, optional): Identifier of the test case to fetch Playwright code for, e.g.,US003:TC004. Required only forPLAYWRIGHT_CODEtype.
Example Usage:
Update Tools
These tools are used to update or set certain files (artifacts) for a specific suite.
wopee_update_artifact
Updates/replaces existing file (artifact) for a specific suite.
Parameters:
suiteUuid(string, required): The UUID of the suitetype(string, required): One of:APP_CONTEXT- Application context markdownGENERAL_USER_STORIES- General user stories markdownUSER_STORIES- Detailed user stories JSONPLAYWRIGHT_CODE- Generated Playwright test codePROJECT_CONTEXT- Project context markdowncontent(string, required): Markdown content forAPP_CONTEXT,GENERAL_USER_STORIESandPROJECT_CONTEXT, structured JSON forUSER_STORIESidentifier(string, optional): Identifier of the test case to update Playwright code for, e.g.,US003:TC004. Required only forPLAYWRIGHT_CODEtype.
Example Usage:
Agent Testing
wopee_dispatch_agent
Dispatches an autonomous testing agent to execute test cases for a selected suite.
Parameters:
suiteUuid(string, required): The UUID of the suite containing the test casesanalysisIdentifier(string, required): The analysis identifier for the suitetestCases(array, required): Array of test case objects to execute, each containing:testCaseId(string): The ID of the test case (e.g.,TC001)userStoryId(string): The ID of the associated user story (e.g.,US001)
Example Usage:
Typical Workflow
-
Start with a suite:
-
Use
wopee_fetch_analysis_suitesto see existing suites, OR -
Use
wopee_dispatch_analysisto create a new suite -
Generate artifacts:
-
Generate app context:
wopee_generate_artifactwithAPP_CONTEXT - Generate general user stories:
wopee_generate_artifactwithGENERAL_USER_STORIES - Generate user stories with test cases:
wopee_generate_artifactwithUSER_STORIES_WITH_TEST_CASES - Generate reusable test cases:
wopee_generate_artifactwithREUSABLE_TEST_CASES - Generate reusable test case steps:
wopee_generate_artifactwithREUSABLE_TEST_CASE_STEPS -
Generate test case steps:
wopee_generate_artifactwithTEST_CASE_STEPS -
Fetch generated content:
-
Use
wopee_fetch_artifactto retrieve generated markdown/JSON files -
Run tests:
- Use
wopee_dispatch_agentto execute test cases with the autonomous testing agent
Notes
- Most tools require a
suiteUuid. Always start by fetching or creating a suite. wopee_dispatch_analysistool will go through the whole cycle of processing - crawling the application and generating all of the files (artifacts) one by one.- It is advisable to use cmd.wopee.io for a convenient visual representation of the generated data and results of the agent runs.
Example Session Flow
Here's a complete example session showing the typical workflow:
User: Dispatch analysis
Assistant: ✅ Analysis successfully dispatched! Analysis UUID: 008ccdd2-91a3-432e-8086-020bf337eaa7
User: Generate app context
Assistant: ✅ App context generated successfully!
User: Generate user stories
Assistant: ✅ User stories generated successfully!
User: Give me all the generated tests in tabular format
Assistant: 📊 Here are all your generated test cases...
User: Dispatch agent to run test TC001 from US001
Assistant: ✅ Test execution started successfully!
🆘 Troubleshooting
Common Issues
- Command not found: Run
npm install -g wopee-mcp - API key error: Check environment variables in MCP config
- Connection failed: Verify internet and API key
- Connection timeout: Configure corporate proxy settings
- Tools not showing: Restart editor
Error Handling
Common Error Messages
-
"User not found" error:
-
Check API key configuration
- Verify project permissions
-
Contact support if persistent
-
"Analysis not found" error:
-
Verify suite UUID
- Check analysis completion status
-
Ensure analysis exists
-
"Test execution failed" error:
- Check test case validity
- Verify application accessibility
- Review test steps
Getting Help
- Check logs: Look in the MCP server output panel
- Verify installation: Run
wopee-mcp --helpin terminal - Test connection: Use the
wopee_dispatch_analysistool
Need help?
For support and further information, please refer to the npm package page or contact the package maintainers.
Note: This package is currently in early preview; features and functionalities are subject to change.