
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@codespar/mcp-moonpay
Advanced tools
MCP server for MoonPay — fiat-to-crypto on/off-ramp covering 100+ crypto assets, multi-geography, Pix supported for Brazil
MCP server for MoonPay — fiat-to-crypto on/off-ramp.
MoonPay spans 100+ crypto assets and many geographies, with both buy (fiat → crypto) and sell (crypto → fiat) flows. Pix is supported as a Brazil onramp rail.
| Server | Coverage | Direction |
|---|---|---|
@codespar/mcp-unblockpay | BRL / MXN ↔ USDC | Onramp + offramp, stablecoin only |
@codespar/mcp-moonpay | 100+ crypto assets, multi-geo, Pix for BR | Onramp + offramp |
@codespar/mcp-mercado-bitcoin, @codespar/mcp-bitso | Exchange order books | Trade |
@codespar/mcp-circle | USDC native rails | Stablecoin infra |
Use MoonPay when an agent needs broader crypto coverage (beyond USDC), longer-tail geographies, or a sell-side flow that pays out to local fiat.
| Tool | Purpose |
|---|---|
get_buy_quote | Preview a fiat -> crypto buy quote in real time. |
create_buy_transaction | Create a buy transaction (fiat -> crypto). |
get_buy_transaction | Retrieve a buy transaction (fiat -> crypto) by its MoonPay id. |
list_buy_transactions | List buy transactions with optional filters. |
get_sell_quote | Preview a crypto -> fiat sell quote in real time. |
create_sell_transaction | Create a sell transaction (crypto -> fiat). |
get_sell_transaction | Retrieve a sell transaction (crypto -> fiat) by its MoonPay id. |
refund_sell_transaction | Request a refund on an off-ramp (sell) transaction. |
create_customer | Create a MoonPay customer (KYC'd end user). |
get_customer | Retrieve a MoonPay customer by id. |
get_customer_kyc_status | Fetch KYC verification status (and any pending document requirements) for a MoonPay customer. |
list_customer_transactions | List all transactions (buy + sell) tied to a single MoonPay customer. |
get_transaction_receipt | Fetch a tax-/audit-grade receipt for a completed buy or sell transaction. |
list_currencies | List supported currencies (fiat + crypto). |
get_currency | Retrieve metadata for a single currency (fiat or crypto) by its MoonPay code. |
list_countries | List countries supported by MoonPay along with which flows (buy / sell / NFT) are allowed per geography. |
list_payment_methods | List payment methods supported for a given fiat currency / country combination (e.g. |
get_user_country | Resolve the caller's (or a given IP's) country via MoonPay's IP-address geolocation endpoint. |
sign_buy_url | Build and HMAC-SHA256 sign a MoonPay buy widget URL (buy.moonpay.com). |
sign_sell_url | Build and HMAC-SHA256 sign a MoonPay sell widget URL (sell.moonpay.com). |
npm install @codespar/mcp-moonpay
MOONPAY_API_KEY="..." # API key (sandbox or production — the key selects the environment)
MOONPAY_BASE_URL="..." # Optional. Defaults to https://api.moonpay.com.
Every request uses a simple header:
Authorization: Api-Key <MOONPAY_API_KEY>
Sandbox vs production is selected by the key itself — the base URL stays the same.
# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-moonpay
# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-moonpay
MIT
FAQs
MCP server for MoonPay — fiat-to-crypto on/off-ramp covering 100+ crypto assets, multi-geography, Pix supported for Brazil
The npm package @codespar/mcp-moonpay receives a total of 34 weekly downloads. As such, @codespar/mcp-moonpay popularity was classified as not popular.
We found that @codespar/mcp-moonpay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.