Labsco
aluvia-connect logo

Aluvia

β˜… 3

from aluvia-connect

The Aluvia MCP server exposes browser session management, geo-targeting, and account operations as Model Context Protocol tools for AI agents.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

@aluvia/mcp

<p align="center"> <img src="https://raw.githubusercontent.com/aluvia-connect/sdk-node/main/mcp/assets/aluvia-logo.png" alt="Aluvia Logo" width="200" /> </p> <p align="center"> <strong>Unblockable browser automation for AI agents.</strong> </p> <p align="center"> <a href="https://www.npmjs.com/package/@aluvia/mcp"><img src="https://img.shields.io/npm/v/@aluvia/mcp.svg" alt="npm version"></a> <a href="https://www.npmjs.com/package/@aluvia/mcp"><img src="https://img.shields.io/npm/dm/@aluvia/mcp.svg" alt="npm downloads"></a> <a href="./LICENSE"><img src="https://img.shields.io/npm/l/@aluvia/mcp.svg" alt="license"></a> <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-1.0-compatible?labelColor=2d2d2d&color=5f5f5f" alt="MCP compatible"></a> </p>

Stop getting blocked. The Aluvia MCP server exposes browser session management, geo-targeting, and account operations as Model Context Protocol tools for AI agents. Route traffic through premium US mobile carrier IPs and bypass 403s, CAPTCHAs, and WAFs that stop other tools. Works with Claude Desktop, Claude Code, Cursor, VS Code, and any MCP-compatible client.

Table of Contents


Get an Aluvia API Key

You need an API key to run the MCP server. Get one from the Aluvia dashboard:

  1. Sign up or sign in at dashboard.aluvia.io
  2. In your account, open the API & SDKs section
  3. Copy your API key

Use it as an environment variable: export ALUVIA_API_KEY="your-api-key" or add ALUVIA_API_KEY=your-api-key to a .env file (never commit it).


Available Tools

All tools return JSON. On success, isError is false. On failure, isError is true and the payload includes an error field.

Session Tools

ToolDescription
session_startStart a browser session with Aluvia smart proxy. Params: url (required), connectionId, headful, browserSession, autoUnblock, disableBlockDetection
session_closeClose one or all running sessions. Params: browserSession, all
session_listList active sessions (PIDs, URLs, CDP URLs, connection IDs)
session_getFull session details including block detection state and connection config. Params: browserSession
session_rotate_ipRotate IP for a session (new session ID). Params: browserSession
session_set_geoSet or clear geo-targeting (e.g. us, gb, de). Params: geo, clear, browserSession
session_set_rulesAppend or remove proxy routing rules (comma-separated hostnames). Params: rules, remove, browserSession

Account Tools

ToolDescription
account_getAccount info (balance, plan, connection count)
account_usageUsage statistics for a date range. Params: start, end (ISO 8601)

Geo Tools

ToolDescription
geos_listList available geo-targeting countries (e.g. us, gb, de)

Full parameter and response details: MCP Server Guide β€” Tool Reference.


Use Cases

ScenarioTools UsedFlow
Scrape a protected sitesession_start, session_listStart with autoUnblock: true; agent receives CDP URL for Playwright/Puppeteer
Bypass regional restrictionsession_start, session_set_geoSet geo: "us" to access United States-only content
Recover from blocksession_rotate_ip, session_set_rulesRotate IP or add hostname to proxy rules at runtime
Monitor usageaccount_get, account_usageCheck balance and data consumed
Multi-session automationsession_start, session_close, session_listName sessions via browserSession, manage multiple browsers

Example agent prompt: "Open target-site.com. If you get blocked, rotate the IP to a US-based address and try again."

β†’ Agent calls session_start with autoUnblock: true, then session_set_geo with geo: "us" if needed.


Why Aluvia

  • Mobile carrier IPs β€” Same IPs real users use; sites trust them
  • Block detection β€” Detects 403s, WAF challenges, CAPTCHAs; auto-reloads through Aluvia when blocked
  • Smart routing β€” Proxy only hostnames that block you; everything else goes direct (saves cost and latency)
  • Geo-targeting β€” Target countries (e.g. us, gb, de) for localized content
  • Runtime updates β€” Add rules, rotate IPs, change geo without restarting

Links

ResourceURL
Aluvia Dashboarddashboard.aluvia.io
npmnpmjs.com/package/@aluvia/mcp
Full MCP Guidedocs/mcp-server-guide.md
Aluvia SDK@aluvia/sdk β€” CLI, adapters, and quick start
MCP Protocolmodelcontextprotocol.io

Dependencies

  • @aluvia/sdk β€” CLI handlers and proxy logic. For programmatic use (AluviaClient, connect()), install the full SDK: npm install @aluvia/sdk.

License

MIT