Tether lets Claude Code, Codex, Cursor, OpenCode or any other MCP client use the browser you already use, signed in as you. You choose which tabs it gets. From there the agent can read pages, fill and submit forms, click through flows, read the network log and console, save files and media, and change how a site looks or behaves.
A browser extension (Chrome, Brave, Edge and other Chromium browsers; Firefox, Zen and other Firefox forks) talks to a small local host, and every MCP agent on the machine connects to that host. Nothing on a tab is visible to an agent until you share it or approve the agent's request.
Ideas, feedback and early builds live in the #tether channel of the KuroLabs Discord. The most requested ideas get built first.
Contents
- Quick start
- How it works
- Using it
- Changing sites
- Recording and site knowledge
- Flows
- Watchers
- Tools
- Settings
- Permissions, security and privacy
- Command line
- Files Tether keeps
- Development
- Known limits
- Contributing
- Licence
Quick start
You need Node 20 or newer.
npm install -g tether-browser
tether setup
setup finds Claude Code, Codex, Cursor and OpenCode on your machine and adds Tether to each one's MCP config, links the skill that tells agents when and how to use Tether, and registers the bridge your browsers use to reach it. It changes one entry per config and leaves the rest of the file alone; a config it can't read safely is left untouched, with the snippet printed for you to paste. Then:
-
Install the extension from your browser's store:
- Chrome, Brave, Edge and other Chromium browsers: Tether on the Chrome Web Store. Click Add to Chrome. It connects by itself. If you added the extension before running
tether setup, open the Tether popup once and it connects then. (You can paste the pairing key from tether key instead.)
- Firefox, Zen, LibreWolf, Floorp or Waterfox: Tether on Firefox Add-ons. Click Add to Firefox. It connects by itself.
The stores update Tether by themselves, though a new version can take a few days to clear their review. To get it sooner, the latest release has the same builds: open tether-firefox-<version>.xpi in a Firefox-based browser (it's signed by Mozilla), or unzip tether-chrome-<version>.zip, turn on Developer mode in chrome://extensions, click Load unpacked and pick the folder.
-
Restart any agent that was already running, so it picks Tether up.
-
Check everything with tether doctor.
Open a page, click the Tether icon and choose Share this tab, or just ask your agent to do something in the browser and approve its request.
Setting an agent up by hand
tether setup --print shows the config for every agent without writing anything. Use it for another MCP client, for a project-level config, or if you'd rather paste it yourself. It uses full paths, which works everywhere, including Windows. For Claude Code it looks like:
claude mcp add --scope user tether -- node /path/to/node_modules/tether-browser/host/cli.js
Codex, in ~/.codex/config.toml (single quotes, so Windows backslashes stay literal):
[mcp_servers.tether]
command = 'node'
args = ['/path/to/node_modules/tether-browser/host/cli.js']
Cursor, in ~/.cursor/mcp.json (or .cursor/mcp.json inside one project):
{
"mcpServers": {
"tether": {
"command": "node",
"args": ["/path/to/node_modules/tether-browser/host/cli.js"]
}
}
}
OpenCode, in ~/.config/opencode/opencode.json:
{
"mcp": {
"tether": {
"type": "local",
"command": ["node", "/path/to/node_modules/tether-browser/host/cli.js"]
}
}
}
This form works in OpenCode 1 and 2. If your OpenCode 2 config already groups servers under mcp.servers, put tether there instead.
If the file already lists other servers, add the tether entry next to them. Any other MCP client runs the same command as a stdio server.
From source
git clone https://github.com/udaysinh-git/tether.git
cd tether
npm install
npm run build
node host/cli.js setup
Then load dist/chrome as an unpacked extension, or in Firefox open about:debugging, This Firefox, Load Temporary Add-on and pick dist/firefox/manifest.json.
How it works
Claude Code ─┐ ┌─ Chrome extension ──── shared tabs
Codex ───────┼─ tether (stdio) ─ HTTP ─ host ┤
other MCP ───┘ 127.0.0.1:47821 └─ Firefox bridge ─ Firefox extension ── shared tabs
Each agent starts tether as an ordinary stdio MCP server. The first one starts the host in the background and later ones join it, so every agent sees the same browsers. Browsers reach the host through a small native messaging bridge that tether setup registers: the browser starts it, and it starts the host when needed and supplies the pairing key, so nothing has to be pasted. Firefox-based browsers always use it, because Firefox upgrades an extension's ws://127.0.0.1 connection to wss://, which can't reach a local server. Chromium browsers use it too, and connect over a local WebSocket instead if you paste the key. The host quits after 30 minutes with nothing connected.
A tab becomes available to agents in one of these ways:
- You click Share this tab in the popup.
- An agent calls
start_session and you approve it.
- A shared page opens a new tab or window (a link with
target="_blank", window.open). Tabs you open yourself don't count.
- The agent opens a tab with
open_tab, or any tab is opened inside the agent's own window.
- You turn on bypass mode, which makes every tab available until you turn it off or close the browser.
Next to Share this tab the popup has Read only. A read-only tab can be read (outline, text, screenshots, network, console), but every click, keystroke, navigation and script is refused with a note telling the agent to ask you. Tabs it opens are read only too. Switch a shared tab between the two from the popup at any time.
A shared tab gets a gold badge on the toolbar icon and a small status panel on the page with the agent's name, its latest action, Pause and Stop.
Using it
Sessions an agent starts
An agent doesn't need you to click first. It calls start_session with a one-sentence reason, and a prompt in your browser asks you:
- Its own window (the default): a new window in your browser, signed in as you. The agent works only in that window's tabs, so your own tabs stay private and keep working.
end_session closes it, or you close it.
- The tab you're on (
mode: "current"): for "help me with this page".
Watching and stepping in
The agent has a visible cursor: a gold pointer with its name moves to each element before it clicks, types or picks something, and clicks show a small ripple.
Pause on the status panel or in the popup holds the agent. It can still read the page, but every click, keystroke and navigation is refused until you press Resume. When the agent reaches something only you should do, like a CAPTCHA, a code from your phone, a login or a payment confirmation, it calls wait_for_user. The tab comes to the front with its message and a Done button, and it carries on when you press it.
Drag the status panel anywhere on the page; double-click it to put it back in the corner. To keep pages clear, turn off Show status on the page in the popup. It then appears only when the agent needs you.
Asking before risky actions
Before the agent clicks a button that buys, pays, sends, posts, deletes or confirms, or presses Enter in a form whose button does, Tether stops and asks you. The button gets a gold outline, the agent's cursor rests on it, and the status panel shows what the agent wants to do with Deny and Allow. Nothing happens until you choose, and only a real click counts, so the page itself can't answer. You can also answer from the popup or the side panel.
If you decline, the agent gets an error telling it not to retry. A tool call waits up to 45 seconds, because agents give up on longer calls; the question stays on screen for five minutes, and the agent's next identical call picks up your answer. The check reads button and form labels only, so it is predictable: cookie banners and a plain "Cancel" don't trigger it.
Each site can be set from the popup to ask before risky actions (the default), before every action, or never. Ask before risky actions in settings turns the default off everywhere.
The side panel
Side panel in the popup opens a panel beside the page that stays open while you work. It lists every shared tab with Pause, Resume and Stop, puts any question waiting for you at the top, and keeps a running log of what agents did and what you answered, in the page's own words ("clicked button “Export CSV”"). The log lasts until the browser closes.
Reading and acting
snapshot gives the agent the page as an outline: headings, text and every control, each with a ref like [e14]. It acts by ref with click, type, fill_form, select_option, press_key, hover, scroll and upload_file. Each action returns the page again: the whole outline after a navigation, and otherwise only the lines that changed, under the form or dialog they sit in. Refs stay valid while their element is on the page, so the agent keeps working from what it already has. On a long page that makes each step a few lines instead of a few hundred. Content inside cross-origin iframes (payment forms, embedded forms, widgets) is part of the outline, with refs like [f12.e5] that work in every tool.
In Chromium, Tether uses the browser's debugger, so clicks and keystrokes arrive as real input, scripts run on pages with strict security policies, and the network log includes response bodies. Chromium shows a "started debugging this browser" bar while that is active. Firefox has no debugger API, so there clicks and typing are DOM events, which nearly every site accepts.
Pages the outline can't describe
Canvas apps (design tools, a spreadsheet's grid, maps, games) draw their own controls, so there is nothing in the outline to give a ref to. For those the agent takes a screenshot and calls click_at with a point in that image, or two points for a drag. Tether maps the point onto the page whatever the zoom or screen density. In Chromium it is real input; in Firefox it is DOM pointer events at that point. A point on a button that buys, sends or deletes waits for your Allow like any other click.
Tools that load when needed
Tether has 58 tools, and an agent pays for every tool definition in its context whether it uses the tool or not. So an agent starts with the 22 it needs for most work: tabs and sessions, reading, acting, screenshots and run_js. The rest sit in five groups (devtools, media, watchers, customize, sites) that it loads with load_tools when a task calls for one. The starting list is under half the size of the full one.
You don't set anything up for this. The agent sees a one-line description of each group, and Tether tells it when one becomes relevant: a change request you send loads the customize tools, and the first look at a site with saved flows says so. Clients that don't refresh their tool list mid-session reach loaded tools through call_tool. To give an agent everything up front anyway, start it as tether --tools all or set TETHER_TOOLS=all.
Debugging a site
network_requests lists every request since the tab was shared, network_request shows one with headers and both bodies, console_messages returns console output and uncaught errors, and cookies lists the page's cookies, including httpOnly ones.
Media and downloads
list_media lists the images (including blob: ones), video, audio, canvases and background images on a page, plus HLS and DASH streams and media files from the network log. save_media saves any of them to ~/.tether/media/<site>/ with your cookies; blob: URLs and canvases are read out of the page, and streams are joined into one .mp4 with ffmpeg if it's installed. video_frame returns the frame a video is showing.
After a click that downloads something, wait_for_download returns the file's path, and download_file fetches a URL on a shared site with your cookies. Agents only see downloads that started while a tab was shared, never your download history.
Bypass mode
When a task needs tabs you already have open, the agent calls request_bypass with a reason and you allow or decline it in a prompt. You can also turn it on from the popup. While it's on, every tab is available and any tab the agent touches gets the badge and status panel. It turns off when you switch it off, press Stop everything or close the browser.
Look, motion and sound
The interface is dark on purpose: Charcoal #1A1A1A, Jet #2D2D2D, Davy's Gray #5A5A5A, Off White #FFFBF0 and one accent, Metallic Gold #D4AF37, which always means "an agent can use this". Surfaces are flat with hairline borders.
Buttons are pills that press in and spring back, switches stretch as they slide, the popup animates between states instead of redrawing, and the status panel on the page changes shape on one spring as it moves between Shared, Paused and "needs you". Messages arrive in a stack of toasts that fans out when you point at it.
Short synthesised sounds (no audio files) mark sharing, stopping, pausing, switches, prompts, an agent asking for you, and watcher alerts, plus a quiet tick as the agent clicks. Turn them off with Play sounds in settings.
The skill
skills/tether-browser/SKILL.md tells agents to use Tether for browser work instead of Playwright, and covers starting sessions, the outline-and-ref loop, loading tool groups, iframes, debugging, media, watchers, restyling, scripts, reading recordings, flows, and when to ask you first. tether setup links it into ~/.claude/skills, ~/.codex/skills and ~/.agents/skills for the agents you have, so it stays current when you update Tether. Cursor and OpenCode read ~/.claude/skills and ~/.agents/skills too, so those links cover them. A folder you put there yourself is left alone.
Changing sites
Requests
Request a change in the popup takes a note plus pasted, dropped or attached images: a screenshot of a site you like, a mockup, a sketch. Pick lets you click any part of the page and write a note about it; the agent then also gets that element's selector, text, HTML and outline, a crop of it and a screenshot of the page. Sending either one shares the tab.
An agent that is working hears about it on its next tool call, whatever that call was; otherwise tell yours to check Tether. It reads the request with get_requests, previews CSS on the live tab with apply_css, checks it with screenshot, saves it with save_style, adds a script when CSS isn't enough, and replies with resolve_request. The reply shows under the request in the popup.
Styles and scripts
Styles apply on every visit to matching pages in every connected browser. Scripts are either manual, with a Run button in the popup, or automatic, running on every page load once user scripts are allowed (Chrome: Allow user scripts on the extension's Details page; Firefox: the button in Tether's settings). Every style and automatic script has its own switch in the popup and settings.
The settings page has a gallery of everything, grouped by site, with before and after screenshots for styles. Each item can be downloaded, published as a secret GitHub Gist through the gh CLI (the Gist's raw link installs it in Tampermonkey or Stylus), or deleted.
Compatible with Tampermonkey and Stylus
Each script is a standard userscript and each style is standard UserCSS:
~/.tether/scripts/fill-timesheet.user.js works in Tampermonkey and Violentmonkey
~/.tether/styles/dark-dashboard.user.css works in Stylus