io.github.vola-trebla/playwright-network-chaos-mcp
MCP server that gives AI agents dynamic network chaos control over Playwright browser sessions
Versions
0.1.1latestTools 8
simulate_api_failure Intercepts API requests matching a URL pattern and makes them return an error status code.
inject_latency Adds artificial delay to requests matching a URL pattern, simulating slow networks or overloaded APIs.
block_resources Blocks requests to specified URL patterns — useful for simulating third-party outages (analytics, CDNs, tracking).
simulate_network_drop Aborts requests matching a pattern after a delay, simulating a mid-flight connection drop.
trigger_system_network_error Aborts requests matching a URL pattern with a system-level network error code, simulating OS-level failures
simulate_stateful_failure Intercepts requests matching a URL pattern and fails the first N requests with an error status,
inject_response_corruption Intercepts requests matching a URL pattern and returns a malformed or corrupted response,
assert_chaos_handled Injects a chaos HTTP status into all matching requests, then returns a structured verdict:
Permissions 2
network medium shell high