{"name":"io.github.codespar/mcp-moonpay","slug":"codespar-mcp-moonpay","title":null,"description":"MCP server for MoonPay — fiat-to-crypto on/off-ramp, 100+ assets; Pix for Brazil onramp","url":"https://mcp.market/server/codespar-mcp-moonpay","rating":null,"grade":"B","score":82,"certified":false,"status":"active","category":"finance","tags":["finance"],"presence":{"score":45,"stars":271,"forks":50,"downloads_week":19,"last_push_at":"2026-08-29T02:02:48.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/codespar/mcp-dev-latam","website":null,"version":"0.2.2","remotes":[],"packages":[{"registryType":"npm","identifier":"@codespar/mcp-moonpay","version":"0.2.2","transport":{"type":"stdio"},"environmentVariables":[{"description":"MoonPay REST API key (sandbox or production — the key selects the environment)","isRequired":true,"format":"string","isSecret":true,"name":"MOONPAY_API_KEY"},{"description":"MoonPay publishable key used as `apiKey` in signed widget URLs (required for sign_buy_url / sign_sell_url).","format":"string","name":"MOONPAY_PUBLISHABLE_KEY"},{"description":"MoonPay secret key used to HMAC-SHA256 sign widget URLs (required for sign_buy_url / sign_sell_url).","format":"string","isSecret":true,"name":"MOONPAY_SECRET_KEY"},{"description":"MoonPay API base URL. Defaults to https://api.moonpay.com.","format":"string","name":"MOONPAY_BASE_URL"},{"description":"MoonPay buy widget base URL. Defaults to https://buy.moonpay.com.","format":"string","name":"MOONPAY_BUY_WIDGET_URL"},{"description":"MoonPay sell widget base URL. Defaults to https://sell.moonpay.com.","format":"string","name":"MOONPAY_SELL_WIDGET_URL"}]}],"tools":[{"name":"create_buy_transaction","description":"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.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_customer","description":"Create a MoonPay customer (KYC'd end user). Required before creating transactions that must be tied to an identified individual.","write_action":true,"price_micros":0,"input_schema":null},{"name":"create_sell_transaction","description":"Create a sell transaction (crypto -> fiat). Used for agents that need to pay out in local fiat after receiving crypto.","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_buy_quote","description":"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.","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_buy_transaction","description":"Retrieve a buy transaction (fiat -> crypto) by its MoonPay id. Returns current status and settlement detail.","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_currency","description":"Retrieve metadata for a single currency (fiat or crypto) by its MoonPay code. Returns network, decimals, min/max amounts, fee structure.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_customer","description":"Retrieve a MoonPay customer by id.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_customer_kyc_status","description":"Fetch KYC verification status (and any pending document requirements) for a MoonPay customer. Use to gate flows that require an approved customer before transacting.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_sell_quote","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_sell_transaction","description":"Retrieve a sell transaction (crypto -> fiat) by its MoonPay id.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_transaction_receipt","description":"Fetch a tax-/audit-grade receipt for a completed buy or sell transaction. Useful for end-user reporting or accounting export.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_user_country","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_buy_transactions","description":"List buy transactions with optional filters. Used for reconciliation and agent-driven monitoring.","write_action":true,"price_micros":0,"input_schema":null},{"name":"list_countries","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_currencies","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_customer_transactions","description":"List all transactions (buy + sell) tied to a single MoonPay customer. Convenience wrapper for unified history / reconciliation by user.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_payment_methods","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"refund_sell_transaction","description":"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.","write_action":true,"price_micros":0,"input_schema":null},{"name":"sign_buy_url","description":"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.","write_action":true,"price_micros":0,"input_schema":null},{"name":"sign_sell_url","description":"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.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":82,"grade":"B","scanned_at":"2026-09-26T21:19:20.863Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-26T21:19:20.805Z","components":{"code":{"score":25,"max":25,"notes":["5 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 29 days ago"]},"identity":{"score":7,"max":10,"notes":["registry namespace matches repository owner"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@codespar/mcp-moonpay","version":"0.2.2","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":1,"publishedAt":"2026-06-22T18:39:00.323Z","weeklyDownloads":19}],"repo":{"found":true,"owner":"codespar","repo":"mcp-dev-latam","archived":false,"pushedAt":"2026-08-29T02:02:48Z","stars":271,"forks":50,"openIssues":10,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/269058982?v=4","ownerCreatedAt":"2026-03-18T00:40:56Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/269058982?v=4&s=128","source":"github"},"presence":{"stars":271,"forks":50,"downloadsWeek":19,"license":"MIT","lastPushAt":"2026-08-29T02:02:48.000Z","score":45}}}},"grade_history":[],"reviews":[]}