browser-mcp

A remote Model Context Protocol server that gives any MCP client a real headless browser, running on Cloudflare Workers and Browser Run.

Authentication: open — no token required
Open endpoint. Anyone who knows this URL can drive a browser through this server. To require a bearer token, run npx wrangler secret put MCP_AUTH_TOKEN and redeploy; the server picks it up automatically.

Endpoint

https://browser-mcp-legacy.pages.dev/mcp Streamable HTTP

Tools

ToolWhat it does
browser_readPage → Markdown (best default)
browser_htmlRendered HTML
browser_linksAll links on a page
browser_scrapeExtract elements with CSS selectors
browser_extractAI-powered structured JSON
browser_screenshotPNG / JPEG / WebP screenshot
browser_pdfPrint-ready PDF
browser_snapshotHTML + screenshot in one call
browser_automateClick, type and navigate through flows
browser_statusConfiguration check (no browser)

Connect

OpenCode — add to opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "browser": {
      "type": "remote",
      "url": "https://browser-mcp-legacy.pages.dev/mcp",
      "enabled": true
    }
  }
}

Claude Code:

claude mcp add --transport http browser \
  https://browser-mcp-legacy.pages.dev/mcp

This endpoint is open — no authentication header is required.

Example prompts

“Read https://developers.cloudflare.com/browser-run/ and summarize the Quick Actions.”

“Take a full-page screenshot of https://example.com.”

“Extract every job title and location from this careers page as JSON.”

“Open the login page, fill in the form, sign in, and tell me what changed.”