Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.codespar/mcp-moonpay

NPM · @CODESPAR/MCP-MOONPAY · SCANNED AUG 4

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

+24 this week 69 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security83
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known medium-severity CVE affects hono 4.12.33, reached via @modelcontextprotocol/sdk > hono. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 2489 tokens (~124/item across 20 items; 20 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management30
  • Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @codespar/mcp-moonpay

# add to Claude Code
claude mcp add codespar-mcp-moonpay -- npx -y @codespar/mcp-moonpay
# add to Codex CLI
codex mcp add codespar-mcp-moonpay -- npx -y @codespar/mcp-moonpay
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-moonpay": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-moonpay"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add codespar-mcp-moonpay --command npx --arg -y --arg @codespar/mcp-moonpay
# ~/.hermes/config.yaml
mcp_servers:
  codespar-mcp-moonpay:
    command: "npx"
    args: ["-y", "@codespar/mcp-moonpay"]
// mcp.json
{
  "mcpServers": {
    "codespar-mcp-moonpay": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-moonpay"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Aug 26 0
    • CVE-2026-69207 affects this package: medium security
    • Known CVEs: partial → fail security
  • 2 Aug 26 +29
    • Provenance: unverified → fail security
    • Known CVEs: unverified → partial security
    • Install scripts: unverified → pass security
    • Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
    • Capabilities: pass → unverified functional
    • Tool coverage: 100 → unverified functional
    • Maintenance: unverified → pass functional
    • Stability: unverified → 0.23 functional
    • License: unverified → pass functional
    • Schema quality: unverified → excellent functional
    • Dependency health: unverified → partial functional
    • Licence: MIT functional
  • 1 Aug 26 +4
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 31 Jul 26 +10
    • Provenance: unverified → fail security
    • Malware scan: pass → unverified security
    • Install scripts: unverified → pass security
    • Dependency health: partial → unverified functional
    • Maintenance: unverified → pass functional
    • License: unverified → pass functional
    • Tool coverage: unverified → 100 functional
    • Licence: MIT functional
  • 29 Jul 26 −19
    • Tool coverage: 100 → unverified functional
    • Dependency health: unverified → partial functional
    • First check of Schema quality: unverified functional
  • 27 Jul 26 45

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Aug 2026 · Analysed npm/@codespar/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Vulnerabilities 1 finding
ID CVE Severity Vector Fix available
GHSA-8j4g-w8fx-2239 CVE-2026-69207 medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L yes
Dependencies 94 packages

94 packages in the resolved dependency tree · 94 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 20 exposed · ~2,422 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
create_buy_transaction ~248

Create a buy transaction (fiat -> crypto). The returned object contains status plus — depending on method — redirect URL for hosted checkout, Pix QR data, or card auth next steps.

NameTypeReqDescription
baseCurrencyAmountnumberyesFiat amount to charge (major units)
baseCurrencyCodestringyesFiat currency code (e.g. brl, usd)
currencyCodestringyesCrypto currency code to receive (e.g. btc, usdc)
customerIdstringExisting MoonPay customer id (use create_customer first)
externalCustomerIdstringYour internal user id, propagated to MoonPay for reconciliation
externalTransactionIdstringYour internal transaction reference
extraFieldsobjectAdditional provider-specific fields passed through as-is
paymentMethodstringPayment method (e.g. credit_debit_card, sepa_bank_transfer, pix)
returnUrlstringBrowser redirect after hosted flow completes
walletAddressstringyesDestination crypto wallet address
walletAddressTagstringDestination tag / memo (for chains that require it, e.g. XRP, XLM)

No output schema declared.

No examples provided.

create_customer ~113

Create a MoonPay customer (KYC'd end user). Required before creating transactions that must be tied to an identified individual.

NameTypeReqDescription
addressobjectResidential address object
dateOfBirthstringISO date (YYYY-MM-DD)
emailstringyesCustomer email (used for MoonPay communications + KYC)
externalCustomerIdstringYour internal user id for correlation
firstNamestringLegal first name
lastNamestringLegal last name

No output schema declared.

No examples provided.

create_sell_transaction ~199

Create a sell transaction (crypto -> fiat). Used for agents that need to pay out in local fiat after receiving crypto.

NameTypeReqDescription
bankAccountobjectDestination bank account detail (country-specific fields)
baseCurrencyAmountnumberyesCrypto amount to sell (major units)
baseCurrencyCodestringyesCrypto currency code (e.g. btc, usdc)
customerIdstringMoonPay customer id receiving the fiat payout
externalCustomerIdstringYour internal user id
externalTransactionIdstringYour internal transaction reference
extraFieldsobjectAdditional provider-specific fields passed through as-is
payoutMethodstringFiat payout method (e.g. sepa_bank_transfer, pix)
quoteCurrencyCodestringyesFiat currency to receive (e.g. usd, brl)
returnUrlstringBrowser redirect after hosted flow completes

No output schema declared.

No examples provided.

get_buy_quote ~207

Preview a fiat -> crypto buy quote in real time. Use this before create_buy_transaction to show the end user the exact crypto amount, fees, and effective rate.

NameTypeReqDescription
areFeesIncludedbooleanIf true, baseCurrencyAmount includes MoonPay fees.
baseCurrencyAmountnumberAmount in fiat to spend (major units). Either this or quoteCurrencyAmount must be supplied.
baseCurrencyCodestringyesFiat currency you are paying with (e.g. usd, eur, brl, mxn)
currencyCodestringyesCrypto currency code you want to buy (e.g. btc, eth, usdc, sol). Must be a code returned by list_currencies.
paymentMethodstringOptional payment method hint (e.g. credit_debit_card, sepa_bank_transfer, pix)
quoteCurrencyAmountnumberAmount of crypto to receive (major units). Either this or baseCurrencyAmount must be supplied.

No output schema declared.

No examples provided.

get_buy_transaction ~43

Retrieve a buy transaction (fiat -> crypto) by its MoonPay id. Returns current status and settlement detail.

NameTypeReqDescription
idstringyesMoonPay transaction id

No output schema declared.

No examples provided.

get_currency ~61

Retrieve metadata for a single currency (fiat or crypto) by its MoonPay code. Returns network, decimals, min/max amounts, fee structure.

NameTypeReqDescription
currencyCodestringyesCurrency code (e.g. btc, usdc, brl, usd)

No output schema declared.

No examples provided.

get_customer ~27

Retrieve a MoonPay customer by id.

NameTypeReqDescription
idstringyesMoonPay customer id

No output schema declared.

No examples provided.

get_customer_kyc_status ~54

Fetch KYC verification status (and any pending document requirements) for a MoonPay customer. Use to gate flows that require an approved customer before transacting.

NameTypeReqDescription
idstringyesMoonPay customer id

No output schema declared.

No examples provided.

get_sell_quote ~167

Preview a crypto -> fiat sell quote in real time. Use this before create_sell_transaction to show the end user the exact fiat amount, fees, and effective rate.

NameTypeReqDescription
baseCurrencyAmountnumberCrypto amount to sell (major units). Either this or quoteCurrencyAmount must be supplied.
currencyCodestringyesCrypto currency code you want to sell (e.g. btc, usdc)
payoutMethodstringOptional payout method hint (e.g. sepa_bank_transfer, credit_debit_card, pix)
quoteCurrencyAmountnumberFiat amount to receive (major units). Either this or baseCurrencyAmount must be supplied.
quoteCurrencyCodestringyesFiat currency to receive (e.g. usd, eur, brl)

No output schema declared.

No examples provided.

get_sell_transaction ~36

Retrieve a sell transaction (crypto -> fiat) by its MoonPay id.

NameTypeReqDescription
idstringyesMoonPay sell transaction id

No output schema declared.

No examples provided.

get_transaction_receipt ~70

Fetch a tax-/audit-grade receipt for a completed buy or sell transaction. Useful for end-user reporting or accounting export.

NameTypeReqDescription
idstringyesMoonPay transaction id (buy or sell)
typestringWhether the id refers to a buy or sell transaction. Defaults to buy.

No output schema declared.

No examples provided.

get_user_country ~84

Resolve the caller's (or a given IP's) country via MoonPay's IP-address geolocation endpoint. Returns ISO alpha-2 + alpha-3 country, plus state for US. Compliance helper to gate flows by jurisdiction before quoting or creating a transaction.

NameTypeReqDescription
ipAddressstringOptional IP to check. If omitted, MoonPay resolves from the request origin.

No output schema declared.

No examples provided.

list_buy_transactions ~86

List buy transactions with optional filters. Used for reconciliation and agent-driven monitoring.

NameTypeReqDescription
customerIdstringFilter to a single MoonPay customer id
externalCustomerIdstringFilter to your internal user id
limitnumberMax results to return
statusstringFilter by transaction status (e.g. pending, completed, failed)

No output schema declared.

No examples provided.

list_countries ~41

List countries supported by MoonPay along with which flows (buy / sell / NFT) are allowed per geography. Use this to gate UI before initiating a quote.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list_currencies ~71

List supported currencies (fiat + crypto). Essential for agents: use this to discover currency codes dynamically rather than hard-coding, and to check which assets/fiats are currently enabled.

NameTypeReqDescription
showstringFilter to enabled currencies only, or return everything. Defaults to enabled on the API side.

No output schema declared.

No examples provided.

list_customer_transactions ~77

List all transactions (buy + sell) tied to a single MoonPay customer. Convenience wrapper for unified history / reconciliation by user.

NameTypeReqDescription
customerIdstringyesMoonPay customer id
limitnumberMax results to return
statusstringOptional status filter (e.g. pending, completed, failed)

No output schema declared.

No examples provided.

list_payment_methods ~90

List payment methods supported for a given fiat currency / country combination (e.g. credit_debit_card, sepa_bank_transfer, pix). Use to populate checkout selectors dynamically.

NameTypeReqDescription
countrystringISO-3166 alpha-2 country code (e.g. BR, US, MX)
currencyCodestringFiat currency code (e.g. brl, usd, eur)

No output schema declared.

No examples provided.

refund_sell_transaction ~99

Request a refund on an off-ramp (sell) transaction. Used when the destination bank rejects payout or the user disputes the trade. Reason codes are MoonPay-defined.

NameTypeReqDescription
amountnumberOptional partial refund amount (in the transaction's base/crypto currency). Omit for full refund.
idstringyesMoonPay sell transaction id to refund
reasonstringReason code or free-text justification for the refund

No output schema declared.

No examples provided.

sign_buy_url ~353

Build and HMAC-SHA256 sign a MoonPay buy widget URL (buy.moonpay.com). Returns a ready-to-redirect URL with the merchant's apiKey + signature appended. Requires MOONPAY_PUBLISHABLE_KEY and MOONPAY_SECRET_KEY in the environment. Use when embedding the hosted onramp in your own UI.

NameTypeReqDescription
baseCurrencyAmountnumberPre-fill fiat amount
baseCurrencyCodestringFiat currency code (e.g. usd, brl)
colorCodestringHex accent color for the widget
currencyCodestringyesCrypto currency code to buy (e.g. btc, usdc)
emailstringPre-fill end-user email
externalCustomerIdstringYour internal user id, propagated to MoonPay
externalTransactionIdstringYour internal transaction reference
extraParamsobjectAdditional widget parameters passed through as-is (object values are JSON-stringified)
languagestringBCP-47 language tag (e.g. en, pt-BR)
paymentMethodstringPre-select payment method (e.g. credit_debit_card, pix)
quoteCurrencyAmountnumberPre-fill crypto amount
redirectURLstringWhere to redirect after the hosted flow completes
showWalletAddressFormbooleanIf true, force the widget to show the wallet form even when prefilled
themestringWidget theme (light / dark)
walletAddressstringPre-fill destination wallet address
walletAddressTagstringDestination tag / memo for chains that require it

No output schema declared.

No examples provided.

sign_sell_url ~296

Build and HMAC-SHA256 sign a MoonPay sell widget URL (sell.moonpay.com). Returns a ready-to-redirect URL with apiKey + signature appended. Requires MOONPAY_PUBLISHABLE_KEY and MOONPAY_SECRET_KEY in the environment.

NameTypeReqDescription
baseCurrencyAmountnumberPre-fill crypto amount
baseCurrencyCodestringyesCrypto currency code being sold (e.g. btc, usdc)
colorCodestringHex accent color for the widget
emailstringPre-fill end-user email
externalCustomerIdstringYour internal user id
externalTransactionIdstringYour internal transaction reference
extraParamsobjectAdditional widget parameters passed through as-is (object values are JSON-stringified)
languagestringBCP-47 language tag (e.g. en, pt-BR)
payoutMethodstringPre-select payout method (e.g. sepa_bank_transfer, pix)
quoteCurrencyAmountnumberPre-fill fiat amount
quoteCurrencyCodestringFiat currency to receive (e.g. usd, brl)
redirectURLstringWhere to redirect after the hosted flow completes
refundWalletAddressstringWallet to refund crypto to if the sell fails
themestringWidget theme (light / dark)

No output schema declared.

No examples provided.