byob
Allows the AI to read the user's GitHub feed, obtain session cookies for programmatic access, and interact with GitHub while logged in.
Allows the AI to read the user's Gmail inbox, count unread messages, and interact with Gmail while logged in.
Allows the AI to perform Google searches, click on results, and browse web pages while using the user's real browser session.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@byobread my Twitter timeline"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
byob
Bring Your Own Browser — let your AI assistant use the Chrome you already have open.
English · 中文
byob is a local MCP server that lets AI coding tools (Claude Code, Cursor, Cline, Windsurf, etc.) directly control your real Chrome — the one where you're already logged into everything.
"read my Twitter timeline and summarize the top 5 posts"
"google 'mcp protocol spec', click the first result, read the page"
"take a screenshot of example.com"
"grab my GitHub session cookie so I can curl with it"
"open my Gmail tab and tell me how many unread"WebFetch | Headless Puppeteer | byob | |
Sees logged-in pages | ❌ | ⚠️ manual cookie copy | ✅ already logged in |
Passes bot detection | ❌ | ❌ | ✅ real human browser |
Setup time | 0 | hours | ~5 min |
Cloud cost | free | $$ | free |
Install
Quick install (recommended)
curl -fsSL https://raw.githubusercontent.com/wxtsky/byob/main/install.sh | bashThe script checks prerequisites (Node.js ≥ 20, bun, Chrome), clones the repo, builds everything, and walks you through MCP registration interactively. If bun is not installed, it offers to install it for you.
Set
BYOB_INSTALL_DIRto change the install location (default:~/byob).
Manual install
Requires Node.js ≥ 20, bun, Chrome, and any MCP-compatible AI tool.
git clone https://github.com/wxtsky/byob
cd byob
bun install
bun run setupbun run setup walks through the install interactively:
Pick output language (English / 中文)
Generates a unique extension key for you
Builds the Chrome extension
Writes the config that lets Chrome talk to byob
Prompts you to multi-select your AI tools, then registers each one (CLI tools via their
mcp addcommand, JSON-config tools by writing the config file directly)
After the script finishes, three manual steps remain:
Step 2 — Load extension in Chrome
Open chrome://extensions in Chrome.
Top-right → turn ON Developer mode
Top-left → click Load unpacked
Select the folder printed in your terminal, something like:
/your/path/to/byob/packages/extension/output/chrome-mv3
Step 3 — Restart Chrome
Quit Chrome completely (⌘Q on Mac / close all windows on Windows), then reopen.
Closing a single tab or window is not sufficient — Chrome only reads the Native Messaging config at startup.
Step 4 — (Reference) Manual MCP registration
The setup script registers your selected tools automatically. The block below is for reference only — use it if you skipped the prompt or want to register a different tool later:
claude mcp add byob -s user -- /path/to/tsx /path/to/byob-mcp.tsTo enable browser_eval, add -e BYOB_ALLOW_EVAL=1 after -s user.
codex mcp add byob -- /path/to/tsx /path/to/byob-mcp.tsAdd to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"byob": {
"command": "/path/to/tsx",
"args": ["/path/to/byob-mcp.ts"]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json (same JSON format as Cursor):
{
"mcpServers": {
"byob": {
"command": "/path/to/tsx",
"args": ["/path/to/byob-mcp.ts"]
}
}
}Open Cline sidebar → MCP Servers → Configure, then add (same JSON format):
{
"mcpServers": {
"byob": {
"command": "/path/to/tsx",
"args": ["/path/to/byob-mcp.ts"]
}
}
}The actual paths are printed by the setup script. The examples above use shortened paths for readability.
To enablebrowser_eval, add"env": { "BYOB_ALLOW_EVAL": "1" }to the config (or-e BYOB_ALLOW_EVAL=1for CLI tools).
Step 5 — Wait for setup to confirm the bridge is online
After you finish steps 2 and 3 (load the extension and ⌘Q-restart Chrome), setup auto-detects the bridge coming online and prints ✓ bridge online. The installation is complete — open a new session in your AI tool and try "use byob to read ...".
If you exited setup early with Ctrl+C, or want to check the state later:
bun run doctorbun run doctor prints actionable fixes under every ✗ (e.g. "⌘Q-restart Chrome", "extension ID mismatch", etc.).
Tools
Tool | What it does |
| Open a page, scroll through, read all text |
| Same, returns clean markdown (no nav/ads) |
| Pull |
| Snapshot console.log / warn / error |
| Start recording HTTP + WebSocket traffic |
| Stop recording, export JSON or HAR |
| Screenshot → saved to disk |
| Download all images from a page |
| Click a button or link |
| Type into an input (optionally press Enter) |
| Send a keyboard key (Enter, Escape, F5, ArrowDown, ...) |
| Hover the mouse over an element to trigger tooltips/menus |
| Choose an option in a native |
| Scroll to top/bottom, an element, or a Y coordinate |
| Get raw HTML of an element or the whole page |
| Export cookies for |
| Open a URL in a new or existing tab |
| Go back one step in browser history |
| Go forward one step in browser history |
| Wait for an element to appear |
| List all open tabs |
| Switch to a tab |
| Close a tab by tabId |
| Run JavaScript on the page (off by default) |
| Write a cookie via |
| Save current page as PDF (default |
| Read |
| Page Web Vitals + navigation timing. |
| Upload local files to |
| Start a stateful request-interception session. |
| Stop a |
| Drag the mouse from one point to another (linear interpolation). |
| Emulate mobile/tablet viewport / DPR / touch / UA. |
17 of these tools support framePath to reach into nested iframes (including cross-origin).
Full schemas: shared/src/schemas.ts
How it works
AI tool → byob-mcp → byob-bridge → Chrome extension → your tab
(stdio) (Unix socket) (Native Messaging) (Chrome DevTools Protocol)All communication stays local. No data leaves your machine. When Chrome closes, all byob processes exit automatically.
Everyday commands
bun run setup # install or re-install
bun run doctor # check what's working
bun run bridges # list running bridge processes
bun run logs # tail the bridge log
bun run unsetup # remove everythingAll run from the byob repo root.
Reliability
End-to-end cancellation.
Ctrl+Cpropagates through the entire chain (MCP → bridge → extension → Chrome), cleanly detaching all debug sessions.DevTools conflict handling. If DevTools is open on a tab,
browser_evalautomatically falls back tochrome.scripting.executeScript.Sleep/wake recovery. After a laptop sleep cycle, byob resets all debug sessions so the next call starts from a clean state.
Security
browser_evalis off by default — enable withBYOB_ALLOW_EVAL=1. Every call logs + notifies.chrome://,file://, Google/MS/Apple login pages are blocked by default.Each install gets a unique extension key — no collisions.
Socket files are
0600, dirs are0700. Other users can't see them.Zero outbound network traffic. No analytics, no pings, no crash reports.
Chrome displays a "byob is debugging this browser" banner on active tabs. This is a Chrome security feature and cannot be suppressed.
Troubleshooting
Symptom | Cause | Fix |
| Chrome not running or extension disabled | Check |
| DevTools open on that tab | Close DevTools |
| URL on the blocklist | See Security section |
| Extension lost connection | Reload at |
Nothing works after install | Chrome was not fully restarted | Quit Chrome completely ( |
Run bun run doctor for detailed diagnostics on which step failed.
Platform notes
Platform | Auto | Manual |
macOS | Auto-registers selected MCP tools | Open |
Windows | Same + writes Native Messaging host to registry | Same as macOS |
Linux | Auto-registers selected MCP tools | Same as macOS |
More
MIT licensed. byob has broad access to your browser — only use it on machines and accounts you own.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wxtsky/byob'
If you have feedback or need assistance with the MCP directory API, please join our Discord server