# MoonPay CLI > Your agent needs money. MoonPay is the crypto onramp for AI agents — wallets, swaps, bridges, transfers, DCA, limit orders, deposits, market data, and fiat on/off ramps via CLI or MCP. MoonPay CLI gives AI agents and humans full access to crypto. Non-custodial HD wallets (BIP39) with OS keychain encryption — keys never leave the machine. Available as a CLI (`npm install -g @moonpay/cli`) or local MCP server (`mp mcp`) compatible with Claude Desktop, Cursor, and Claude Code. Multi-chain: Solana, Ethereum, Base, Polygon, Arbitrum, Optimism, BNB, Avalanche, TRON, Bitcoin. EVM wallets share a single address across all EVM chains. Safety: CLI tools handle the full build → sign → broadcast flow. For server-side tools, always simulate first (`"simulation": true`), show the quote, get explicit confirmation, then execute. ## Docs - [CLI on npm](https://www.npmjs.com/package/@moonpay/cli): Install with `npm install -g @moonpay/cli` - [Skill / Agent Instructions](https://agents.moonpay.com/skill.md): Full tool reference, CLI commands, authentication, safety rules, REST API, and pre-built AI skills - [MCP Server](https://agents.moonpay.com/skill.md): Run `mp mcp` locally for stdio-based MCP integration ## Tools - [Wallet Management](https://agents.moonpay.com/skill.md): Create, import, list, rename, export, and delete HD wallets across all supported chains - [Token Trading](https://agents.moonpay.com/skill.md): Swap (same-chain), bridge (cross-chain), and transfer tokens — keys sign locally - [Market Data](https://agents.moonpay.com/skill.md): Search tokens, retrieve metadata and market data, list trending tokens, check balances - [Fiat On-Ramp](https://agents.moonpay.com/skill.md): Buy crypto with fiat via MoonPay checkout; virtual accounts with KYC for fiat → stablecoin onramps - [Deposits](https://agents.moonpay.com/skill.md): Multi-chain deposit links with automatic stablecoin conversion (USDC, USDC.e, USDT) - [Transactions](https://agents.moonpay.com/skill.md): Sign messages and transactions locally, broadcast signed transactions - [x402 Paid API](https://agents.moonpay.com/skill.md): Pay-per-request endpoints (no OAuth needed) — payment via USDC on Solana or Base - [Pre-Built AI Skills](https://agents.moonpay.com/skill.md): Installable skills for Claude Code via `mp skill install` — auth, trading, price alerts, Polymarket, fiat on-ramp, and more ## Optional - [Terms of Use](https://www.moonpay.com/legal/terms_of_use_europe_hypermint): Terms governing use of the platform - [Privacy Policy](https://www.moonpay.com/legal/privacy_policy): Data handling and privacy practices