autopilot-mcp

Apr 2026 – Sep 2026 · Personal project

autopilot-mcp is an MCP server that gives an AI agent a real browser. I started it in April 2026 to replace a pile of one-site servers, each with its own selectors that broke whenever the site changed, and kept working on it through September.

It has 42 tools over Camoufox, a Firefox build for automation:

It has 129 tests.

Fill, don't reveal

The part I cared most about is logins. An agent that types a password has the password in its prompt, in its tool calls and in every log they pass through. Here the agent asks the server to fill a login form from a vault entry, and the server fills it from Bitwarden itself, through one shared bw serve daemon. The agent learns that the form got filled, and never sees the password. Two-factor codes are computed locally, and the vault's master password stays in the OS keyring, never on disk or in an environment variable.

What it doesn't solve

Hiding the password only keeps the password from leaking. Once the agent is logged in, it can still read anything on the page, a page can try to talk it into something, and it can click a button that does damage. The session cookies sit in the profile, too. Those need limits that live outside the model, like read-only modes and a person signing off on anything destructive.