Sign In

@codespar/mcp-moonpay

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codespar/mcp-moonpay

MCP server for MoonPay — fiat-to-crypto on/off-ramp covering 100+ crypto assets, multi-geography, Pix supported for Brazil

npmnpm
Version
0.2.0
Version published
Weekly downloads
32
10.34%
Maintainers
1
Weekly downloads
 
Created
Source

@codespar/mcp-moonpay

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.

Positioning vs the rest of the catalog

ServerCoverageDirection
@codespar/mcp-unblockpayBRL / MXN ↔ USDCOnramp + offramp, stablecoin only
@codespar/mcp-moonpay100+ crypto assets, multi-geo, Pix for BROnramp + offramp
@codespar/mcp-mercado-bitcoin, @codespar/mcp-bitsoExchange order booksTrade
@codespar/mcp-circleUSDC native railsStablecoin 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.

Tools

ToolPurpose
get_buy_quotePreview a fiat → crypto quote before committing
create_buy_transactionCreate a buy transaction (fiat → crypto)
get_buy_transactionRetrieve a buy transaction by id
list_buy_transactionsList buy transactions with filters
get_sell_quotePreview a crypto → fiat quote
create_sell_transactionCreate a sell transaction (crypto → fiat)
get_sell_transactionRetrieve a sell transaction by id
create_customerCreate a KYC'd end user
get_customerRetrieve a customer by id
list_currenciesList supported fiat + crypto assets (dynamic discovery)

Install

npm install @codespar/mcp-moonpay

Environment

MOONPAY_API_KEY="..."     # API key (sandbox or production — the key selects the environment)
MOONPAY_BASE_URL="..."    # Optional. Defaults to https://api.moonpay.com.

Authentication

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.

Run

# 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

License

MIT

Keywords

mcp

FAQs

Package last updated on 25 Apr 2026

Did you know?

Socket

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.

Install

Related posts