Back to Home
LarsArtmann icon

web-client-errors-mcp

Verified Safe

by LarsArtmann

Overview

Detects client-side web errors on websites for AI coding agents to debug.

Installation

Run Command
bun dist/index.js

Environment 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

Stats

Interest Score11
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars2
Forks0
Last Update2025-12-15

Tags

ai-agentsbrowser-automationerror-detectionweb-monitoringmcp