Back to Home
cvenkatreddy icon

playwright-mcp

Verified Safe

by cvenkatreddy

Overview

This project provides a step-by-step guide and boilerplate for integrating an MCP (Multi-Modal Code Generation Platform) Playwright server to generate and execute UI and API tests using LLM agents.

Installation

Run Command
npx @playwright/mcp@latest

Security Notes

The project uses `child_process.execSync` in `run-footer-tests.js`. While this can be a risk, the executed commands (`npx playwright test`) and their arguments (`testFile`) are hardcoded, mitigating arbitrary command injection. The core functionality relies on an LLM for test generation, implying trust in the LLM's output, which would ideally be reviewed before execution. No explicit `eval` on untrusted input, hardcoded secrets, or direct malicious patterns were found. Network interactions are confined to expected test targets (`nextjs.org`, `fakerestapi.azurewebsites.net`).

Similar Servers

Stats

Interest Score39
Security Score9
Cost ClassMedium
Avg Tokens300
Stars2
Forks0
Last Update2025-11-23

Tags

PlaywrightTest AutomationLLM IntegrationUI TestingAPI Testing