Mcp Moonpay

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.2更新於 Oct 24, 2026

MCP server for MoonPay — fiat-to-crypto on/off-ramp, 100+ assets; Pix for Brazil onramp

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

MoonPay MCP 伺服器,讓助理報價、建立並追蹤法幣買入與賣出加密貨幣交易,管理客戶並簽署 widget 連結。

可以做什麼
  • 報價並建立買入與賣出交易,之後查詢、列出或退款
  • 建立客戶,查詢其 KYC 狀態與交易紀錄
  • 取得已完成交易的稅務與稽核級收據
  • 查詢支援的貨幣、國家、付款方式及依 IP 判定的國家
  • 建構並以 HMAC 簽署 MoonPay 買入與賣出 widget 連結
適用情境
當助理需要穩定幣以外的法幣入金或出金時適用:100 多種加密資產、多個地區、巴西 Pix,或需要出金至當地法幣的賣出流程。
執行需求
透過 npm 套件以 stdio 在本機執行(npx),需要 Node.js。需要 MOONPAY_API_KEY;簽署 widget 連結另需 MOONPAY_PUBLISHABLE_KEY 與 MOONPAY_SECRET_KEY。選用的 base 與 widget URL 變數預設指向 MoonPay 端點。需要連線至 MoonPay 的網路。
安裝前請注意
API 金鑰本身決定沙箱或正式環境,正式金鑰可動用真實資金。建立買入/賣出交易、退款與客戶會寫入資料,可能涉及付款與 KYC 個人資料。MOONPAY_SECRET_KEY 是簽署密鑰,請勿寫入日誌或共用設定。請求會將資料傳送至 MoonPay 的 API。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Moonpay,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@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 (20)

ToolPurpose
get_buy_quotePreview a fiat -> crypto buy quote in real time.
create_buy_transactionCreate a buy transaction (fiat -> crypto).
get_buy_transactionRetrieve a buy transaction (fiat -> crypto) by its MoonPay id.
list_buy_transactionsList buy transactions with optional filters.
get_sell_quotePreview a crypto -> fiat sell quote in real time.
create_sell_transactionCreate a sell transaction (crypto -> fiat).
get_sell_transactionRetrieve a sell transaction (crypto -> fiat) by its MoonPay id.
refund_sell_transactionRequest a refund on an off-ramp (sell) transaction.
create_customerCreate a MoonPay customer (KYC'd end user).
get_customerRetrieve a MoonPay customer by id.
get_customer_kyc_statusFetch KYC verification status (and any pending document requirements) for a MoonPay customer.
list_customer_transactionsList all transactions (buy + sell) tied to a single MoonPay customer.
get_transaction_receiptFetch a tax-/audit-grade receipt for a completed buy or sell transaction.
list_currenciesList supported currencies (fiat + crypto).
get_currencyRetrieve metadata for a single currency (fiat or crypto) by its MoonPay code.
list_countriesList countries supported by MoonPay along with which flows (buy / sell / NFT) are allowed per geography.
list_payment_methodsList payment methods supported for a given fiat currency / country combination (e.g.
get_user_countryResolve the caller's (or a given IP's) country via MoonPay's IP-address geolocation endpoint.
sign_buy_urlBuild and HMAC-SHA256 sign a MoonPay buy widget URL (buy.moonpay.com).
sign_sell_urlBuild and HMAC-SHA256 sign a MoonPay sell widget URL (sell.moonpay.com).

Install

bash
npm install @codespar/mcp-moonpay

Environment

bash
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

bash
# 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

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

來源:packages/crypto/moonpay/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分