web-client-errors-mcp
Verified Safeby LarsArtmann
Overview
Detects client-side web errors on websites for AI coding agents to debug.
Installation
bun dist/index.jsEnvironment Variables
- NODE_ENV
- PLAYWRIGHT_BROWSERS_PATH
- SENTRY_DSN
- SENTRY_ENVIRONMENT
Security Notes
The server uses Playwright to browse arbitrary URLs provided by the user, which is an inherent risk. It launches Chromium with `--no-sandbox` and `--disable-setuid-sandbox` flags, a common practice in containerized headless environments, but reduces browser isolation. Input validation is performed using Zod schemas for all tool parameters, significantly mitigating injection risks. Hardcoded JavaScript executed via `page.evaluate` is benign. Logging includes sensitive data redaction. While DOM snapshot capture is mentioned in documentation and configuration, the provided source code does not show its full implementation, which could pose an XSS/PII risk if not properly sanitized upon completion.
Similar Servers
flowlens-mcp-server
Provides coding agents with full browser context from recorded user flows for debugging and regression testing.
VibeShift
VibeShift is an intelligent security agent that integrates with AI coding assistants to analyze AI-generated code for vulnerabilities, suggest remediations, and facilitate web test recording, crawling, and execution.
context-engineering
Provides a Model Context Protocol (MCP) server that enables AI agents to control a web browser using Selenium for web automation tasks.
tenets
Provides intelligent, token-optimized code context and automatically injects guiding principles to AI coding assistants for enhanced understanding and consistent interactions.