brave-mcp: open-source MCP server lets AI agents drive your logged-in Brave browser
5teN0 · reddit · 2026-11-19
A solo dev released brave-mcp (MIT), a local MCP server that lets multiple MCP clients (Claude Desktop, Codex, etc.) share control of your already-logged-in Brave browser, avoiding the separate headless-profile problem of existing tools.
Architecture & security:
- One background process holds a single CDP connection to Brave (enabled once at brave://inspect); clients share it via a user-only Unix socket — no extension, no HTTP port
- Agents can't run arbitrary JS in the page; element references expire after 10 minutes
- Safety switches: a dedicated agent profile, a blocklist hiding banking/mail sites, uploads restricted to one folder
After a question about redirects to blocked sites, the author ran a full security review: 1 high, 5 medium, 13 low findings; 14 fixed in 0.4.0, the rest documented. macOS + Brave Nightly only; no protection against prompt injection in page text; Chrome users should use Chrome DevTools MCP or Playwright MCP. Install: npx -y brave-session-mcp.
More from coding & agent
- Google Labs launches Stitch Loop, an agent that keeps improving shipped code — tokumin · 2026-11-19
- Speed up CI for AI-written code: caching, faster runners, test sharding — rseroter · 2026-11-19
- Netlify rebrands around agent-driven app building with live preview workflow — thisiskp_ · 2026-11-19
- Agentcard raises $8M to let agents buy from 5,000+ stores via Stripe Link — jeff_weinstein · 2026-11-19
- hstack open-sources one-command self-hosting for the Hermes agent — TheMoonMidas · 2026-11-19
- 16 AI models ran produce buying for 90 days — only 3 beat a simple reorder formula — ycombinator · 2026-11-19