AgentStack
MCP verified MIT Self-run

Paidmcp Client

mcp-paidmcp-client · by paidmcp

Local stdio proxy that lets Claude Desktop & Cursor call paid (x402) MCP servers, paying per call in USDC/USDT0. Published on npm as paidmcp-client.

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add mcp-paidmcp-client

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Paidmcp Client? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

paidmcp-client

[](https://www.npmjs.com/package/paidmcp-client) [](LICENSE)

paidmcp-client is an optional managed-wallet MCP proxy for x402-enabled MCP servers.

Use it when you want spend caps, confirmations, and guided onboarding. You can also connect natively to /mcp without this proxy.

Requirements

  • Node.js 20+
  • npm

Install

Use one of these options:

# run without installing globally
npx paidmcp-client --help

# or install globally
npm install -g paidmcp-client

After global install, use the paidmcp command directly:

paidmcp --help

Quick start

  1. Create a local payer wallet config:
npx paidmcp-client init

This creates ~/.paidmcp/config.json with:

  • your seed phrase
  • testnet defaults (Base Sepolia) plus spend guardrails
  1. Check wallet address and balances:
npx paidmcp-client wallet
  1. Fund the wallet (testnet first, then live if needed).
  1. Connect to your paid MCP endpoint:
npx paidmcp-client connect https://your-mcp-host.dev
  1. Add the printed snippet to your MCP client config (Cursor or Claude Desktop).

CLI commands

npx paidmcp-client init
npx paidmcp-client wallet
npx paidmcp-client wallet:import "" --force --confirm OVERWRITE_PAIDMCP_CONFIG
npx paidmcp-client doctor 
npx paidmcp-client connect 
npx paidmcp-client run 

Examples:

npx paidmcp-client connect http://localhost:4021
npx paidmcp-client run https://your-mcp-host.dev

Configure Cursor or Claude Desktop

Generate a config snippet for a paid MCP endpoint:

npx paidmcp-client connect https://your-mcp-host.dev

The command prints JSON like:

{
  "mcpServers": {
    "your-mcp-host-dev": {
      "command": "npx",
      "args": ["paidmcp-client", "run", "https://your-mcp-host.dev"]
    }
  }
}

Paste this into your MCP config file and restart your MCP client if needed.

Local development (from source)

Inside client/:

npm install
npm run build

Run commands from source:

npm run init
npm run wallet
npm run wallet:import -- "" --force --confirm OVERWRITE_PAIDMCP_CONFIG
npm run doctor -- http://localhost:4021
npm run connect -- http://localhost:4021
npm run run -- http://localhost:4021

Troubleshooting

paidmcp: command not found

Use one of:

  • npx paidmcp-client
  • npm install -g paidmcp-client then paidmcp
  • from source: npm run

Missing config error

If you see an error like Run "paidmcp init" first, create the local config:

npx paidmcp-client init

Overwrite protection

  • when ~/.paidmcp/config.json already exists, init / wallet:import will not overwrite by default
  • overwrite requires both --force and --confirm OVERWRITE_PAIDMCP_CONFIG
  • before overwrite, a timestamped backup is created in ~/.paidmcp/ as config.backup-*.json

No balance / payment failure

  • verify your wallet has funded USDC (Base) or USDT0 (Plasma)
  • verify endpoint URL and network availability
  • run npx paidmcp-client wallet to confirm balances are readable
  • run npx paidmcp-client doctor for a quick endpoint check

Spend limits or confirmation stopped a call

  • adjust maxPerCallUsdt, maxSessionUsdt, and confirmAboveUsdt in ~/.paidmcp/config.json
  • restart the MCP client after changing config

Security notes

  • ~/.paidmcp/config.json contains your seed phrase in plaintext.
  • Never commit or share this file.
  • Back up your seed phrase securely. Losing it means losing access to funds.

License

MIT. See LICENSE.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.