
67 tools, one bridge
From accounts CRUD to RPA modules and IMAP credentials — every Afina primitive is exposed through one MCP-compatible bridge. Auth via x-api-key over Afina's local API, runs over `npx afina-mcp`.
Plug Claude, Cursor or any MCP-compatible LLM into Afina through one bridge. 67 tools — accounts, RPA scripts, modules, task groups, proxies — controlled from chat. Talk to your antidetect browser instead of clicking it.

Multi-account workflows are full of routine: provisioning profiles, writing RPA scripts, debugging failed tasks, rotating proxies. MCP turns each of those into a conversation. afina-mcp ships 67 tools across accounts, scripts, modules and tasks — and works with any LLM client that speaks the Model Context Protocol. Full setup walkthrough — in our Afina MCP server guide.

From accounts CRUD to RPA modules and IMAP credentials — every Afina primitive is exposed through one MCP-compatible bridge. Auth via x-api-key over Afina's local API, runs over `npx afina-mcp`.

Configure once in Claude Desktop, Claude Code, Cursor, Cline, Continue or Windsurf. The same conversations work across clients — no vendor lock-in, no re-training, no rewriting prompts when you switch.

Describe a flow in plain English and the LLM generates a valid RPA flow JSON, validates it, runs it on a profile and reads back the live log — without you touching the canvas.

Say "every 6 hours between 10 and 18, max 5 in parallel" and the LLM converts that into a task group with executeAt, schedule windows, parallelism limits and retries — using the same primitives Afina's browser automation uses internally.
// ~/Library/Application Support/Claude/claude_desktop_config.json
// (Windows: %APPDATA%\Claude\claude_desktop_config.json)
{
"mcpServers": {
"afina": {
"command": "npx",
"args": ["-y", "afina-mcp"],
"env": {
"AFINA_URL": "http://127.0.0.1:50778",
"AFINA_API_KEY": "<your key>"
}
}
}
}Install the MCP server in 60 seconds, plug Claude or Cursor into your antidetect browser and start automating from chat.
Afina MCP Server exposes the entire Afina antidetect browser to AI agents through the Model Context Protocol. Claude, Cursor, Claude Code and any other MCP-compatible client gets 67+ tools for accounts, browsers, RPA scripts, modules, proxies, databases, emails and tasks — all running locally against your machine, never leaving 127.0.0.1.
Plain LLM-driven automation hits a wall on platforms that fingerprint. Headless Chrome with prompt-generated Puppeteer code gets flagged within minutes. Afina MCP lets agents drive real fingerprinted profiles: the LLM picks a profile, attaches a proxy, runs an RPA script, scrapes a result, all without ever looking like a bot.
CRUD on accounts, start/stop browser, eval_in_browser, screenshot, RPA scripts and modules with code generation, scheduled task groups, proxies, databases, global variables, key catalog, vendor IMAP credentials. Full tool reference ships inside the npm package at MCP_AFINA/docs/TOOLS.md.
The server publishes resources like afina://docs/rpa-blocks — a complete JSON schema of every RPA block, parameters and structure. LLMs read it before generating script.settings, so the output is valid on first try, not after 5 retries.
All traffic is 127.0.0.1:50778, never leaves the device. The MCP client decides which tools to enable; destructive operations (hard-delete, mass writes) prompt for confirmation. Turn off eval_in_browser via AFINA_MCP_EVAL_ENABLED=0 if you don't want the LLM running arbitrary JS.
Task tools accept executeAt strings like "in 5m", "tomorrow 09:00" or ISO timestamps, plus the full schedule surface (timeFrom/timeTo, repeatCount, parallelism, timeouts). The LLM translates "every 6 hours between 10 and 18, max 5 in parallel" into the right field combination.
Issue an API key in Settings → API key, add the JSON snippet to Claude Desktop / Cursor config (or claude mcp add afina ... for Claude Code), restart the client. afina-mcp launches via npx — nothing to install globally.
Engineers ship AI features that drive multi-account flows end-to-end. SEO and SMM teams ask an agent to "post these 20 comments across these 50 profiles between Monday and Wednesday" and walk away. Researchers let Claude write, sign and run RPA modules without copy-pasting code. QA wires agents into nightly checks that span real fingerprinted browsers, not just headless.
If the platform you're automating cares about fingerprints, plain LLM + Puppeteer won't survive. Afina MCP is the gap-bridge — your AI gets a real antidetect browser, not a detection-magnet.