The Afina anti-detect browser opens a distinct path to automation: an MCP server that connects AI agents directly to the app's local API. This means familiar tools like Claude Code, Cursor, or ChatGPT can drive the browser through text requests, with no manual clicking in the interface.

Instead of rewriting scripts for every small task, you state your intent in plain language and the agent calls the right commands on its own. Everything runs on your own computer, so your profiles, accounts, and settings stay exactly where you created them.
What the Afina MCP Server Delivers
The MCP server acts as a bridge between the AI agent and the Afina app. It translates the agent's requests into local API calls, so the model gets a controlled set of actions rather than access to your whole system.
- connects the Claude Code, Cursor, and ChatGPT AI agents to the local Afina API
- 67 commands for direct control of the app
- runs fully locally, on the user's machine
- ready-made automation scenarios are described in [MCP scenarios for AI agents
As a result, routine operations turn into short text instructions, and the agent runs complex chains of actions in a sequential, predictable way.
What an AI Agent Does With Profiles
The core value of MCP is managing accounts without manual work in the interface. The agent covers the full profile lifecycle, from creation to deletion.

Creating and Configuring Accounts
The agent handles profiles the same way you would by hand, only faster and straight from text. It does more than create accounts; it gets them ready to work right away.
- creates, updates, and deletes accounts from a text request
- configures fingerprints, proxies, tags, and groups
This takes the grind out of setup when you need a lot of similar profiles.
Launching Profiles and Connecting
Beyond configuration, the agent manages the profile lifecycle itself and its external connections.
- starts and stops profiles on request
- instantly returns a WebSocket for the CDP connection
Working With Account Variables
The agent also reads and writes account variables, so you can change a profile's state programmatically for a specific scenario. This lets repeatable chains of actions fall into a single, manageable flow.
This approach is handy for large-scale tasks where there are many profiles and every manual change would eat up noticeable time.
Security: Everything Stays Local
Working through MCP never moves your data off your computer, because the server talks to the local Afina API. This is the founding principle of the entire interaction model.
- the agent works with encrypted data: passwords, 2FA, and seed phrases
- the agent does NOT have access to this data in decrypted form
- all commands run locally, with no profiles sent outside
So you delegate actions to the agent, but control over sensitive data stays on your side.
Promo codes for new users:
- SALE20 - 20% off all plans except Max
- SALE30 - 30% off the Max plan
