# Send MoonPay to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "moonpay",
    "name": "MoonPay",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/kevarifin14/moonpay",
    "canonicalUrl": "https://clawhub.ai/kevarifin14/moonpay",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/moonpay",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=moonpay",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "moonpay",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T15:44:16.885Z",
      "expiresAt": "2026-05-09T15:44:16.885Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=moonpay",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=moonpay",
        "contentDisposition": "attachment; filename=\"moonpay-0.6.24.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "moonpay"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/moonpay"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/moonpay",
    "downloadUrl": "https://openagent3.xyz/downloads/moonpay",
    "agentUrl": "https://openagent3.xyz/skills/moonpay/agent",
    "manifestUrl": "https://openagent3.xyz/skills/moonpay/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/moonpay/agent.md"
  }
}
```
## Documentation

### MoonPay CLI

Your agent needs money. Give your agents crypto.

MoonPay is the crypto onramp for AI agents — non-custodial wallets, swaps, bridges, transfers, DCA, limit orders, deposits, market data, and fiat on/off ramps. One CLI for everything.

Base URL: https://agents.moonpay.com

### What is MoonPay CLI?

MoonPay CLI gives AI agents and humans full access to crypto:

Non-custodial — Local wallets with OS keychain encryption. Keys never leave the machine.
Multi-chain — Solana, Ethereum, Base, Polygon, Arbitrum, Optimism, BNB, Avalanche, TRON, Bitcoin
Multi-surface — MoonPay CLI (mp), local MCP server (mp mcp), web chat
Trading — Swap, bridge, transfer, DCA, limit orders, stop losses
Market intelligence — Trending tokens, token analysis, price data, price alerts
Deposits — Multi-chain deposit links with automatic stablecoin conversion
Fiat on/off-ramp — Buy crypto with fiat (USD), virtual accounts with KYC
Deposits — Multi-chain deposit links with automatic stablecoin conversion

### Option A: CLI (Recommended)

# Install
npm install -g @moonpay/cli

# Login (opens browser for captcha verification)
mp login --email you@example.com
# Open the URL, solve captcha, get code from email
mp verify --email you@example.com --code 123456

# Create a wallet
mp wallet create --name main

# List tools
mp tools

# Search for a token
mp token search --query "SOL" --chain solana --limit 5

# Check balances
mp token balance list --wallet main --chain solana

### Option B: MCP Server (Local)

Run mp mcp to start a local MCP server over stdio. This exposes all CLI + remote tools to any MCP-compatible client (Claude Desktop, Cursor, Claude Code).

{
  "mcpServers": {
    "moonpay": {
      "command": "mp",
      "args": ["mcp"]
    }
  }
}

### Option C: REST API

curl -X POST https://agents.moonpay.com/api/tools/token_search \\
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{"query": "SOL", "chain": "solana", "limit": 5}'

### Authentication

CLI: Run mp login --email you@example.com to open a browser page with hCaptcha. After solving the captcha, a verification code is sent to your email. Run mp verify --email you@example.com --code 123456. Credentials are stored encrypted at ~/.config/moonpay/credentials.json and auto-refresh. Run mp logout to clear stored credentials.

REST API: Use a Bearer token in the Authorization header. Obtain tokens via the login/verify flow or OAuth 2.0 with PKCE.

Rate limits: 5 requests/min (anonymous), 60 requests/min (authenticated).

Terms of Use: https://www.moonpay.com/legal/terms_of_use_europe_hypermint

### Wallet Management

Wallets are HD (BIP39) — one mnemonic derives addresses for all chains. EVM wallets share a single address across Ethereum, Base, Polygon, Arbitrum, Optimism, BNB, and Avalanche.

mp wallet create --name main          # Create HD wallet (Solana + EVM + Bitcoin + TRON)
mp wallet import --name funded        # Import from mnemonic or private key (interactive)
mp wallet list                         # List all wallets (shows all chain addresses)
mp wallet retrieve --wallet main       # Get wallet details
mp wallet rename --wallet old --name new  # Rename a wallet
mp wallet export --wallet main         # Export mnemonic (interactive only)
mp wallet delete --wallet old          # Permanently delete a wallet

### Token Trading

Swaps, bridges, and transfers sign locally — keys never leave the machine.

# Swap (same chain)
mp token swap \\
  --wallet main --chain solana \\
  --from-token EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v \\
  --from-amount 5 \\
  --to-token So11111111111111111111111111111111111111111

# Bridge (cross chain)
mp token bridge \\
  --from-wallet main --from-chain polygon \\
  --from-token 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 \\
  --from-amount 6 \\
  --to-chain solana \\
  --to-token EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v \\
  --to-wallet <solana-address>

# Transfer
mp token transfer \\
  --wallet main --chain solana \\
  --token EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v \\
  --amount 10 \\
  --to <recipient-address>

### Market Data

# Search tokens
mp token search --query "BONK" --chain solana --limit 5

# Token details + market data
mp token retrieve --token <address> --chain solana

# Trending tokens
mp token trending list --chain solana --limit 10 --page 1

# Check balances
mp token balance list --wallet <address> --chain solana

### Fiat On-Ramp

# Buy crypto with fiat (amount in USD, returns checkout URL)
mp buy --token sol --amount 50 --wallet <address> --email <email>

# Virtual account (KYC-based fiat on-ramp)
mp virtual-account create
mp virtual-account wallet register --wallet main --chain solana
mp virtual-account onramp create --name "USD to USDC" --fiat USD --chain solana --stablecoin USDC

### Deposits

# Create a multi-chain deposit link
mp deposit create --name "My Deposit" --wallet <address> --chain solana --token USDC

# Check deposit details
mp deposit retrieve --id <deposit-id>

# List deposit transactions
mp deposit transaction list --id <deposit-id>

### Signing

# Sign a message
mp message sign --wallet main --chain solana --message "hello"

# Sign a transaction
mp transaction sign --wallet main --chain solana --transaction <base64>

# Send a signed transaction
mp transaction send --chain solana --transaction <signed-base64>

### Safety Rules

CLI tools (mp token swap, mp token bridge, mp token transfer) handle the full build, sign, broadcast flow automatically. Keys are signed locally and never sent to the server.

For server-side tools (REST API / MCP), use the simulate-then-execute pattern:

Always simulate first — call with "simulation": true to get a quote
Show the quote — display expected output, fees, slippage
Get explicit confirmation — never auto-execute without user approval
Execute — call with "simulation": false only after confirmation

### Auth

ToolDescriptionloginOpen browser for hCaptcha verification, sends email codeverifyVerify login code and store encrypted credentialslogoutLog out and clear stored credentialsuser retrieveGet the currently authenticated userconsent checkCheck whether Terms of Service have been acceptedconsent acceptAccept the Terms of Service and Privacy Policy

### Wallet

ToolDescriptionwallet createCreate multi-chain HD walletwallet importImport from mnemonic or private keywallet listList all local walletswallet retrieveGet wallet detailswallet renameRename a walletwallet deleteDelete a local walletwallet exportExport mnemonic (interactive only)

### Token Trading

ToolDescriptiontoken swapSwap tokens on the same chaintoken bridgeBridge tokens across chainstoken transferTransfer tokens to another address

### Market Data

ToolDescriptiontoken searchSearch tokens by name/symbol/addresstoken retrieveToken metadata + market datatoken trending listTrending tokens by chaintoken balance listList token balances for a walletbitcoin balance retrieveGet BTC balance

### Transactions

ToolDescriptiontransaction listList swap/bridge transaction historytransaction retrieveGet transaction detailstransaction signSign a transaction locallytransaction sendBroadcast a signed transactionmessage signSign a message (EIP-191, ed25519, ECDSA)

### Fiat

ToolDescriptionbuyBuy crypto with fiat via MoonPay checkout (amount in USD)virtual-account createCreate virtual account + start KYCvirtual-account retrieveGet account statusvirtual-account wallet listList wallets registered for fiat on-rampvirtual-account wallet registerRegister wallet for fiat on-rampvirtual-account onramp createCreate fiat to stablecoin onrampvirtual-account onramp retrieveGet onramp details and banking infovirtual-account onramp listList onrampsvirtual-account onramp deleteCancel an onrampvirtual-account onramp payment createCreate open banking payment linkvirtual-account onramp payment retrieveGet payment statusvirtual-account transaction listList fiat to stablecoin conversion historyvirtual-account kyc restartStart or restart KYC verificationvirtual-account kyc continueCheck KYC status or get verification linkvirtual-account agreement listList legal agreements (pending or accepted)virtual-account agreement acceptAccept a required legal agreement

### Deposits

ToolDescriptiondeposit createCreate multi-chain deposit link (USDC, USDC.e, USDT)deposit retrieveGet deposit detailsdeposit transaction listList incoming deposit transactions

### x402

ToolDescriptionx402 requestMake paid API request with automatic payment

### Skills

ToolDescriptionskill listList available AI skillsskill retrieveGet skill instructionsskill installInstall skills for Claude Code

### Feedback

ToolDescriptionfeedback createSubmit feedback (type: bug, feature, or general)

### x402 Rate Limit Upgrade

Pay to increase your API rate limit via the x402 protocol.

Endpoint: POST https://agents.moonpay.com/x402/upgrade

DurationPriceLengthday$1 USDC24 hoursmonth$20 USDC30 days

# With CLI (handles payment automatically)
mp upgrade --duration day --wallet main --chain solana

Payment: USDC via x402 on Solana or Base. Requires login. Payment is only settled on success.

### Pre-Built Skills

Install AI skills for Claude Code:

mp skill install

SkillDescriptionmoonpay-authCLI setup, login, wallet creationmoonpay-block-explorerOpen tx/wallet/token in chain explorersmoonpay-buy-cryptoBuy crypto with fiatmoonpay-check-walletView balances and portfoliomoonpay-depositCreate deposit links with stablecoin conversionmoonpay-discover-tokensSearch, trending, risk assessmentmoonpay-export-dataExport portfolio/tx history to CSV/JSONmoonpay-feedbackSubmit bug reports and feature requestsmoonpay-mcpConfigure MoonPay as MCP servermoonpay-missionsGuided walkthrough of capabilitiesmoonpay-polymarket-readyFund Polygon wallet for Polymarketmoonpay-price-alertsDesktop notifications at target pricesmoonpay-swap-tokensSwap and bridge tokensmoonpay-trading-automationDCA, limit orders, stop losses via cron/launchdmoonpay-upgradeUpgrade rate limit via x402 paymentmoonpay-virtual-accountFiat on-ramp with KYCmoonpay-x402Paid API requests

### Supported Chains

ChainChain IDFeaturesSolanasolanaFull trading, limit orders, DCAEthereumethereumSwap, bridge, transfer, market dataBasebaseSwap, bridge, transfer, market dataPolygonpolygonSwap, bridge, transfer, market dataArbitrumarbitrumSwap, bridge, transfer, market dataOptimismoptimismSwap, bridge, transfer, market dataBNBbnbSwap, bridge, transfer, market dataAvalancheavalancheSwap, bridge, transfer, market dataTRONtronWallet addressesBitcoinbitcoinBalance, bridges

### Tips for Agents

Resolve token addresses first — call token search before trading if you only have a name/symbol
Check balances — use token balance list before trading to confirm available amounts
Native token addresses — Solana: So11111111111111111111111111111111111111111, EVM: 0x0000000000000000000000000000000000000000
EVM wallets share one address across Ethereum, Base, Polygon, Arbitrum, Optimism, BNB, Avalanche
CLI signs locally — mp token swap, mp token bridge, mp token transfer handle the full flow (build → sign → broadcast)
Use -f compact when piping CLI output to jq for scripting

### Links

Web App: https://agents.moonpay.com
CLI: npm install -g @moonpay/cli
MCP Server: mp mcp (local, stdio)
Skills: mp skill install
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: kevarifin14
- Version: 0.6.24
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T15:44:16.885Z
- Expires at: 2026-05-09T15:44:16.885Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/moonpay)
- [Send to Agent page](https://openagent3.xyz/skills/moonpay/agent)
- [JSON manifest](https://openagent3.xyz/skills/moonpay/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/moonpay/agent.md)
- [Download page](https://openagent3.xyz/downloads/moonpay)