Skip to main content

browserbridge-mcp

PyPI version CI License: MIT Python 3.10+ MCP Compliant M8ven Score

browserbridge-mcp MCP server

BrowserBridge MCP is a lightweight HTTP/DOM session bridge, Accessibility Object Model (AOM) extractor, and SHA-256 action receipt ledger for Model Context Protocol (2024-11-05) agents.

Instead of launching heavy browser binaries for static or server-rendered web workflows, BrowserBridge fetches HTML over httpx, distills interactive elements into compact @node trees, tracks stateful form/click transitions per session, and records append-only SHA-256 DOM hash chains in SQLite.

Features

  • HTTP Navigation with Redirect SSRF Guard: Validates initial and redirect URLs against loopback, RFC1918 private networks, and cloud metadata (169.254.169.254).
  • Accessibility Object Model (AOM) Extraction: Condenses <button>, <a href>, and <input> elements into compact @node-N descriptors.
  • Clean Text Extraction: Strips <script>, <style>, <svg>, and markup noise into readable plain text.
  • SHA-256 Durable Action Receipts: Every navigate_page, click_element, and fill_form_field call records pre_state_hash and post_state_hash transitions in SQLite (~/.browserbridge/receipts.db, 0600) for audit verification via verify_action_trail.
  • Session Pool Reaper: Isolates concurrent session_id states and evicts idle sessions automatically after configurable TTL expiration.

Quickstart

Run with uvx

uvx browserbridge-mcp

Claude Desktop / Cursor Configuration

{
  "mcpServers": {
    "browserbridge-mcp": {
      "command": "uvx",
      "args": ["browserbridge-mcp"]
    }
  }
}

CLI Inspection

# Inspect interactive AOM nodes of a public web page
browserbridge aom https://example.com

# Verify SHA-256 receipt continuity for a session
browserbridge verify-trail --session default

MCP Tools Reference

Tool Parameters Description
navigate_page url, session_id Fetch an HTTP(S) page into session state and issue a SHA-256 receipt
extract_clean_text session_id Extract plain readable text from the current session HTML
extract_accessibility_tree session_id Extract compact interactive AOM nodes (@node-1, buttons, links, inputs)
click_element selector, session_id Resolve selector/AOM target, record session click state, and issue a receipt
fill_form_field selector, value, session_id Populate session form field state and issue a receipt
get_page_status session_id Return current URL, title, HTTP status code, and truncated DOM hash
get_action_receipt receipt_id Fetch full stored receipt record by receipt_id
verify_action_trail session_id Verify contiguous post_state_hash == next.pre_state_hash chain across a session
get_pool_status (none) Inspect active session count, session IDs, and idle TTL configuration

Genesis MCP Ecosystem

Module Description Repository
CrawlEngine MCP HTTP web extraction to clean Markdown, JSON-LD parsing, and proxy rotation GitHub
BrowserBridge MCP Lightweight HTTP/DOM session automation with SHA-256 action receipts GitHub
PgSafe MCP Read-only PostgreSQL/SQLite query guard, PII masking, and dry-run mutations GitHub
OmniBridge MCP Multi-channel notification bus with SQLite retry queue GitHub
SysFlow MCP Linux systemd inspection, confined log tailing, and port auditing GitHub
FastMCP Forge Zero-dependency FastMCP framework, CLI scaffolder, and SSE middleware GitHub

Support

If you find this project useful, you can support maintenance on Ko-fi.

License

MIT (c) 2026 Johann Schiffer

Metadata

Release files for browserbridge-mcp 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for browserbridge-mcp 2.1.0
File Size Uploaded Provenance Actions
browserbridge_mcp-2.1.0.tar.gz 23.2 kB Without provenance Details for browserbridge_mcp-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for browserbridge-mcp 2.1.0
File Interpreter ABI Platform Actions
browserbridge_mcp-2.1.0-py3-none-any.whl Python 3 none any Details for browserbridge_mcp-2.1.0-py3-none-any.whl

Total release size: 42.6 kB

Release files / browserbridge_mcp-2.1.0.tar.gz

Download URL browserbridge_mcp-2.1.0.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fdecc1f4ef5fe50bdfbdcb9eb3151ced24dee0f5b312d9bea5a7114d0011a52a
BLAKE2b-256 checksum
How to use checksums
5aeb5d3e9de66ce73b6aac19285d17d7543ca7384d8244ff904082bb4730a851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / browserbridge_mcp-2.1.0-py3-none-any.whl

Download URL browserbridge_mcp-2.1.0-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cd897fdb93fea1552e48b4ad42485fe39e1b7cc17d88594118114d103f67096
BLAKE2b-256 checksum
How to use checksums
60496395c6318073936e2a66346b1903b51a0ac64a389a3e158bb6df3ba348af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for browserbridge-mcp 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page