Infy MCP Playwright is an automation testing server built using Playwright. It exposes an HTTP API through which users can execute browser tests without creating a complete Playwright automation framework. The tool can open websites, perform actions, validate links, collect browser errors, execute accessibility checks, and automatically generate re
MCPpedia last refreshed this data
Infy MCP Playwright is an MCP server that infy MCP Playwright is an automation testing server built using Playwright. It exposes an HTTP API through which users can execute browser tests without creating a complete Playwright automation framework. The tool can open websites, perform actions, validate links, collect browser errors, execute accessibility checks, and automatically generate re. Its tool list has not been published yet over sse, requires no API key, and scores 40/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"infy-mcp-playwright": {
"args": [
"-y",
"infy-mcp-playwright"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP Playwright server for web app testing automation. Exposes an HTTP API to run Playwright tests (navigation, clicks, link checks, screenshots). This tool can be used for quick website validation, smoke testing, link validation, accessibility testing, performance checks, and basic SEO testing. It reduces the need to manually create a separate Playwright framework for every small testing requirement.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'infy-mcp-playwright' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked infy-mcp-playwright against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in browser
Chrome DevTools for coding agents
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
MCP server paired with a browser extension that enables AI agents to control the user's browser.
MCP Security Weekly
Get CVE alerts and security updates for Infy MCP Playwright and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP Playwright server for web app testing automation. Exposes an HTTP API to run Playwright tests (navigation, clicks, link checks, screenshots). This tool can be used for quick website validation, smoke testing, link validation, accessibility testing, performance checks, and basic SEO testing. It reduces the need to manually create a separate Playwright framework for every small testing requirement.
npm install infy-mcp-playwright
Or install globally:
npm install -g infy-mcp-playwright
Local project:
npm start
Global CLI:
infy-mcp-playwright
The server prints:
MCP Server Running on Port 3000
Set PORT to change the listen port (default: 3000). Set HEADLESS=false to open a visible browser window.
Verify the server is running without starting a browser test:
curl http://localhost:3000/health
Expected response:
{
"status": "ok",
"service": "infy-mcp-playwright"
}
curl -X POST http://localhost:3000/run-test \
-H "Content-Type: application/json" \
-d '{
"url": "https://perfectqaservices.com",
"checkLinks": {
"selector": "a"
}
}'
| Field | Description |
|---|---|
url | Page URL to open (required) |
steps | Array of user actions to run after the page loads (see below) |
type | { selector, value } — fill an input (legacy single-step shortcut) |
press | Keyboard key (e.g. "Enter") |
click | { selector } — click an element |
checkLinks | { selector } — visit each matching link and report status |
After the page loads, steps runs a real user flow. Each step is recorded in stepResults. If a step fails, the test stops and returns status: "failed" with the failed step.
action | Fields | What it does |
|---|---|---|
click | selector, optional timeout | Click an element |
type / fill | selector, value, optional timeout | Clear and type into an input |
press | key (or value), optional selector | Press a keyboard key |
wait | selector and/or timeout | Wait for an element, or wait a number of ms |
assertText | selector, text | Fail if the element does not contain text |
screenshot | optional name | Save a full-page screenshot under artifacts/ |
curl -X POST http://localhost:3000/run-test \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/login",
"steps": [
{ "action": "type", "selector": "#email", "value": "user@test.com" },
{ "action": "type", "selector": "#password", "value": "secret" },
{ "action": "click", "selector": "button[type=submit]" },
{ "action": "wait", "selector": ".dashboard", "timeout": 10000 },
{ "action": "assertText", "selector": "h1", "text": "Welcome" },
{ "action": "screenshot", "name": "after-login" }
]
}'
const { runTest } = require('infy-mcp-playwright');
const result = await runTest({
url: 'https://example.com',
checkLinks: { selector: 'a' }
});
worker.js performs additional runtime checks and produces reports and artifacts automatically. Notable request options and outputs:
Request body options:
browser: chromium|firefox|webkit — choose the engine (default: chromium).headless: boolean — run with a visible browser when false (default: true).mobile: boolean — emulate iPhone 13 when true.darkMode: boolean — set page color scheme to dark when true.slowMo: number — slow motion in ms for Playwright (default: 200).Runtime checks performed: performance metrics (dns, tcp, ttfb, dom/load times), memory usage, empty-page detection, infinite-loader detection (com