x402 Wallet MCP Server
by nirholasio.github.nirholas/x402-mcpv0.2.3
Self-custodial x402 wallet for AI agents: pay any service in USDC or $THREE from your own key.
context tax
pending
security
100/100
cold start
pending
freshness
Active25d ago
Our reading of x402 Wallet, from the data
x402 Wallet is a finance & fintech MCP server from nirholas, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 25 days ago (2026-10-17). For comparison, 63% of finance & fintech servers are active or maintained.
With 241 GitHub stars it ranks #59 of 2,965 finance & fintech servers we index.
It runs locally on your machine over stdio and needs one secret (SOLANA_SECRET_KEY); use a scoped, least-privilege key.
Install x402 Wallet MCP server
Install in Claude Code
claude mcp add x402-nirholas -e SOLANA_SECRET_KEY='<solana-secret-key>' -- npx -y @three-ws/x402-mcpInstall in Cursor
{
"mcpServers": {
"x402-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/x402-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"x402-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/x402-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"x402-nirholas": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/x402-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"x402-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/x402-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "<solana-secret-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @three-ws/x402-mcp
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SOLANA_SECRET_KEY | — | yes | Base58 (or JSON byte-array) Solana secret key that signs payments and holds the USDC. Not needed for the read tools (find_services, inspect_endpoint, or x402_wallet with an explicit address). Treat like cash. |
| SOLANA_RPC_URL | — | — | Solana mainnet RPC endpoint. Defaults to the public cluster — bring your own (Helius / Quicknode / Triton) for production traffic. |
| MAX_PAY_USD | — | — | Max USD a single pay_and_call may spend. Bounds a runaway or injected payment. |
| REQUIRE_CONFIRM | — | — | When on (default), pay_and_call refuses until re-issued with confirm:true. Set 0/false to disable the gate. |
| THREE_WS_BASE | — | — | Base URL of the three.ws API that serves /api/bazaar/search for find_services. Override only when self-hosting. |
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 25d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-17 · 25d ago · GitHub
Latest release
2026-10-11 · 32d ago · GitHub · forge-v0.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-10 · 32d ago · official registry · v0.2.3
How it compares in Finance & Fintech
Against the most-starred finance & fintech servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| x402 Wallet (this) | 241 | — | not measured | Active | local |
| CCXT | 44,454 | 32 | 9,090 | Active | local |
| Finance Toolkit | 5,439 | — | not measured | Active | local + hosted |
| Financial Datasets | 2,308 | — | not measured | Abandoned | — |
| Agent Toolkit | 1,960 | — | not measured | Active | hosted |
| Stripe | 1,960 | — | not measured | Active | local |
FAQ
›How do I install the x402 Wallet MCP server in Claude Code?
Run: claude mcp add x402-nirholas -e SOLANA_SECRET_KEY='<solana-secret-key>' -- npx -y @three-ws/x402-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does x402 Wallet require an API key?
Yes. It expects SOLANA_SECRET_KEY, of which 1 is a secret.
›Can I use x402 Wallet as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is x402 Wallet in the official MCP registry?
Yes, as io.github.nirholas/x402-mcp.
Sources and method
- Official MCP Registry entry
- updated 2026-10-10
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to x402 Wallet
Other finance & fintech MCP servers.