Playwright Network Chaos MCP server
MCP server that gives AI agents dynamic network chaos control over Playwright browser sessions
1 stars48 downloads/wk
Reviews
Write oneNobody has reviewed Playwright Network Chaos yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Playwright Network Chaos tools (8, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
assert_chaos_handledInjects a chaos HTTP status into all matching requests, then returns a structured verdict:
block_resourcesBlocks requests to specified URL patterns — useful for simulating third-party outages (analytics, CDNs, tracking).
inject_latencyAdds artificial delay to requests matching a URL pattern, simulating slow networks or overloaded APIs.
inject_response_corruptionIntercepts requests matching a URL pattern and returns a malformed or corrupted response,
simulate_api_failureIntercepts API requests matching a URL pattern and makes them return an error status code.
simulate_network_dropwrite actionAborts requests matching a pattern after a delay, simulating a mid-flight connection drop.
simulate_stateful_failureIntercepts requests matching a URL pattern and fails the first N requests with an error status,
trigger_system_network_errorAborts requests matching a URL pattern with a system-level network error code, simulating OS-level failures
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan10 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 131 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Playwright Network Chaos compares
Against every graded Scraping and browsing MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 58% of 868 Scraping and browsing servers
- Tools
- 8
- the typical Scraping and browsing server has 6
- Tools that change things
- 13%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 50% of 581 Scraping and browsing servers
- Downloads a week
- 48
- more than 36% of 304 Scraping and browsing servers with a package
What its tools let an agent do: 6 read · 1 change · 1 run or deploy
Install Playwright Network Chaos in Claude Code, Cursor or VS Code
Runs npx -y playwright-network-chaos-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add playwright-network-chaos-mcp -- npx -y playwright-network-chaos-mcp
What the publisher says
From the Playwright Network Chaos repository's README, as published. We do not edit it. Read it on GitHub
playwright-network-chaos-mcp 🐸💥
An MCP server that gives AI agents dynamic network chaos control over Playwright browser sessions.
Your tests run on perfect networks. Your users don't. This MCP lets AI agents simulate API outages, inject latency, drop connections mid-flight, and block third-party resources — then assert whether the app handles it gracefully.
🤔 The Problem
CI environments have flawless connectivity. APIs respond in milliseconds. CDNs never go down. So your tests pass — and then production breaks when the payment service returns a 503, the network drops mid-checkout, or Google Analytics hangs for 8 seconds and freezes the page.
AI agents writing Playwright tests have no way to introduce or reason about network instability. They can't ask:
- 🙈 Does the checkout page show an error state when the payment API fails?
- 🙈 Does the skeleton loader appear while the dashboard API is slow?
- 🙈 Does the app still work if all tracking scripts are blocked?
- 🙈 What happens if the network drops after the order is submitted but before the response arrives?
playwright-network-chaos-mcp fixes that.
🛠️ Tools
simulateapifailure
Intercepts requests matching a pattern and forces them to return an error status code. Checks if the app shows a fallback UI.
{
"url": "https://your-app.com/checkout",
"intercept_pattern": "**/api/payment**",
"status_code": 503,
"fallback_selector": ".error-boundary",
"wait_ms": 2000
}{
"intercepted_count": 2,
"fallback_found": true,
"fallback_selector": ".error-boundary",
"page_state": {
"page_errors": [],
"console_errors": ["Failed to load resource: 503"]
}
}inject_latency
Adds artificial delay to matching requests. Checks if loading states appear while the app waits.
{
"url": "https://your-app.com/dashboard",
"intercept_pattern": "**/api/**",
"latency_ms": 3000,
"jitter_ms": 500,
"loading_selector": ".skeleton-loader"
}{
"intercepted_count": 4,
"intercepted_requests": [
{ "url": "https://api.your-app.com/users", "method": "GET", "delay_ms": 3241 }
],
"loading_state_found": true,
"load_time_ms": 3890
}block_resources
Aborts requests to specified URL patterns — for testing third-party outages (analytics, CDNs, tracking pixels).
{
"url": "https://your-app.com",
"block_patterns": ["**/analytics**", "*.doubleclick.net/**", "**/hotjar**"],
"core_content_selector": ".main-content",
"wait_ms": 2000
}{
"blocked_count": 7,
"blocked_urls": ["https://www.google-analytics.com/analytics.js", "..."],
"core_content_found": true,
"page_state": { "page_errors": [], "console_errors": [] }
}simulatenetworkdrop
Aborts requests mid-flight after a delay — simulating connection loss between request and response.
{
"url": "https://your-app.com/checkout",
"intercept_pattern": "**/api/order**",
"drop_after_ms": 800,
"fallback_selector": ".network-error-toast",
"wait_ms": 3000
}{
"intercepted_count": 1,
"fallback_found": true,
"fallback_selector": ".network-error-toast",
"page_state": { "page_errors": ["TypeError: Failed to fetch"] }
}triggersystemnetwork_error
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Playwright Network Chaos: common questions
- Is Playwright Network Chaos MCP server safe?
- Mostly: it is graded B (82/100). Read the Playwright Network Chaos safety report
- How do I install Playwright Network Chaos?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Playwright Network Chaos need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Playwright Network Chaos maintained?
- The last commit was 167 days ago (2026-05-19). The latest release is v0.2.1.
- What can I use instead of Playwright Network Chaos?
- Servers from other publishers that do the same job: Cdpilot MCP server, invisible_playwright_mcp MCP server and Actionbook MCP server.
- How does Playwright Network Chaos compare with other Scraping and browsing MCP servers?
- safety score 82/100 (higher than 58% of 868 Scraping and browsing servers); tools 8 (the typical Scraping and browsing server has 6); tools that change things 13% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Playwright Network Chaos
Same job from other publishers: the closest match first, then the best rated.
- CdpilotZero-dependency browser automation over raw CDP — no Puppeteer, Playwright, or Selenium.not reviewedGrowingB
- invisible_playwright_mcpAI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.not reviewedEstablishedA
- ActionbookLet your AI agent operate any website through a real, logged-in browser session.not reviewedEstablishedA
- CloakBrowser MCPPlaywright MCP-compatible browser automation bridge for CloakBrowser Chromium.not reviewedEstablishedB
Slack MCP ServerCatch up on Slack without reading it. Unreads, threads, search. Browser-session or hosted OAuth.not reviewedEstablishedA