Aluvia
OfficialProvides Chrome DevTools Protocol (CDP) URLs for browser automation, enabling AI agents to control browser sessions programmatically through Puppeteer via Aluvia's smart proxy network.
@aluvia/mcp
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:
Sign up or sign in at dashboard.aluvia.io
In your account, open the API & SDKs section
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).
Quick Start
npm install @aluvia/mcp
export ALUVIA_API_KEY="your-api-key"
npx aluvia-mcpThe server runs on stdio (stdin/stdout JSON-RPC) — MCP clients spawn it and communicate over stdio.
Requirements
Node.js 18+
Aluvia API key — See Get an Aluvia API Key
Playwright — Required for session tools (
session_start, etc.); install withnpm install playwright
Installation
npm install @aluvia/mcpSet your API key in the environment:
export ALUVIA_API_KEY="your-api-key"Or in a .env file (never commit):
ALUVIA_API_KEY=your-api-keyClient Configuration
Add the config below for your MCP client. Replace your-api-key with your actual key.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"aluvia": {
"command": "npx",
"args": ["-y", "aluvia-mcp"],
"env": {
"ALUVIA_API_KEY": "your-api-key"
}
}
}
}Claude Code
Add to .claude/settings.json or project MCP config:
{
"mcpServers": {
"aluvia": {
"command": "npx",
"args": ["-y", "aluvia-mcp"],
"env": {
"ALUVIA_API_KEY": "your-api-key"
}
}
}
}Cursor
Open Settings → MCP
Add a new MCP server
Use:
Command:
npxArgs:
["-y", "aluvia-mcp"]Environment variables:
ALUVIA_API_KEY= your key
VS Code / Cursor (mcp.json)
For workspace-level config, add .vscode/mcp.json or mcp.json:
{
"mcpServers": {
"aluvia": {
"command": "npx",
"args": ["-y", "aluvia-mcp"],
"env": {
"ALUVIA_API_KEY": "your-api-key"
}
}
}
}Other MCP Clients
Spawn with command: "npx", args: ["-y", "aluvia-mcp"], and ALUVIA_API_KEY in the process environment. See the MCP Server Guide for a Node.js client example.
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
Tool | Description |
| Start a browser session with Aluvia smart proxy. Params: |
| Close one or all running sessions. Params: |
| List active sessions (PIDs, URLs, CDP URLs, connection IDs) |
| Full session details including block detection state and connection config. Params: |
| Rotate IP for a session (new session ID). Params: |
| Set or clear geo-targeting (e.g. |
| Append or remove proxy routing rules (comma-separated hostnames). Params: |
Account Tools
Tool | Description |
| Account info (balance, plan, connection count) |
| Usage statistics for a date range. Params: |
Geo Tools
Tool | Description |
| List available geo-targeting countries (e.g. |
Full parameter and response details: MCP Server Guide — Tool Reference.
Use Cases
Scenario | Tools Used | Flow |
Scrape a protected site |
| Start with |
Bypass regional restriction |
| Set |
Recover from block |
| Rotate IP or add hostname to proxy rules at runtime |
Monitor usage |
| Check balance and data consumed |
Multi-session automation |
| Name sessions via |
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 contentRuntime updates — Add rules, rotate IPs, change geo without restarting
Links
Resource | URL |
Aluvia Dashboard | |
npm | |
Full MCP Guide | |
Aluvia SDK | @aluvia/sdk — CLI, adapters, and quick start |
MCP Protocol |
Dependencies
@aluvia/sdk — CLI handlers and proxy logic. For programmatic use (
AluviaClient,connect()), install the full SDK:npm install @aluvia/sdk.
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aluvia-connect/sdk-node'
If you have feedback or need assistance with the MCP directory API, please join our Discord server