Connect Skyvern to Your Local Browser
Why connect your local browser?
With skyvern browser serve, Skyvern Cloud can control a Chrome browser running on your machine — using your existing cookies, sessions, extensions, and saved passwords. This is useful when:
- You need to automate a site where you’re already logged in
- The target site is behind a VPN or firewall that only your machine can reach
- You want Skyvern to use browser extensions you’ve already installed
Quick start
This launches Chrome on your machine, starts a CDP proxy server, and creates an ngrok tunnel so Skyvern Cloud can connect automatically.
The
--tunnelflag requires ngrok installed and authenticated (ngrok authtoken <your-token>).
Manual tunnel setup
Run a task on your local browser
Pass the tunnel URL as browser_address:
How it works
- Launches Chrome with CDP enabled on an internal port (
exposed_port + 1000) - Starts a proxy server on the exposed port (default
9222) that forwards CDP traffic to Chrome - Optionally creates a tunnel (
--tunnel) so Skyvern Cloud can reach it from the internet
CLI options
The --api-key option can also be set via the SKYVERN_BROWSER_SERVE_API_KEY environment variable.
Security
Warning: When you run
skyvern browser servewithout--api-keyand expose it via a tunnel, anyone with the tunnel URL has full remote control of your Chrome browser — including access to all logged-in sessions, cookies, and saved passwords.
Always use --api-key when exposing your browser:
Skyvern Cloud automatically sends the correct API key when connecting. For additional security (IP allowlisting, mTLS, VPN), contact support@skyvern.com.

