Install
$ agentstack add mcp-paidmcp-client ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
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
- 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
- Check wallet address and balances:
npx paidmcp-client wallet
- Fund the wallet (testnet first, then live if needed).
- Connect to your paid MCP endpoint:
npx paidmcp-client connect https://your-mcp-host.dev
- 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-clientnpm install -g paidmcp-clientthenpaidmcp- 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.jsonalready exists,init/wallet:importwill not overwrite by default - overwrite requires both
--forceand--confirm OVERWRITE_PAIDMCP_CONFIG - before overwrite, a timestamped backup is created in
~/.paidmcp/asconfig.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 walletto confirm balances are readable - run
npx paidmcp-client doctorfor a quick endpoint check
Spend limits or confirmation stopped a call
- adjust
maxPerCallUsdt,maxSessionUsdt, andconfirmAboveUsdtin~/.paidmcp/config.json - restart the MCP client after changing config
Security notes
~/.paidmcp/config.jsoncontains 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.
- Author: paidmcp
- Source: paidmcp/client
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.