Open the login, pause MCP, authenticate, then resume.

A practical default

Sign in yourself once. Let the agent inherit the session.

Do not paste a password, bearer token, cookie, or exported browser state into an agent conversation. For interactive work, open the login page in the chosen browser profile, pause agent control, complete authentication yourself, then resume the task inside that already-authenticated session.

Three ownership patterns

Choose where authenticated state should live.

Repeatable tests

Save a Playwright storage-state file

Good for controlled test accounts and reproducible automation. Treat the file like a credential: Playwright warns that it can contain cookies and headers capable of impersonating the account.

Playwright authentication guide ↗

Exact current tab

Connect to your active browser

Good when an agent must inspect the precise page and profile already open on your screen. The tradeoff is authority: the agent can inherit whatever that everyday browser profile can access.

Chrome DevTools auto-connect ↗

Durable agent work

Use a dedicated browser profile

Good when authenticated tabs should stay visible and available across agent tasks without mixing automation into everyday Chrome. Hronaut owns the browser process and clients connect to it over loopback MCP.

Compare browser ownership models →

Hronaut workflow

A five-step human login handoff.

  1. 1

    Create an agent workspace

    Have the agent create a fresh named workspace. Agent workspaces have isolated Chromium profiles and stay separate from the human Default workspace.

  2. 2

    Open the sign-in page

    Let the agent navigate to the application login page, then stop before entering any secret.

  3. 3

    Pause MCP

    Use the control beside MCP ready. New commands are rejected while Hronaut, the workspace, and its tabs remain open.

  4. 4

    Authenticate yourself

    Type the password, approve MFA, pass a CAPTCHA, or use Hronaut's human-only saved-password control. Do not put those values in chat.

  5. 5

    Resume inside the session

    Resume MCP after the authenticated destination is visible. The agent can continue from that tab, and the workspace keeps its cookies and site storage across later tasks and app restarts.

Security boundary

An authenticated browser is delegated authority.

After login, a trusted agent may be able to act with the account's permissions or read data visible to page scripts. Use a dedicated low-privilege account when practical, create separate workspaces for separate roles, enable Hronaut MCP authentication when local processes are not equally trusted, and pause MCP before sensitive manual actions.

When work ends, sign out or clear that website's cookies and storage if the session should not remain reusable. Hronaut's site-data controls are scoped to the explicit website and do not clear unrelated workspaces.

Why lifecycle matters

The browser does not need to be a child of every agent session.

A current Codex issue documents how globally configured headed browser MCP servers can start once per coding session and accumulate. A separately launched browser with a stable loopback HTTP endpoint changes that lifecycle: the app owns one browser, while Codex, Claude Code, Cursor, Copilot, or another client can disconnect and reconnect.

Observed demand

Authentication without credential exposure

A current Claude Code issue asks for an agent to inherit a session authenticated out of band instead of handling a password in plaintext.

Read issue #82668 ↗

Observed demand

Browser lifecycle independent of the session

A current Codex issue describes the friction of one headed MCP browser process being retained by every live coding session.

Read issue #21984 ↗

Sources and limits

Use the smallest browser authority that fits the job.

Hronaut is designed for interactive, visible browser work. It does not turn a human login into a safe unattended credential broker, and it is not a replacement for isolated multi-browser CI.

Try the dedicated-browser pattern

Keep the authenticated workspace. Change the agent task.

Install Hronaut, connect one MCP client, and try the handoff with a low-risk test account first.