An MCP server inside the browser you already use
Turn on the Automation API and the desktop app serves your profiles to code. An AI agent or your own script launches a profile and works in its tabs, with the fingerprint, the proxy and the logins that profile already has.
Part of the desktop app for Windows and macOS since version 0.4.0. No extra price.
claude mcp add --transport http facetbrowser http://127.0.0.1:48123/mcp --header "Authorization: Bearer <token>"- 37 tools: profiles, tabs, reading, clicking and typing, console, network, cookies
- The page is read as an accessibility snapshot, so the agent clicks elements, not coordinates
- Works on this machine, or on another one through facetbrowser.com
Connect an agent
In the app, open Settings, then Automation API, enable it and save. The server listens on 127.0.0.1, port 48123 unless you change it, and shows a token you can copy. Put that token where the examples say <token>.
Claude Code
Speaks Streamable HTTP, so it connects to the app directly.
claude mcp add --transport http facetbrowser http://127.0.0.1:48123/mcp --header "Authorization: Bearer <token>"Cursor
The same address, in the project's MCP file.
{
"mcpServers": {
"facetbrowser": {
"url": "http://127.0.0.1:48123/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}Claude Desktop
Claude Desktop starts MCP servers as local programs, so it uses a small bridge from npm, facetbrowser-mcp. The bridge reads the port and the token from the app's data folder, so there is no token to paste. It needs Node.js 18 or later.
{
"mcpServers": {
"facetbrowser": {
"command": "npx",
"args": ["-y", "facetbrowser-mcp"]
}
}
}What an agent can do
37 tools, all named facet_*. When a call fails, the error says which call to make next, so an agent recovers without guessing.
| Area | What it covers | Tools |
|---|---|---|
| Profiles | List the profiles in the app, read one, launch it and stop it. | facet_list_profiles, facet_profile_info, facet_launch_profile, facet_stop_profile |
| Tabs | List the tabs of a running profile, open one, inspect it, close it or bring it to the front. | facet_list_tabs, facet_new_tab, facet_tab_info, facet_close_tab, facet_select_tab |
| Navigation | Go to an address, back, forward, reload, and wait for text or an element to appear. | facet_navigate, facet_go_back, facet_go_forward, facet_reload, facet_wait_for |
| Reading the page | An accessibility snapshot in which every element has a ref, search inside it, plain text, HTML and screenshots. | facet_snapshot, facet_find, facet_get_text, facet_get_html, facet_screenshot |
| Acting on the page | Click, type, fill a field, press keys, hover, scroll and answer alert, confirm and prompt dialogs. | facet_click, facet_type, facet_fill, facet_press, facet_hover, facet_scroll, facet_handle_dialog |
| JavaScript | Run an expression or a function in the page when the agent asks for it. | facet_evaluate |
| Console | Read what the page logged, including errors. | facet_console_read, facet_console_clear |
| Network | List the requests a tab made and read a response body. | facet_network_list, facet_network_get_body |
| Cookies | Read, set and clear the cookies of a profile. | facet_cookies_get, facet_cookies_set, facet_cookies_clear |
| DevTools Protocol | Send any Chrome DevTools Protocol command to a tab or to the browser. | facet_cdp_send |
| Session | Pick a default profile and tab once; later calls can leave the ids out. | facet_select_profile, facet_session_info |
Snapshots with refs
A page is returned as its accessibility tree, where each element has a short ref. The agent clicks and types by ref, which survives layout changes that break coordinates.
Resources
The profile list and the tabs, console and network history of each running profile are also MCP resources. Page errors arrive as log notifications.
One context per client
Each connection has its own selected profile and tab, so two agents can work in two profiles at once without stepping on each other.
The same thing as a plain HTTP API
Every tool is also a REST route with the same fields, for scripts in any language. A WebSocket streams page, network and console events.
- An OpenAPI 3.1 description is served by the app itself and always matches the tools
- Raw Chrome DevTools Protocol when a tool does not cover what you need
- Optional DevTools address per profile for Puppeteer, Playwright and chrome-devtools-mcp
curl -H "Authorization: Bearer <token>" http://127.0.0.1:48123/v1/profiles
curl -X POST -H "Authorization: Bearer <token>" http://127.0.0.1:48123/v1/profiles/<id>/launchAn agent on another machine
The browser runs on your office PC and the agent runs on a laptop or in the cloud. The app never opens a port: it keeps an outgoing connection to facetbrowser.com, and the agent talks to that address with a token you create on your account page.
- 1In the app: Settings, Automation API, allow remote access.
- 2On your account page: create a remote access token. You can bind it to one device and give it an expiry.
- 3Give the agent the address of the device and the token.
claude mcp add --transport http facet-home https://facetbrowser.com/api/relay/<deviceId>/mcp --header "Authorization: Bearer fbr_..."- The token is shown once and only its hash is stored. Revoke it on the account page at any time.
- A remote token opens the relay only. It cannot read or change your account, your profiles or your cookies on the server.
- The server logs time, device, method, path and status for 30 days. Page contents, screenshots and tool arguments pass through and are not stored.
- Each hop is encrypted with TLS. There is no end-to-end encryption between the agent and the app in this version.
The rules it runs by
Off by default
Nothing listens until you enable it in Settings, and it stops when you turn it off or quit the app.
This computer only
Bound to 127.0.0.1. A request that comes from a web page or names another host is refused, even with the right port.
A token on every call
Generated once in Settings, where you can copy it or replace it.
Nothing injected
No scripts are added to pages and no console hooks are installed. The engine keeps reporting navigator.webdriver as false.
Every call is written to a local log with its time, tool, ids and duration, never its contents. Two limits worth knowing: console messages are read when the agent asks, not pushed live, and a response body can be read only while its page is still open.
On a Linux server, use the engine by itself
The desktop app, and with it the MCP server, runs on Windows and macOS. For servers and containers there is a Linux x64 package of the FacetBrowser Engine: the same Chromium 157 build with the fingerprint compiled in, driven by your own Selenium or Playwright code.
Engine releases on GitHub- One tarball with chrome and a matching chromedriver, tested headless on Debian 12
- The bundled chromedriver leaves no cdc_ variables on window
- Seed, platform, screen size, cores, memory, timezone and language are command line switches
- SOCKS5 proxies with a username and password work from the command line
- No profile manager, sync or MCP server there: those are parts of the desktop app
Questions
- Which AI agents can connect?
- Any client that speaks the Model Context Protocol. Claude Code and Cursor connect straight to the local address over Streamable HTTP. Claude Desktop only speaks stdio, so it goes through the small facetbrowser-mcp bridge, which finds the port and the token by itself.
- Does the agent change the fingerprint of the profile?
- No. The agent works in the same browser a person would open: same engine, same seed, same proxy. Nothing is injected into pages to make this work, and navigator.webdriver stays false.
- Is it on by default?
- No. You turn it on in Settings, and it is worth keeping off when no agent needs it: while it is on, any program on your computer that holds the token can drive your profiles.
- Can a web page reach the API?
- No. The server listens on 127.0.0.1 only, asks for a token on every call, and refuses requests that come from a web page or name another host.
- Can I use Puppeteer or Playwright instead?
- Yes. A setting exposes a DevTools address per running profile, which Puppeteer, Playwright and chrome-devtools-mcp can attach to. It is off by default because DevTools has no password of its own.
- What does it cost?
- Nothing extra. The API and the MCP server are part of the desktop app on the trial and on both licenses. Remote access needs a verified email and an active trial or license, the same as sync.
Give your agent a browser that is already logged in
The trial is 14 days with 15 profiles and needs no card.