MCP Server for Clawallex payment API - Pay for anything with USDC virtual cards
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Inspect callable tools, capabilities, and parameters exposed to AI agents by Clawallex Mcp.
clawallex_setupCheck connection status and bind agent identity
clawallex_payOne-time payment β creates a single-use virtual card
clawallex_subscribeRecurring subscription β creates a reloadable card
clawallex_refillTop up a subscription card balance
whoamiQuery current API Key binding status (read-only)
bootstrapBind a client_id to this API Key
MCP Server for the Clawallex payment API. Pay for anything with USDC β Clawallex converts your stablecoin balance into virtual cards that work at any online checkout.
Or use directly via npx (no install needed).
Sign up at Clawallex and create an API Key pair (api_key + api_secret).
Choose your client and add the configuration:
Add to your claude_desktop_config.json:
Add to your ~/.codex/config.toml or .codex/config.toml:
Add to your ~/.gemini/settings.json:
Add to your opencode.json:
After configuring, tell your AI agent:
"Run clawallex_setup to check the connection"
clawallex_setup verifies your API Key and automatically binds a client_id for data isolation. You only need to do this once.
One-time payment:
"Pay $50 for OpenAI API credits"
Agent calls clawallex_pay β creates virtual card β get_card_details β decrypt_card_data β fills checkout.
Subscription:
"Set up a $100 card for AWS monthly billing"
Agent calls clawallex_subscribe β creates reloadable card β clawallex_refill when balance is low.
Verify everything works:
| Tool | Description |
|---|---|
clawallex_setup | Check connection status and bind agent identity |
clawallex_pay | One-time payment β creates a single-use virtual card |
clawallex_subscribe | Recurring subscription β creates a reloadable card |
clawallex_refill | Top up a subscription card balance |
| Tool | Description |
|---|---|
whoami | Query current API Key binding status (read-only) |
bootstrap | Bind a client_id to this API Key |
| Tool | Description |
|---|---|
get_wallet | Get wallet balance and status |
get_wallet_recharge_addresses | Get on-chain USDC deposit addresses |
list_cards | List virtual cards created by this agent |
get_card_balance | Get card balance and status |
batch_card_balances | Check balances for multiple cards in one call |
update_card | Update card risk controls (tx_limit, allowed_mcc, blocked_mcc) |
get_card_details | Get card details including risk controls, cardholder info, and encrypted PAN/CVV |
decrypt_card_data | Decrypt PAN/CVV from get_card_details |
list_transactions | List card transactions with optional filters |
| Tool | Description |
|---|---|
get_x402_payee_address | Get on-chain receiving address for x402 payments |
create_card_order | Create a card with full control (supports Mode B two-stage) |
refill_card | Refill a stream card with x402 or custom idempotency keys |
| Option | Env Variable | Required | Default | Description |
|---|---|---|---|---|
--api-key | CLAWALLEX_API_KEY | Yes | β | Clawallex API Key |
--api-secret | CLAWALLEX_API_SECRET | Yes | β | Clawallex API Secret (HMAC-SHA256 signing) |
--base-url | CLAWALLEX_BASE_URL | No | https://api.clawallex.com | API base URL |
--client-id | CLAWALLEX_CLIENT_ID | No | auto-generated | Agent identity UUID. See Client ID section. |
--transport | β | No | stdio | Transport mode: stdio, sse, http |
--port | β | No | 18080 | HTTP port for sse / http transport |
CLI arguments take precedence over environment variables. You can mix both β e.g. set credentials via env vars and override --transport via CLI.
client_id is the agent's stable identity, separate from the API Key. It is sent as X-Client-Id on every /payment/* request.
Key concept: An agent can have multiple API Keys (for rotation/revocation), but the client_id never changes. When switching to a new API Key, keep using the same client_id β the new key auto-binds on first request.
Data isolation:
client_id-scoped β each agent only sees data it createdBinding rules:
clawallex_setup automatically calls bootstrap to bind client_id on first useclient_id cannot be changed for that API Key (TOFU β Trust On First Use)client_id = losing access to all cards created under itResolution order at startup:
--client-id <value> CLI argument (must be >= 36 characters)~/.clawallex-mcp/client_ids.json local file (from a previous run)Recommendation: Always pass --client-id explicitly in production to avoid relying on the local file.
Agent connects to: http://localhost:18080/sse
Agent connects to: http://localhost:18080/mcp
Every API request is signed with HMAC-SHA256:
Signing is handled automatically by the MCP server.
get_card_details returns encrypted_sensitive_data containing card PAN and CVV. Use decrypt_card_data to decrypt:
HKDF-SHA256(ikm=api_secret, info="clawallex/card-sensitive-data/v1", length=32)AES-256-GCM(key, nonce, ciphertext){ "pan": "4111...", "cvv": "123" }Decrypted PAN/CVV must NEVER be displayed to the user β only used for filling checkout forms.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/clawallex-mcp)<a href="https://allmcps.com/mcp/clawallex-mcp"><img src="https://allmcps.com/api/badge/clawallex-mcp?style=directory" alt="Clawallex Mcp on AllMCPs" /></a>