DexSQL
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
Local MCP server that signs x402 USDC payments (Solana, EVM) to buy PrivadoVPN access
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install PrivadoVPN x402 Payer. Follow https://mcp.popnx.com/i/privadovpn-x402-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a PrivadoVPN x402 Payer key (create it on the maker’s site) · 1 setting(s) to fill in (EVM_RPC_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server PrivadoVPN x402 Payer for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "x402": { "command": "npx", "args": [ "-y", "@privadovpn/x402-mcp" ], "env": { "SOLANA_PRIVATE_KEY": "your-value", "EVM_PRIVATE_KEY": "your-value", "EVM_RPC_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY, EVM_RPC_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PrivadoVPN x402 Payer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
EVM_RPC_URL EVM RPC endpoint used to check balances and broadcast transactions. Required for EVM payments.Descriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"x402": {
"command": "npx",
"args": [
"-y",
"@privadovpn/x402-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "your-value",
"EVM_PRIVATE_KEY": "your-value",
"EVM_RPC_URL": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use PrivadoVPN x402 Payer and tell me what you can do for me, then show me one thing✓ If Claude says it is using PrivadoVPN x402 Payer or shows a PrivadoVPN x402 Payer tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
PREFERRED_NETWORK Which network to prefer when a quote offers both. Accepts 'solana' or 'evm' ('eip155' is an accepted alias for 'evm'). Defaults to 'solana' if SOLANA_PRIVATE_KEY is set, else 'evm'.X402_BASE_URL Base URL of the x402 payment backend used for catalog, quote, and fulfillment requests. Defaults to https://x402.privadovpn.com.SOLANA_RPC_URL Solana RPC endpoint used to check balances and broadcast transactions. Defaults to https://api.mainnet-beta.solana.com.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect PrivadoVPN x402 Payer yet
PrivadoVPN x402 Payer runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect PrivadoVPN x402 Payer
B · Others in Crypto & blockchain that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a PrivadoVPN x402 Payer key (create it on the maker’s site) · 1 setting(s) to fill in (EVM_RPC_URL) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server PrivadoVPN x402 Payer for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user x402 --env SOLANA_PRIVATE_KEY=your-value --env EVM_PRIVATE_KEY=your-value --env EVM_RPC_URL=your-value -- npx -y @privadovpn/x402-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY, EVM_RPC_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PrivadoVPN x402 Payer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
EVM_RPC_URL EVM RPC endpoint used to check balances and broadcast transactions. Required for EVM payments.Descriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user x402 --env SOLANA_PRIVATE_KEY=your-value --env EVM_PRIVATE_KEY=your-value --env EVM_RPC_URL=your-value -- npx -y @privadovpn/x402-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see PrivadoVPN x402 Payer listed as connected
Use PrivadoVPN x402 Payer and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using PrivadoVPN x402 Payer or shows a PrivadoVPN x402 Payer tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
PREFERRED_NETWORK Which network to prefer when a quote offers both. Accepts 'solana' or 'evm' ('eip155' is an accepted alias for 'evm'). Defaults to 'solana' if SOLANA_PRIVATE_KEY is set, else 'evm'.X402_BASE_URL Base URL of the x402 payment backend used for catalog, quote, and fulfillment requests. Defaults to https://x402.privadovpn.com.SOLANA_RPC_URL Solana RPC endpoint used to check balances and broadcast transactions. Defaults to https://api.mainnet-beta.solana.com.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a PrivadoVPN x402 Payer key (create it on the maker’s site) · 1 setting(s) to fill in (EVM_RPC_URL) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server PrivadoVPN x402 Payer for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "x402": { "command": "npx", "args": [ "-y", "@privadovpn/x402-mcp" ], "env": { "SOLANA_PRIVATE_KEY": "your-value", "EVM_PRIVATE_KEY": "your-value", "EVM_RPC_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY, EVM_RPC_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PrivadoVPN x402 Payer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
EVM_RPC_URL EVM RPC endpoint used to check balances and broadcast transactions. Required for EVM payments.Descriptions are as written by the maker.
In the PrivadoVPN x402 Payer settings, SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY, EVM_RPC_URL is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use PrivadoVPN x402 Payer and tell me what you can do for me, then show me one thing✓ If Cursor says it is using PrivadoVPN x402 Payer or shows a PrivadoVPN x402 Payer tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
PREFERRED_NETWORK Which network to prefer when a quote offers both. Accepts 'solana' or 'evm' ('eip155' is an accepted alias for 'evm'). Defaults to 'solana' if SOLANA_PRIVATE_KEY is set, else 'evm'.X402_BASE_URL Base URL of the x402 payment backend used for catalog, quote, and fulfillment requests. Defaults to https://x402.privadovpn.com.SOLANA_RPC_URL Solana RPC endpoint used to check balances and broadcast transactions. Defaults to https://api.mainnet-beta.solana.com.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a PrivadoVPN x402 Payer key (create it on the maker’s site) · 1 setting(s) to fill in (EVM_RPC_URL) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server PrivadoVPN x402 Payer for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "x402": { "type": "stdio", "command": "npx", "args": [ "-y", "@privadovpn/x402-mcp" ], "env": { "SOLANA_PRIVATE_KEY": "your-value", "EVM_PRIVATE_KEY": "your-value", "EVM_RPC_URL": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY, EVM_RPC_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the PrivadoVPN x402 Payer tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
EVM_RPC_URL EVM RPC endpoint used to check balances and broadcast transactions. Required for EVM payments.Descriptions are as written by the maker.
In the PrivadoVPN x402 Payer settings, SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY, EVM_RPC_URL is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use PrivadoVPN x402 Payer and tell me what you can do for me, then show me one thing✓ If VS Code says it is using PrivadoVPN x402 Payer or shows a PrivadoVPN x402 Payer tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
PREFERRED_NETWORK Which network to prefer when a quote offers both. Accepts 'solana' or 'evm' ('eip155' is an accepted alias for 'evm'). Defaults to 'solana' if SOLANA_PRIVATE_KEY is set, else 'evm'.X402_BASE_URL Base URL of the x402 payment backend used for catalog, quote, and fulfillment requests. Defaults to https://x402.privadovpn.com.SOLANA_RPC_URL Solana RPC endpoint used to check balances and broadcast transactions. Defaults to https://api.mainnet-beta.solana.com.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user x402 --env SOLANA_PRIVATE_KEY=your-value --env EVM_PRIVATE_KEY=your-value --env EVM_RPC_URL=your-value -- npx -y @privadovpn/x402-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"x402": {
"command": "npx",
"args": [
"-y",
"@privadovpn/x402-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "your-value",
"EVM_PRIVATE_KEY": "your-value",
"EVM_RPC_URL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"x402": {
"command": "npx",
"args": [
"-y",
"@privadovpn/x402-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "your-value",
"EVM_PRIVATE_KEY": "your-value",
"EVM_RPC_URL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"x402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@privadovpn/x402-mcp"
],
"env": {
"SOLANA_PRIVATE_KEY": "your-value",
"EVM_PRIVATE_KEY": "your-value",
"EVM_RPC_URL": "your-value"
}
}
}
}SOLANA_PRIVATE_KEY secret required envEVM_PRIVATE_KEY secret required envPREFERRED_NETWORK envX402_BASE_URL envSOLANA_RPC_URL envEVM_RPC_URL required envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: @privadovpn/x402-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account privadovpn, which owns the repo
Code last changed 2 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @privadovpn/x402-mcp@1.1.1
Checks only this package version, not every dependency · checked Nov 16, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/privadovpn-x402-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: SOLANA_PRIVATE_KEY, EVM_PRIVATE_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 2 days ago, and the latest version (1.1.1) reached the registry 20 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
DEX and on-chain data: liquidity pools, token prices, swaps, and trading volume.
Blockchain data across 100+ chains: token prices, NFTs, transfers, simulation, traces, Solana DAS
Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.
| This one PrivadoVPN x402 Payer | DexSQL | PayRam | DexPaprika | Alchemy MCP Server | X402 List MCP | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 2/3 | 3/4 | 4/4 | 4/4 | 5/5 |
| License | MIT | NOASSERTION | – | MIT | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Pay-per-use VPN and SOCKS5 proxy access for AI agents, powered by x402 USDC payments. Local stdio MCP server that signs and broadcasts payments (Solana, EVM); every plan includes both an HTTP proxy and a SOCKS5 proxy.
No subscription required — pay only for the access you use, starting at $0.05. Plans and prices are never hardcoded in this client: list_vpn_catalog always fetches the live, authoritative list from the backend's .well-known/x402-payment manifest. As of 2026-10-21, the approved pricing lineup is:
| Plan ID | Display Name | Duration | Price |
|---|---|---|---|
PREMIUMM15 | Premium M15 | 15 minutes | $0.05 |
PREMIUMX1 | Premium X1 | 1 hour | $0.15 |
PREMIUMX3 | Premium X3 | 3 hours | $0.39 |
PREMIUMD1 | Premium D1 | 24 hours | $0.99 |
PREMIUMD7 | Premium D7 | 7 days | $2.99 |
PREMIUMD30 | Premium D30 | 30 days | $5.99 |
Every plan currently includes both an HTTP proxy and a SOCKS5 proxy (the backend's catalog lists this per plan as services: ["http_proxy", "socks5_proxy"]) — there is no separate SOCKS5-only plan to choose. Always call list_vpn_catalog before purchasing — it returns the current, authoritative set of plans, prices, and included services.
This server signs payments locally and never transmits your private key anywhere.
SOLANA_PRIVATE_KEY and EVM_PRIVATE_KEY are read from local process environment variables. They are used only to sign transactions in-process and are never sent over the network or written to disk by this server.X402_BASE_URL to fulfill a purchase.wallet_status returns configured addresses and network selection only. It never returns private keys or any secret material.~/.privado/ on your local machine and are never logged to stdout/stderr by this server.npx -y @privadovpn/x402-mcp
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "privadovpn-x402-mcp": { "command": "npx", "args": ["-y", "@privadovpn/x402-mcp"], "env": { "SOLANA_PRIVATE_KEY": " " } } } }
Claude Code:
claude mcp add privadovpn-x402-mcp -e SOLANA_PRIVATE_KEY=<your-base58-key> -- npx -y @privadovpn/x402-mcp
Cursor (.cursor/mcp.json):
{
"mcpServers": { "privadovpn-x402-mcp": { "command": "npx", "args": ["-y", "@privadovpn/x402-mcp"], "env": { "SOLANA_PRIVATE_KEY": " " } } } }
| Variable | Required | Default | Description |
|---|---|---|---|
SOLANA_PRIVATE_KEY | At least one of SOLANA_PRIVATE_KEY / EVM_PRIVATE_KEY | — | Base58-encoded Solana secret key (32 or 64 bytes) used to sign and pay in SPL USDC. |
EVM_PRIVATE_KEY | At least one of SOLANA_PRIVATE_KEY / EVM_PRIVATE_KEY | — | Hex-encoded EVM private key used to sign EIP-3009 USDC authorizations. |
PREFERRED_NETWORK | No | solana if SOLANA_PRIVATE_KEY is set, else evm | Which network to prefer when a quote offers both. Accepts solana or evm (eip155 is an accepted alias for evm). |
X402_BASE_URL | No | https://x402.privadovpn.com | Base URL of the x402 payment backend used for catalog, quote, and fulfillment requests. |
SOLANA_RPC_URL | No | https://api.mainnet-beta.solana.com | Solana RPC endpoint used to check balances and broadcast transactions. |
EVM_RPC_URL | Required for EVM payments | — | EVM RPC endpoint used to check balances and broadcast transactions. |
| Tool | Purpose |
|---|---|
wallet_status | Show configured wallet addresses and network selection. Never returns private keys. |
list_vpn_catalog | List purchasable VPN plans (including which services — HTTP proxy, SOCKS5 — each plan includes) and supported server country codes. |
buy_vpn | Preferred purchase flow: quote, sign and pay on-chain, fulfill, and save credentials in one call. |
fulfill_payment | Recovery only: exchange an already-broadcast payment for VPN credentials. |
sign_and_pay | Debug only: sign and broadcast payment without fulfilling. Prefer buy_vpn. |
Each GET /pay request creates a new invoice on the server. Because of this, buy_vpn must be called exactly once per purchase attempt — calling it again after funds have already been sent creates a second invoice and results in a duplicate charge.
If buy_vpn reports that the on-chain payment succeeded but fulfillment failed (for example, due to a network error when exchanging the payment for credentials), do not call buy_vpn again. Instead call fulfill_payment with the plan, invoice_no, payment_signature, and settlement_tx values from the error. This exchanges the already-completed payment for credentials without creating a new invoice or sending additional funds.
buy_vpn and sign_and_pay both accept a dry_run flag that performs balance checks without broadcasting a transaction. Note that a dry run still creates a real invoice on the server; it does not need to be followed by a real purchase, but it should not be repeated for the same purchase attempt.
A single purchase covers every service the plan includes — there is no separate checkout for SOCKS5. The vpn object returned by buy_vpn/fulfill_payment (and saved to ~/.privado/) contains:
| Field | Present when | Description |
|---|---|---|
vpn.port, vpn.connection_string | Always | HTTP proxy. connection_string is https://user:pass@host:port. |
vpn.socks5_port, vpn.socks5_connection_string | Plan's services includes socks5_proxy | SOCKS5 proxy, same username/password as the HTTP proxy. socks5_connection_string is socks5://user:pass@host:port. |
This client does not parse or special-case these fields — whatever the backend returns is passed straight through to the agent and to the saved credentials file, so field names always match what list_vpn_catalog/buy_vpn actually return at the time of purchase.
Example of using a purchased SOCKS5 proxy with curl, once you have vpn.socks5_connection_string:
curl -x "$SOCKS5_CONNECTION_STRING" https://ifconfig.me
This server never configures system-wide or OS-level proxy settings — it only returns credentials. Routing any traffic through them is a separate, explicit step you take.
sequenceDiagram
participant Agent participant MCP as Local MCP (this server) participant Backend as x402.privadovpn.com
Agent->>MCP: buy_vpn(plan, country) MCP->>Backend: GET /pay?plan=... Backend-->>MCP: 402 Payment Required + quote (accepts[]) MCP->>MCP: sign payment locally (private key never leaves process) MCP->>Backend: broadcast transaction on-chain Backend-->>MCP: transaction confirmed MCP->>Backend: GET /pay (PAYMENT-SIGNATURE, X-Settlement-Transaction) Backend-->>MCP: VPN credentials MCP-->>Agent: credentials + settlement_tx + credentials_path
Supported networks: Solana (SPL USDC transfer) and EVM (EIP-3009 transferWithAuthorization USDC).
https://x402.privadovpn.com/.well-known/x402-paymenthttps://x402.privadovpn.com/llms.txthttps://x402.privadovpn.com/mcpgit clone git@github.com:privadovpn/x402-mcp.git
cd x402-mcp npm install npm run build npm test
Run with the MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.js
MIT. See LICENSE.
mcp-name: io.github.privadovpn/x402-mcp