Zed browser MCP
Give Zed a browser that survives the thread.
Hronaut is a visible Chromium browser that runs as its own app. Zed Agent, or an external ACP agent launched inside Zed, can use it, and your named workspaces and sign-ins stay available after each thread.
Local MCP endpoint
http://127.0.0.1:47812/mcp
The loopback endpoint is reachable only from the computer running Hronaut. Configure it in the local Zed app, not on a remote machine or in a container that cannot reach host loopback.
Before you start
Which Zed agent are you using?
- Zed Agent or an ACP agent: follow this guide. Zed Agent uses servers from Zed's
context_serverssettings directly. Zed can also forward those servers to external agents over Agent Client Protocol. - Terminal thread: use your CLI's guide. A terminal thread is different: its CLI reads that client's own native MCP configuration. Pick the matching client guide instead.
Step 1 · Connect
Connect Zed.
Start Hronaut. In Zed, open Settings → AI → MCP Servers → Add Server → Add Remote Server, or run zed: open settings file and add the entry below under context_servers.
Authentication on (default)
Keep the bearer token in local user settings
{
"context_servers": {
"hronaut": {
"url": "http://127.0.0.1:47812/mcp",
"headers": {
"Authorization": "Bearer <owner-token>"
}
}
}
}Replace only the placeholder with the token from the owner-only file, in Zed's local user settings. Hronaut Home identifies that private file without displaying its value. With the Authorization header present, Zed does not start an OAuth flow, which Hronaut does not provide.
Zed's current MCP documentation shows literal header values but does not document file or environment interpolation for context_servers. Do not commit the token, paste it into chat, or put it in project settings.
Turned authentication off?
Use this only with a profile whose Require MCP authentication is off, such as one from before Hronaut 3.5 that kept that setting. While authentication is on, Hronaut rejects a connection without the token.
Authentication off
Use a non-secret local marker header
{
"context_servers": {
"hronaut": {
"url": "http://127.0.0.1:47812/mcp",
"headers": {
"Authorization": "Hronaut local-no-auth"
}
}
}
}The marker is not a credential. Hronaut ignores authorization values while authentication is disabled. It is there because Zed otherwise starts its standard OAuth flow for a remote entry without an Authorization header, and Hronaut does not provide OAuth.
Zed's official MCP guide documents the remote url and headers shape, automatic OAuth when the authorization header is absent, and the Settings flow. Read the current Zed MCP documentation ↗
Step 2 · Verify
Check that it works.
Use a clean workspace for this check, before Zed goes near a signed-in page.
- 1
Zed sees Hronaut
Open Settings → AI → MCP Servers. The dot next to hronaut should be green, and its tooltip should say Server is active.
- 2
Hronaut sees Zed
Open Hronaut Home. The Zed connection should appear under Connections, which proves a live client reached the browser, not just that the JSON parsed.
- 3
Run a first browser task
Ask: “Using the Hronaut MCP server, create a workspace named first-check, open https://example.com inside it, and tell me the page title and workspace ID. Start with clean scratch storage.”
Expected result: a visible
first-checkworkspace shows Example Domain.
Security
Protect your signed-in sessions.
Keep confirmation on. In Zed v0.224.0 and later, agent.tool_permissions.default controls approvals; confirm is the default and includes MCP calls. Keep it unless you have reviewed the individual Hronaut tools and the browser profile they can reach. Agent profiles decide whether MCP tools are available, while tool permissions decide whether calls need confirmation.
Keep authentication on. A new Hronaut profile requires the owner token for MCP, so other processes running as your user cannot drive the browser. A profile from before Hronaut 3.5 keeps the setting it saved: if Require MCP authentication is off in Settings → MCP security, turn it on before you use valuable sign-ins.
Take over for human-only steps. Pause MCP before you enter passwords, security keys, payment details or other human-only information.
Keep going
Next steps.
Give every durable browser job its own named workspace. It keeps cookies and storage apart from other workspaces and stays available to the next Zed thread or another local MCP client. Learn how to hand off a login safely.
Sources
- Zed MCP documentation — remote server configuration, headers, OAuth behavior, status, ACP forwarding and tool approvals.
- Zed agent paths — the difference between Zed Agent, external ACP agents and terminal threads.
- Zed Agent profiles — MCP tool availability versus permission policy.
Hronaut is an independent project and is not affiliated with or endorsed by Zed Industries.