Back to Home
tznthou icon

simple-console-mcp

Verified Safe

by tznthou

Overview

Facilitates AI-powered browser debugging by providing a minimal set of tools to monitor console logs, navigate, and execute JavaScript.

Installation

Run Command
npx -y simple-console-mcp

Security Notes

The server includes several critical security hardening measures as noted in the changelog, such as input validation for ports and URLs (preventing shell and protocol injection), race condition protection during cleanup, and the use of an isolated user-data-dir for launched Chrome instances. However, the `execute_js` tool inherently allows the execution of arbitrary JavaScript code within the browser context via `new Function()`. While this is the core intended functionality for AI interaction and includes safety measures like code length limits (10,000 characters) and a 5-second execution timeout, it means that a compromised AI agent or a malicious prompt could potentially execute harmful scripts in the user's browser. Users should be aware of this inherent risk, as arbitrary code execution, even with limits, grants significant control.

Similar Servers

Stats

Interest Score10
Security Score6
Cost ClassLow
Avg Tokens200
Stars1
Forks0
Last Update2025-12-17

Tags

browser debuggingconsole logsjavascript executionAI assistant toolsweb development