PrivadoVPN x402 Payer logo

PrivadoVPN x402 Payer

Pays for PrivadoVPN access with locally signed USDC transactions on Solana or EVM networks.

Install PrivadoVPN x402 Payer

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "privadovpn-x402-payer": {
      "command": "npx",
      "args": [
        "-y",
        "@privadovpn/x402-mcp"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "EVM_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "PREFERRED_NETWORK": "YOUR_VALUE_HERE",
        "X402_BASE_URL": "YOUR_VALUE_HERE",
        "SOLANA_RPC_URL": "YOUR_VALUE_HERE",
        "EVM_RPC_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env SOLANA_PRIVATE_KEY=YOUR_VALUE_HERE --env EVM_PRIVATE_KEY=YOUR_VALUE_HERE --env PREFERRED_NETWORK=YOUR_VALUE_HERE --env X402_BASE_URL=YOUR_VALUE_HERE --env SOLANA_RPC_URL=YOUR_VALUE_HERE --env EVM_RPC_URL=YOUR_VALUE_HERE --transport stdio privadovpn-x402-payer -- npx -y @privadovpn/x402-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @privadovpn/x402-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

PrivadoVPN x402 Payer is a local stdio MCP server that lets agents purchase PrivadoVPN plans through x402 USDC payments. It supports Solana SPL USDC and EVM EIP-3009 authorizations, signing transactions locally before sending payment details to the PrivadoVPN backend. Agents can inspect wallets and the live catalog, buy plans, and recover credentials if fulfillment fails. Use it when an agent needs pay-per-use HTTP and SOCKS5 proxy access without exposing wallet private keys.

Use cases

  • Purchase short-lived VPN access for an agent task
  • Route selected application traffic through returned HTTP proxy credentials
  • Use a purchased SOCKS5 proxy with command-line tools
  • Recover VPN credentials after a confirmed payment
  • Check available plans and supported server countries before checkout

Key features

  • Local signing for Solana and EVM USDC payments
  • Live VPN catalog and country lookup
  • Single-call purchase and credential fulfillment
  • Recovery flow for already broadcast payments
  • Local credential storage under ~/.privado/
  • Wallet status without exposing private keys

Tools5

What PrivadoVPN x402 Payer lets your agent do. Expand a tool for its parameters.

Self-reported~131 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 67d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @privadovpn/x402-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads389Package downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed5Callable tools this server registers over MCP.

How PrivadoVPN x402 Payer works

What PrivadoVPN x402 Payer does

PrivadoVPN x402 Payer gives MCP-compatible agents a way to purchase PrivadoVPN access using USDC. It connects to the PrivadoVPN x402 payment backend, retrieves the live catalog and payment quotes, signs payment transactions in the local process, and returns the resulting proxy credentials after fulfillment.

The server supports two payment paths: Solana SPL USDC transfers and EVM USDC authorizations using EIP-3009. Each purchased plan currently includes an HTTP proxy and a SOCKS5 proxy. The catalog also reports supported server country codes and the services included with each plan, so agents should query it before selecting a plan.

How it works

The MCP process reads wallet credentials from its environment. For a purchase, buy_vpn requests a quote from the backend, signs the selected payment locally, broadcasts it through the configured chain RPC, and sends the payment proof back to the backend to obtain VPN credentials. Private keys remain in the process and are not transmitted.

Successful credentials are returned to the agent and saved under ~/.privado/. The saved data includes the proxy connection details and, when supplied by the plan, SOCKS5 connection details. The server does not configure an operating-system proxy; an agent or application must use the returned connection string explicitly.

Setup and configuration

Run the package directly with:

Terminal
npx -y @privadovpn/x402-mcp

Configure the command as a local MCP server in an MCP client such as Claude Desktop, Claude Code, or Cursor. Provide at least one wallet key:

  • SOLANA_PRIVATE_KEY: Base58 Solana secret key used for SPL USDC payments.
  • EVM_PRIVATE_KEY: Hex-encoded EVM key used for EIP-3009 USDC payments.
  • PREFERRED_NETWORK: Selects solana or evm when both are available; eip155 is accepted as an EVM alias.
  • X402_BASE_URL: Overrides the default PrivadoVPN x402 backend URL.
  • SOLANA_RPC_URL: Sets the Solana balance and transaction endpoint.
  • EVM_RPC_URL: Required when making EVM payments and used for balance checks and broadcasts.

Use a separate, low-balance wallet rather than an account holding unrelated funds. wallet_status exposes addresses and network selection, but not private keys or other secret material.

Tools and capabilities

  • wallet_status reports configured wallet addresses and the selected network.
  • list_vpn_catalog retrieves current plans, prices, included HTTP/SOCKS5 services, and supported countries from the backend.
  • buy_vpn performs the normal quote, payment, fulfillment, and credential-saving sequence.
  • fulfill_payment exchanges an already broadcast payment for credentials during recovery.
  • sign_and_pay signs and broadcasts without fulfillment and is intended for debugging.

Both buy_vpn and sign_and_pay support dry_run balance checks. A dry run still creates an invoice, so it should not be repeated casually.

Limitations and notes

Call list_vpn_catalog before purchasing because plans and prices come from the backend rather than being embedded in the client. Call buy_vpn only once for each purchase attempt: every payment request creates a new invoice. If payment succeeds but fulfillment fails, use the returned plan, invoice number, payment signature, and settlement transaction with fulfill_payment instead of starting another purchase.

The server passes backend credential fields through rather than transforming them. HTTP credentials include a connection string, and SOCKS5 credentials are available when the selected plan lists that service. Payment signing and broadcasting require sufficient wallet funds and the relevant chain RPC endpoint.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about PrivadoVPN x402 Payer

PrivadoVPN x402 Payer is an MCP server that connects AI agents to PrivadoVPN’s x402 payment backend and Solana or EVM wallets. Its main tools inspect wallet status, fetch live VPN plans, purchase access, recover fulfilled payments, and sign payments for debugging.

Install it by running `npx -y @privadovpn/x402-mcp` as a local stdio MCP server. Configure that command in your MCP client and provide `SOLANA_PRIVATE_KEY` or `EVM_PRIVATE_KEY`; EVM payments also require `EVM_RPC_URL`.

Yes. Add the package as a command-based MCP server in Cursor’s `.cursor/mcp.json`, using `npx`, the `-y` argument, and the required wallet environment variable.

It requests an x402 quote, signs payment locally, broadcasts the transaction through the configured RPC endpoint, and submits payment details to the PrivadoVPN backend for fulfillment. Solana uses SPL USDC, while EVM payments use EIP-3009 USDC authorizations.

Call `fulfill_payment` with the plan, invoice number, payment signature, and settlement transaction returned by the failed purchase. Do not call `buy_vpn` again, because it creates a new invoice and may charge a second time.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPrivadoVPN x402 Payer AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/privadovpn-x402-payer?style=directory)](https://allmcps.com/mcp/privadovpn-x402-payer)
HTML Embed
<a href="https://allmcps.com/mcp/privadovpn-x402-payer"><img src="https://allmcps.com/api/badge/privadovpn-x402-payer?style=directory" alt="PrivadoVPN x402 Payer on AllMCPs" /></a>