Skip to main content

browserbridge-mcp

PyPI version CI License: MIT Python 3.10+ MCP Compliant

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.0.1

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.0.1
File Size Uploaded Provenance Actions
browserbridge_mcp-2.0.1.tar.gz 20.9 kB Without provenance Details for browserbridge_mcp-2.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 38.0 kB

Release files / browserbridge_mcp-2.0.1.tar.gz

Download URL browserbridge_mcp-2.0.1.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4fe9bbcc53889be0d9f66aa9969752e339f2da757be38096bb1f2885a56176e7
BLAKE2b-256 checksum
How to use checksums
1078d2b76a2171f68715e3bcec241c44b702827596065a009b50810d3399f561
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

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

Download URL browserbridge_mcp-2.0.1-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1b0ed403d06ce24455478349edb7bad3c0c8ad2d731c6f2a4d230b2991635d7
BLAKE2b-256 checksum
How to use checksums
c5cf883c43848d008fe931b76db69c3134933a426f11ba5bacc21e1fb1de9f5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for browserbridge-mcp 2.0.1

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