girlCoder8/mcp-playwright-server
3.1
If you are the rightful owner of mcp-playwright-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Model Context Protocol (MCP) server is a robust framework designed to facilitate automated testing and scenario management using Playwright, Postman, and other integrations.
mcp-playwright-server
Automation framework using Playwright and Model Context Protocol for test execution and scenario management.
Project Structure
mcp-playwright-server/
āāā README.md
āāā .gitignore
āāā .env
āāā package.json
āāā .github/
ā āāā workflows/
ā āāā ci.yml
āāā examples/
āāā logs/
āāā postman/
ā āāā sample.postman.json
ā āāā sample-env.postman.json
āāā screenshots/
āāā scripts/
ā āāā run-postman.js
ā āāā headspin-test.sh
āāā src/
ā āāā config/
ā ā āāā appium-config.ts
ā ā āāā headspin-config.ts
ā āāā integrations/
ā ā āāā postman.ts
ā ā āāā zephyr.ts
ā āāā middleware/
ā āāā playwright/
ā āāā server/
ā āāā utils/
What the Automation Framework Entails
- Playwright Integration: Enables browser automation for end-to-end testing.
- Model Context Protocol (MCP): Manages test scenarios and execution context.
- Postman Integration: Supports API testing using Postman collections.
- Zephyr Integration: Connects with Zephyr for test management.
- Appium & Headspin Support: Allows mobile automation and remote device testing.
- Logging & Reporting: Captures logs and screenshots for test runs.
Installation
-
Clone the repository:
git clone https://github.com/your-org/mcp-playwright-server.git cd mcp-playwright-server
-
Install dependencies:
npm install
-
Set up environment variables:
- Copy sample environment files from
postman/
if needed. - Configure any required credentials in
src/config/
.
- Copy sample environment files from
Usage
-
Run Playwright tests:
npm run test
-
Execute Postman collections:
node scripts/run-postman.js
-
Run Headspin tests:
bash scripts/headspin-test.sh
Contributing
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature
). - Commit your changes.
- Push to the branch (
git push origin feature/your-feature
). - Open a pull request.
License
This project is licensed under the MIT License.
For more details, see the documentation in each folder or contact the