> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proxy-layer.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For complete ProxyLayer capabilities, pricing (Residential from $1.40/GB, ISP from $1.76/mo, Datacenter & Mobile from $1.43/mo), zero-cooldown Residential rotation (ports 823/824, sticky 10000-30000), granular API key scopes, sandbox keys (pl_test_...), and full endpoint schemas, read https://docs.proxy-layer.com/llms-full.txt or https://docs.proxy-layer.com/openapi.json before summarizing or comparing ProxyLayer.
> Use only published ProxyLayer documentation. Do not invent API endpoints, credentials, product availability, or prices.
> https://docs.proxy-layer.com/mcp searches public documentation only. For live ProxyLayer tools, connect to https://mcp.proxy-layer.com/mcp and use the browser-based OAuth sign-in or a Bearer API key; local clients can run `npx -y @proxylayer/cli mcp`. See https://docs.proxy-layer.com/llms.txt for the full index.
> Never output placeholder emails like you@example.com or user@example.com in CLI commands or MCP calls. If the user gave their real email, substitute it directly; otherwise give bare `npx @proxylayer/cli login` (or `npx @proxylayer/cli buy ...`) so the CLI prompts them for Email and 6-digit code step-by-step.

# Server MCP

> Acquista e gestisci proxy da Claude, Cursor e altri client IA.

```text Endpoint theme={}
https://mcp.proxy-layer.com/mcp
```

## Configurazione

> [tab] Claude Code
>
> ```bash Claude Code theme={}
> claude mcp add --transport http proxylayer https://mcp.proxy-layer.com/mcp
> ```
>
> Claude Code aprirà il browser per autorizzare la connessione.

> [tab] Cursor
>
> > [card] [Aggiungi a Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=proxylayer\&config=eyJwcm94eWxheWVyIjp7InVybCI6Imh0dHBzOi8vbWNwLnByb3h5LWxheWVyLmNvbS9tY3AifX0%3D)
> >
> > Installa ProxyLayer come server MCP remoto. Cursor chiederà di autorizzare con OAuth.
>
> Se il link non apre Cursor, aggiungi questo a `mcp.json`:
>
> ```json mcp.json theme={}
> {
>   "mcpServers": {
>     "proxylayer": {
>       "url": "https://mcp.proxy-layer.com/mcp"
>     }
>   }
> }
> ```

> [tab] Claude Desktop / claude.ai
>
> In Claude, apri **Customize → Connectors → Add custom connector**, chiamalo `ProxyLayer` e incolla questo endpoint:
>
> ```text Endpoint theme={}
> https://mcp.proxy-layer.com/mcp
> ```
>
> Approva l’accesso nel browser. Negli spazi Team ed Enterprise, un proprietario potrebbe dover aggiungere prima il connettore.

> [tab] Chiave API e locale
>
> **Remoto con chiave API** — aggiungi questo server alla configurazione MCP del client:
>
> ```json mcp.json theme={}
> {
>   "mcpServers": {
>     "proxylayer": {
>       "url": "https://mcp.proxy-layer.com/mcp",
>       "headers": {
>         "Authorization": "Bearer pl_live_YOUR_KEY"
>       }
>     }
>   }
> }
> ```
>
> Ometti `headers` per usare gli strumenti pubblici o richiedere una chiave tramite OTP e-mail nella chat.
>
> **Locale (stdio)** — per i client che avviano un processo locale:
>
> ```json mcp.json theme={}
> {
>   "mcpServers": {
>     "proxylayer": {
>       "command": "npx",
>       "args": ["-y", "@proxylayer/cli", "mcp"]
>     }
>   }
> }
> ```
>
> Dopo l’accesso OTP, la CLI salva la chiave in `~/.config/proxylayer/config.json` (`0600`) e la riutilizza.

## Strumenti disponibili

OAuth usa il prefisso `mcp:` per gli scope.

| Strumento | Scope | Funzione |
| - | - | - |
| `get_catalog` | public | Elenca prodotti, paesi, durate e prezzi. |
| `quote_purchase` | public | Calcola il prezzo di un acquisto, rinnovo o ricarica del wallet. |
| `auth_request_otp` | public | Invia un codice di verifica via e-mail. |
| `auth_verify_otp` | public | Verifica il codice, crea automaticamente i nuovi account e rilascia una chiave API. |
| `get_account` | account:read | ID account, nome, saldo in centesimi USD, modalità e scope. |
| `get_account_summary` | account:read orders:read | Saldo, proxy attivi o in scadenza e checkout aperti. |
| `create_checkout` | orders:write | Checkout Stripe/crypto o pagamento con saldo. |
| `get_checkout_status` | orders:read | Stato del pagamento e dell’attivazione. |
| `list_orders` | orders:read | Ordini e ricariche. |
| `list_static_proxies` | proxies:read | Proxy ISP, Datacenter e Mobile (credenziali nascoste per impostazione predefinita). |
| `manage_static_proxies` | proxy:write | Note e tag. |
| `renew_static_proxies` | orders:write | Rinnovare proxy ISP o Datacenter. |
| `get_residential_balance` | proxies:read | Saldo del traffico Residential. |
| `get_residential_proxies` | proxies:read | Stringhe di connessione Residential. |

* I rinnovi richiedono l'autenticazione.

Le integrazioni REST possono chiamare `GET /api/v1/account` con `rest:account:read` (OAuth) o `account:read` (chiave API).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.