# @privadovpn/x402-mcp

Local MCP server that signs x402 USDC payments (Solana, EVM) to buy PrivadoVPN access

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 1.0.0
- **Author:** Privado Networks LLC
- **License:** MIT
- **npm:** @privadovpn/x402-mcp
- **Source:** https://github.com/privadovpn/x402-mcp
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 2 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-10-03T22:52:57.855Z
- **Version scanned:** 1.0.0
- **CVEs:** none found by OSV at scan time

## Tools

5 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `wallet_status` — Show which wallets are configured (addresses only, never private keys).
- `list_vpn_catalog` — List purchasable VPN plans (id, USD price, duration) and supported server country codes from X402_BASE_URL discovery.
- `sign_and_pay` — DEBUG ONLY. Broadcasts on-chain payment and returns payment_signature + settlement_tx but does NOT fetch VPN credentials. Prefer buy_vpn. If you use this, you M
- `buy_vpn` — PREFERRED. Buy VPN in one call: quote → pay on-chain → fulfill → save credentials. Call ONCE per purchase. Do not use curl/shell against /pay. Do not call dry_r
- `fulfill_payment` — Recovery only: exchange an already-broadcast payment for VPN credentials. Requires plan, invoice_no, payment_signature, settlement_tx from a prior buy_vpn/sign_

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"x402\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@privadovpn/x402-mcp\"\n      ],\n      \"env\": {\n        \"SOLANA_PRIVATE_KEY\": \"<YOUR_SOLANA_PRIVATE_KEY>\",\n        \"EVM_PRIVATE_KEY\": \"<YOUR_EVM_PRIVATE_KEY>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `SOLANA_PRIVATE_KEY` — Solana Private Key (optional)
- `EVM_PRIVATE_KEY` — Evm Private Key (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 2 credentials (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an api key; runs on your machine.
- Floor 25, ceiling 25 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40privadovpn%2Fx402-mcp
- Install plan: https://forgeregistry.com/api/v1/packages/%40privadovpn%2Fx402-mcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40privadovpn%2Fx402-mcp
- HTML page: https://forgeregistry.com/registry/%40privadovpn%2Fx402-mcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
