Back to Home
hangwin icon

mcp-chrome

Verified Safe

by hangwin

Overview

Transforms the Chrome browser into an AI-controlled automation tool, enabling large language models to interact with web pages, analyze content, and manage browser functions.

Installation

Run Command
npx node $(npm root -g)/mcp-chrome-bridge/dist/mcp/mcp-server-stdio.js

Environment Variables

  • CHROME_MCP_NODE_PATH
  • VOLTA_HOME
  • ASDF_DATA_DIR
  • FNM_DIR
  • NVM_DIR
  • ANTHROPIC_BASE_URL
  • ANTHROPIC_AUTH_TOKEN
  • CLAUDE_DEFAULT_MODEL
  • CHROME_MCP_AGENT_DATA_DIR
  • CHROME_MCP_AGENT_DB_FILE
  • CHROME_MCP_PORT
  • MCP_HTTP_PORT

Security Notes

The core functionality involves executing AI-generated or user-provided JavaScript code within the browser (via chrome.scripting.executeScript and `new Function`) and manipulating DOM/network. This inherently carries security risks, as it allows arbitrary code execution and browser control. The `FileHandler` can download files from URLs, which could pose an SSRF risk if the input URL is controlled by a malicious agent, although it generates new filenames and restricts cleanup to a temporary directory. The system offers system-level installation of its native messaging host, requiring administrator/sudo privileges, which is a common but significant permission grant. No obvious hardcoded sensitive secrets were found. The security model relies heavily on the trustworthiness of the AI agent and the inputs it processes, rather than a sandboxed execution environment.

Similar Servers

Stats

Interest Score94
Security Score6
Cost ClassMedium
Avg Tokens3500
Stars9980
Forks875
Last Update2026-01-06

Tags

AI-controlled automationChrome ExtensionBrowser AutomationModel Context ProtocolWebAssembly SIMD