skyvern browser serve, which starts a separate Chrome browser with a copied profile, the extension controls
explicitly shared tabs in your actual browser. Chrome 136 and later ignores --remote-debugging-port for the default
profile, so an extension is the only way to automate that browser directly.
Requirements
- Chrome 125 or later
- A local Skyvern MCP server connected over stdio
Install the extension
The recommended setup command prints the unpacked extension directory, opens Chrome’s extensions page when possible, and prints the remaining steps:skyvern browser extension-pair to open the pairing page.
For manual setup:
-
Print the directory containing the extension:
-
Open
chrome://extensionsin Chrome. - Enable Developer mode.
- Click Load unpacked.
- Select the directory printed by the command.
Pair the extension
With your MCP server running, start the explicit pairing flow:Configure MCP
SetBROWSER_TYPE=extension-connect in the environment for your local MCP server. For example, use this stdio
configuration in an MCP client that accepts JSON:
skyvern_browser_session_create needs it.
Either way, browser session creation starts the broker if it is not already running.
To opt into the legacy embedded relay on macOS or Linux, set the exact value below in the MCP environment or the normal
Skyvern env-file chain. Unset, 1, and every other value use the broker.
19777; a custom port is configured with SKYVERN_BROWSER_EXTENSION_PORT for the MCP server and under Advanced
settings in the popup.
Use your browser
After the extension is connected, a typical MCP flow is:- Call
skyvern_browser_session_createto connect Skyvern to the extension. - Call
skyvern_navigateto open a page. - Call
skyvern_observeto inspect the page and identify actions. - Call
skyvern_executeorskyvern_clickto interact with the page.
skyvern_click and skyvern_type also accept x and y
coordinates in viewport CSS pixels, measured from the top-left of the web content. Provide both coordinates together
and do not combine them with a selector. Coordinates must be finite and non-negative. skyvern_execute can pass the
same coordinates to click and type actions. Coordinates align with skyvern_screenshot(full_page=False) and are not
scaled by the device pixel ratio.
Consent and security
Membership in the Chrome tab group named Skyvern Controlled is the consent boundary. Dragging a tab into that group shares it with Skyvern; dragging it out immediately revokes access. The Add to Skyvern Controlled and Remove from Skyvern Controlled buttons in the Skyvern Agent popup make the same group-membership changes. The extension never discloses tabs outside the group to Skyvern. Skyvern’s scope includes:- Existing tabs you explicitly add to Skyvern Controlled, by dragging or with the popup
- Tabs Skyvern creates and adds to Skyvern Controlled
- Popups opened by a controlled tab and added to Skyvern Controlled
127.0.0.1. The default endpoint is
ws://127.0.0.1:19777/extension/v1. On macOS and Linux, a persistent daemon owns this listener and MCP processes reach
it through an owner-authenticated Unix domain socket. Pairing authentication verifies the extension, and credentials
are never included in the URL or returned through MCP tools.
The extension refuses to control chrome://, chrome-untrusted://, chrome-extension://, devtools://, edge://,
file://, Chrome Web Store pages on chromewebstore.google.com, and about: pages other than about:blank.
Limitations
- Downloads and file-chooser management are not supported yet.
- Incognito windows are not supported.
- Opening DevTools for a controlled tab detaches Skyvern and revokes access to that tab.
- The current broker generation admits one local Skyvern MCP client at a time.
- Hosted Skyvern MCP cannot use the extension yet.
- Chrome internal pages, extension pages, DevTools, local files, the Chrome Web Store, and the other restricted targets listed above cannot be controlled.
Troubleshooting
Skyvern browser extension is not connected
Skyvern browser extension is not connected
Follow the steps in order:
- Run
skyvern browser extension-installand follow its numbered setup instructions. - Start the MCP server with
--browser-extensionorBROWSER_TYPE=extension-connect. - Run
skyvern browser extension-statusand confirm it reports the broker ready (or the opted-out legacy bridge listening) on the configured port. - Run
skyvern browser extension-pair, approve the browser page, then approve the Skyvern Agent confirmation tab. - In broker mode, retry with
skyvern browser extension-pair --cancel-pendingif an earlier pairing flow is stuck.skyvern browser extension-tokenis only available withSKYVERN_BROWSER_EXTENSION_BROKER=0. - Add at least one controllable tab to Skyvern Controlled, then retry.
The MCP server never finishes connecting
The MCP server never finishes connecting
The server loads a large Python dependency tree before it serves its first request. That usually takes a few
seconds, but the first start after an install or upgrade — and any start on a busy machine — can take
considerably longer than an MCP client’s default startup window.Watch for this: when a local server fails to mount, coding agents fall back to the identically named hosted
Skyvern tools, so a run that looks like it is driving your Chrome is really driving a cloud browser. Confirm the
server is connected before you trust an extension flow.Raise your client’s startup timeout:
- Claude Code: set
MCP_TIMEOUT(milliseconds) in the environment that launches it, for exampleMCP_TIMEOUT=180000. - Codex: raise
startup_timeout_secfor the server entry in~/.codex/config.toml.
mcp_boot_ready log line after it connects. The
event is emitted only after the server successfully handles initialize; it reports spawn_to_serve_ms
alongside the env_ms and tool_import_ms phases that make it up.Port already in use
Port already in use
The broker uses port
19777 by default and never steals a foreign owner or silently changes ports. Run
skyvern browser extension-broker-status to inspect it. If you intentionally stop the persistent daemon, run
skyvern browser extension-broker-stop; this releases the port. Otherwise set SKYVERN_BROWSER_EXTENSION_PORT in
the MCP server environment, configure the same port under Advanced settings in the popup, then restart the MCP
server and reconnect the extension.Rotate the pairing token
Rotate the pairing token
The default broker owns its credential and does not expose it through
extension-token. Stop it with
skyvern browser extension-broker-stop, delete
~/.skyvern/run/browser-extension/<port>/extension.secret, then restart extension-mode MCP. Startup validates the
journal before creating a replacement credential; an unsafe journal fails closed. Pair again with
skyvern browser extension-pair. Never edit owner-only broker artifacts while the daemon is running.With SKYVERN_BROWSER_EXTENSION_BROKER=0, stop the MCP server, delete
~/.skyvern/browser_extension_token, and restart the server. Run skyvern browser extension-pair and approve both
browser steps. If SKYVERN_BROWSER_EXTENSION_TOKEN is set, remove it first because the environment value takes
precedence in legacy mode and is rejected in broker mode.DevTools or the debugger infobar disconnected a tab
DevTools or the debugger infobar disconnected a tab
Close DevTools if it is open, then add the tab to Skyvern Controlled again by dragging it into the group or using
the popup. If you clicked Cancel in Chrome’s debugger infobar, adding the tab again restores consent; Skyvern
never reattaches automatically.

