Skip to main content

MCP server for browser automation using DrissionPage

Project description

chrome-mcp

A Model Context Protocol server for browser automation, powered by DrissionPage.

Lets MCP clients (Claude Desktop, Claude Code, Cursor, etc.) drive a real Chromium browser: navigate, screenshot, execute JavaScript, snapshot the DOM, and capture network traffic — all through the standard MCP tool interface.

Features

  • Navigation — open URLs with a configurable timeout
  • Screenshots — full-page or viewport capture
  • JavaScript execution — run arbitrary JS in the page context
  • DOM snapshot — accessibility-tree based text snapshot for LLM consumption
  • Network capture — record request/response metadata for analysis
  • Workspace isolation — logical /workspace paths are mapped to a project-local directory

Installation

uv tool install chrome-mcp
# or
uvx chrome-mcp
# or
pip install chrome-mcp

Requires Python ≥ 3.10 and a local Chromium-based browser.

Usage

Add to your MCP client config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "chrome": {
      "command": "chrome-mcp"
    }
  }
}

Tools provided

Tool Description
navigate Navigate to a URL
screenshot Capture a screenshot
execute_js Execute JavaScript in the page
get_current_url Get the current URL
get_page_title Get the page title
close_browser Close the browser instance
get_dom_snapshot Get a text snapshot of the DOM
start_capture Start network capture
get_captured_requests Retrieve captured network requests
stop_capture Stop network capture and clear buffer

License

GPL-3.0-only

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chrome_mcp-0.1.0.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chrome_mcp-0.1.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file chrome_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: chrome_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for chrome_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b23872e27cc0848c536de307e5380f9c5e8269fa7b0eb93f318099d2e32bdbf
MD5 15cc32b78916a805ba68818e7f04a637
BLAKE2b-256 23bf06f1145a9d5f3df962fdb28bd053a4cb3c5d13dded8fae3e9270ea1b02bc

See more details on using hashes here.

File details

Details for the file chrome_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chrome_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for chrome_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85751f231700b081daf56d489a55ff3440b571b5865f33400e003d3b484f4bdc
MD5 48faf5eb25dc9a7255bf38b148d52841
BLAKE2b-256 55a77db327133a2d0afc87311f69e53f00a4e76bfd5565ca0e1178fe8fc525ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page