SnapEX Pay

pro.snapex由 snapex.pro 發布官方發布者v1.0.2更新於 Nov 4, 2026

Crypto payments for AI agents: self-serve account, invoices, receiving, payouts, exchange.

已驗證Streamable HTTP可網頁執行金融商業與電商

概覽

AI 產生的概覽

SnapEX Pay 讓助理自行開通加密支付商戶帳戶,並建立帳單、收款、持有 USDT 餘額、發起撥款與管理 Webhook。

可以做什麼
  • 開通並檢視商戶帳戶,包括自助產生的 API 金鑰與帳戶資訊
  • 無需金鑰即可查詢幣種、網路、法幣匯率、費率與固定地址網路
  • 建立並追蹤帳單、直接付款與固定入金地址,為付款方選擇幣種
  • 檢視 USDT 餘額與可分頁的交易明細
  • 預覽並執行撥款與兌換,並追蹤其狀態
  • 註冊、更新 Webhook 端點並輪替其簽章金鑰
適用情境
適合需要讓助理接受加密支付、提供付款連結或入金地址,或在自有帳戶上發起加密撥款的情境,也可先在測試環境無真實資金地走完整流程。也適合需要 USDT 餘額與付款事件 Webhook 通知的代理。
執行需求
可使用遠端 Streamable HTTP 端點,或透過 npx(需 Node.js)或 Docker 執行本機 npm 套件 snapex-pay-mcp。一開始無需金鑰:create_account 會簽發一個,也可提供 SNAPEX_API_KEY 或 Authorization Bearer 標頭。本機套件可選用 SNAPEX_BASE_URL、SNAPEX_CREDENTIALS_FILE 與 SNAPEX_NO_SAVE。需要能連線至 SnapEX Pay API 的網路。
安裝前請注意
此伺服器可在無人參與下開通真實商戶帳戶,create_payout 與 create_conversion 會不可逆地動用真實資金;建議先使用 test 環境,並對這些工具要求人工確認。API 金鑰、產生的帳戶密碼、Webhook 金鑰與 mcp_personal_url 僅顯示一次,等同憑證。create_account 產生的金鑰會存到本機憑證檔案,除非設定 SNAPEX_NO_SAVE。帳戶、呼叫與撥款皆有限流。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/pro.snapex%2Fpay/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "snapex-pay": {
      "type": "http",
      "url": "https://pay.snapex.pro/mcp"
    }
  }
}

README

SnapEX Pay MCP server

[Glama score] [MCP Badge] [Listed on mcpservers.org] [AllMCPs Verified]

MCP server for crypto payments: an AI agent opens its own merchant account and accepts, sends and exchanges crypto.

SnapEX Pay MCP server lets an AI agent work with crypto payments without a person in the loop. The agent connects to https://pay.snapex.pro/mcp, opens a SnapEX Pay merchant account by itself (no captcha, no email) and gets an API key. Then it can create invoices with hosted payment pages, receive crypto on permanent deposit addresses, keep a USDT balance, send payouts in many coins and networks, and manage webhooks. Test mode runs the whole flow without real money. Payouts always start with a free preview and use an idempotency key, so a retry never pays twice. Remote server (Streamable HTTP) or local package: npx -y snapex-pay-mcp.

How an agent uses it

  1. Connect without a key. The catalogue tools (list_assets, get_fiat_rates, get_fees, list_static_address_networks) work at once.
  2. Call create_account. It returns api_key (shown once), a cabinet login/password for a person, and mcp_personal_url. The new key is used right away: on the remote server for the rest of the MCP session, in the stdio package for the process (and it is saved to ~/.config/snapex-pay/credentials.json for the next runs).
  3. Receive: create_invoice → give pay_url to the payer → get_invoice until paid. environment: "test" runs the whole flow without real money (a test invoice turns paid ~10 s after a coin is selected; the balance does not change).
  4. Send: preview_payout (free quote) → create_payout with the preview_id and your own idempotency_key (irreversible; a retry with the same key never pays twice).
  5. The balance is kept in USDT: to get another coin, pay out in that coin. preview_conversion → create_conversion converts other assets an older account still holds.

Every error answer says what to do next (what_to_do), e.g. unauthorized → call create_account; rate_limited → wait retry_after_seconds.

Connect

Claude Code

bash
claude mcp add --transport http snapex-pay https://pay.snapex.pro/mcp# with an existing key:claude mcp add --transport http snapex-pay https://pay.snapex.pro/mcp --header "Authorization: Bearer smk_…"

Cursor — ~/.cursor/mcp.json

json
{  "mcpServers": {    "snapex-pay": { "url": "https://pay.snapex.pro/mcp" }  }}

Add "headers": { "Authorization": "Bearer smk_…" } to keep one account across sessions.

VS Code — .vscode/mcp.json

json
{  "servers": {    "snapex-pay": { "type": "http", "url": "https://pay.snapex.pro/mcp" }  }}

Windsurf — ~/.codeium/windsurf/mcp_config.json

json
{  "mcpServers": {    "snapex-pay": { "serverUrl": "https://pay.snapex.pro/mcp" }  }}

Cline — cline_mcp_settings.json

json
{  "mcpServers": {    "snapex-pay": { "type": "streamableHttp", "url": "https://pay.snapex.pro/mcp" }  }}

Step-by-step for AI installers: llms-install.md.

Gemini CLI

As an extension (this repository has gemini-extension.json):

bash
gemini extensions install https://github.com/snapexpay/snapex-pay-mcp

or in ~/.gemini/settings.json:

json
{  "mcpServers": {    "snapex-pay": { "httpUrl": "https://pay.snapex.pro/mcp" }  }}

Claude Desktop — claude_desktop_config.json

Remote server through mcp-remote:

json
{  "mcpServers": {    "snapex-pay": { "command": "npx", "args": ["-y", "mcp-remote", "https://pay.snapex.pro/mcp"] }  }}

or the local package:

json
{  "mcpServers": {    "snapex-pay": {      "command": "npx",      "args": ["-y", "snapex-pay-mcp"],      "env": { "SNAPEX_API_KEY": "smk_…" }    }  }}

(SNAPEX_API_KEY is optional: without it the agent calls create_account and the key is saved for the next runs.)

claude.ai and ChatGPT connectors

Add a custom connector with the URL https://pay.snapex.pro/mcp and no authentication. These clients cannot send headers, so after create_account take mcp_personal_url from its answer (also returned by get_account) and use it as the connector URL — every new chat then works with the same account. That URL contains a credential: treat it as a password.

OpenAI Responses API

json
{  "type": "mcp",  "server_label": "snapex_pay",  "server_url": "https://pay.snapex.pro/mcp",  "headers": { "Authorization": "Bearer smk_…" },  "require_approval": { "always": { "tool_names": ["create_payout", "create_conversion"] } }}

Other clients and catalogs

The repository carries the manifests the catalogs read: server.json (official MCP Registry), glama.json (Glama), gemini-extension.json + GEMINI.md (Gemini CLI), lhm.plugin.json (LobeHub), .cursor-plugin/plugin.json + mcp.json (Cursor Marketplace), plugin.json (Agent Plugins / Kiro), llms-install.md (Cline).

Docker

bash
docker build -t snapex-pay-mcp .docker run -i --rm -e SNAPEX_API_KEY=smk_… snapex-pay-mcp

Tools

Account

ToolWhat it does
create_accountOpen a SnapEX Pay account (no captcha)
get_accountShow the current account and key

Catalogue (no key needed)

ToolWhat it does
list_assetsList coins and networks
get_fiat_ratesFiat exchange rates
get_feesCurrent route fee quotes
list_static_address_networksNetworks for permanent addresses

Balance

ToolWhat it does
get_balancesAccount balance
list_transactionsBalance history

Receive

ToolWhat it does
create_invoiceCreate an invoice (receive crypto)
get_invoiceInvoice status
list_invoicesList invoices
get_invoice_payment_methodsCoins an invoice can be paid with
select_invoice_payment_methodPick a coin for an invoice
preview_paymentQuote a direct payment
create_paymentCreate a direct payment
get_paymentPayment status
list_paymentsList payments
create_static_addressPermanent deposit address
list_static_addressesList permanent addresses
list_static_address_depositsDeposits to a permanent address

Send (payouts)

ToolWhat it does
preview_payoutQuote a payout (send crypto)
create_payoutSend a payout (irreversible) ⚠️ irreversible
get_payoutPayout status
list_payoutsList payouts

Exchange

ToolWhat it does
preview_conversionQuote a conversion (exchange)
create_conversionExecute a conversion ⚠️ irreversible
get_conversionConversion status
list_conversionsList conversions

Webhooks

ToolWhat it does
list_webhooksList webhook endpoints
create_webhookAdd a webhook endpoint
update_webhookChange a webhook endpoint
rotate_webhook_secretNew webhook secret ⚠️ irreversible

Resources: snapex://docs/quickstart, snapex://docs/webhooks. Prompts: accept_crypto_payment, send_crypto_payout.

Environment (stdio package)

VariableDefaultMeaning
SNAPEX_API_KEY—Merchant API key smk_…. Optional: create_account makes one.
SNAPEX_BASE_URLhttps://pay.snapex.proAPI base URL.
SNAPEX_CREDENTIALS_FILE~/.config/snapex-pay/credentials.jsonWhere a key from create_account is saved (mode 600).
SNAPEX_NO_SAVE—1 — do not save credentials to disk.

Safety

  • An agent moves only its own account's money; a new account starts at zero.
  • The key and the generated password are shown once. A person can open the cabinet with the login and password and revoke or rotate keys there.
  • Payouts are two-step (quote, then send) and need an idempotency_key; create_payout, create_conversion and rotate_webhook_secret are marked destructiveHint, so clients can ask before running them.
  • Limits: a few new accounts per IP per hour; about 120 API calls a minute per key; payouts 5 a minute and 30 an hour.
  • Rules for what can be sold: https://pay.snapex.pro/rules.

Development

The tool list is generated from the SnapEX Pay server (app/Mcp/McpToolCatalog.php):

bash
php artisan mcp:export-tools      # writes src/tools.json, syncs the version of the manifests and LobeHub's toolsnpm ci && npm test                # build + offline smoke test with the official MCP SDK clientSNAPEX_E2E_BASE_URL=http://127.0.0.1:8765 node test/smoke.mjs   # full flow against a local (never production) server

Support

Chat: https://pay.snapex.pro/#chat · Privacy: https://pay.snapex.pro/privacy · Terms: https://pay.snapex.pro/terms

License

MIT

來源:README.md,提交 df44fee

工具

32

create_account

Open a SnapEX Pay account (no captcha)

Opens a new SnapEX Pay merchant account for you and returns a merchant API key with every scope (receive, pay out, convert, webhooks). No captcha, no email confirmation, no person needed. Call it once, only when you have no key yet (other tools answer "unauthorized"). On this MCP connection the new key is used automatically from now on; save api_key (shown once) and use it next time as "Authorization: Bearer <api_key>", or connect to mcp_personal_url. login and password (generated when omitted) let a person open the cabinet at cabinet_url. The account starts with a zero balance; money arrives only from payments to your invoices or addresses. Limited to a few accounts per IP per hour.

輸入參數agentemailloginpasswordtelegram

get_account

Show the current account and key

Returns the account behind the API key in use: login, the key prefix and scopes, cabinet_url for a person and mcp_personal_url (a secret MCP URL with this key built in, for clients that cannot send headers). Use it to check you are connected to the right account.

無需輸入參數。

list_assets

List coins and networks

Lists the coins and networks SnapEX Pay works with now: asset_id (the code other tools take), symbol, network, decimals, price_usd, payment (can be received), payout (can be paid out) and payout_min_usd. No key needed. Call it before creating invoices, payouts or conversions to pick valid asset codes.

無需輸入參數。

get_fiat_rates

Fiat exchange rates

Fiat → USD rates used for invoices priced in another currency (create_invoice with price_amount + price_currency). Without currency returns all rates; with currency (ISO 4217, e.g. "EUR") returns one or not_found. No key needed.

輸入參數currency

get_fees

Fees and limits

What SnapEX Pay charges, no key needed. pricing: invoice_fee_percent (of a paid invoice; fee_on=customer puts it on the payer), invoice_min_usd/invoice_max_usd, static_address_fee_percent, payout_service_fee_percent; the network fee of a payout depends on the coin and is quoted by preview_payout, the smallest payout per coin is payout_min_usd in list_assets. data: recent cached route fee quotes (often empty; filter by route and asset codes).

輸入參數routeto_asset_idfrom_asset_id

list_static_address_networks

Networks for permanent addresses

Lists the coins/networks for which you can get a permanent deposit address (create_static_address): asset code (e.g. "usdt.trc20", "usdc.polygon", "btc"), symbol, network, available, and how a deposit is credited (always in USDT). No key needed.

無需輸入參數。

get_balances

Account balance

Returns the account balance. Every payment is credited in USDT (TRC20 accounting), whatever coin the payer used: available (can be paid out or converted now) and held (reserved by payouts in progress), each as a decimal string and in atomic units.

無需輸入參數。

list_transactions

Balance history

Ledger of the balance, newest first: every credit and debit (payments, payouts, fees, conversions) with amount, direction and time. Paginated with cursor.

輸入參數limitcursorstatus

create_invoice

Create an invoice (receive crypto)

Creates an invoice and returns pay_url — a hosted payment page where the payer picks a coin and pays; the amount is credited to your balance in USDT minus the fee. Give amount_usd, or price_amount + price_currency (converted at get_fiat_rates). Use environment "test" to try the whole flow without real money: a test invoice turns paid by itself about 10 seconds after a coin is selected (on its page or with select_invoice_payment_method); the real balance does not change. Then follow the status with get_invoice or webhooks (invoice.paid). To get a deposit address right away instead of a page, pass asset_id (and lock_method true), or call select_invoice_payment_method.

輸入參數fee_onasset_idamount_usdcancel_urlexpires_indescriptionenvironmentexternal_idlock_methodsuccess_urlprice_amountprice_currency另有 1 個

get_invoice

Invoice status

Returns one invoice with its status (open, awaiting, underpaid, paid, partially_paid, expired), pay_url, credit_usd, the selected coin and the payment attempts. Poll it every 15–30 s while the payer pays, or use webhooks.

輸入參數invoice_id必填

list_invoices

List invoices

Invoices of the account, newest first, optionally filtered by status and environment. Paginated with cursor.

輸入參數limitcursorstatusenvironment

get_invoice_payment_methods

Coins an invoice can be paid with

Lists the coins and networks the payer can use for this invoice, with the amount to send in each.

輸入參數invoice_id必填

select_invoice_payment_method

Pick a coin for an invoice

Chooses the coin for an invoice and returns the deposit address and exact amount to send (in the invoice payment attempt) — use it when you pass the address to the payer yourself instead of pay_url.

輸入參數asset_id必填invoice_id必填

preview_payment

Quote a direct payment

Low-level alternative to invoices: quotes a payment of an exact amount in one coin and how much USDT you will be credited. Returns credit_lock_id for create_payment (valid until expires_at). Most agents should use create_invoice instead.

輸入參數amountasset_id必填amount_atomicidempotency_key

create_payment

Create a direct payment

Creates a payment from a preview_payment quote and returns deposit_address (and deposit_memo when the network needs one) and the exact amount the payer must send before expires_at.

輸入參數external_idcredit_lock_id必填idempotency_key

get_payment

Payment status

One payment (from an invoice, a static address or create_payment): status (e.g. awaiting_deposit, detected, confirmed, expired), amounts expected/received/credited, deposit address.

輸入參數payment_id必填

list_payments

List payments

Payments of the account, newest first, optionally filtered by status. Paginated with cursor.

輸入參數limitcursorstatus

create_static_address

Permanent deposit address

Gets (or creates) a permanent deposit address for a coin/network and optional customer_ref: the same address comes back for the same customer_ref. Every transfer to it is credited to your balance in USDT as a separate payment — good for top-ups. Networks: list_static_address_networks.

輸入參數asset必填labelnetworkcustomer_ref

list_static_addresses

List permanent addresses

Permanent deposit addresses of the account, optionally for one customer_ref. Paginated with cursor.

輸入參數limitcursorcustomer_ref

list_static_address_deposits

Deposits to a permanent address

Transfers received on one permanent address with their status and credited USDT. Paginated with cursor.

輸入參數limitcursoraddress_id必填

preview_payout

Quote a payout (send crypto)

Step 1 of sending money. Quotes a payout of amount USDT from your balance to an address in any coin with payout=true in list_assets: returns preview_id, to_amount (what the recipient gets), fee and expires_at. Nothing is sent yet and the quote is free; check the address and amounts, then call create_payout with preview_id before expires_at. An invalid address answers invalid_address.

輸入參數amountamount_atomicidempotency_keydestination_address必填destination_network必填destination_asset_id必填

create_payout

Send a payout (irreversible)

Step 2 of sending money: executes a preview_payout quote and sends real funds from your balance — irreversible once sent. destination_network and destination_address must be the ones of the preview. idempotency_key is required: reuse the same key when retrying after a timeout so the payout is never sent twice. Then follow get_payout (status until completed or failed, transaction_url) or webhooks payout.completed / payout.failed.

輸入參數preview_id必填external_ididempotency_key必填destination_memodestination_address必填destination_network必填

get_payout

Payout status

One payout: status (e.g. processing, completed, failed; manual_review — SnapEX staff checks it), amounts, fee, transaction_hash and transaction_url in the destination network's explorer.

輸入參數payout_id必填

list_payouts

List payouts

Payouts of the account, newest first, optionally filtered by status. Paginated with cursor.

輸入參數limitcursorstatus

preview_conversion

Quote a conversion (exchange)

Step 1 of converting assets held on the account into USDT. The balance is kept in USDT (every payment is credited in USDT), so this matters only for an account that still holds another asset; to exchange USDT into another coin, send a payout in that coin (preview_payout, e.g. to your own address). mode "single": convert amount of from_asset_id (to USDT, or to to_asset_id); mode "all_to_usdt": convert every non-USDT holding to USDT. Returns preview_id with the amounts and expires_at; nothing moves yet. Then create_conversion.

輸入參數mode必填amountexternal_idto_asset_idamount_atomicfrom_asset_ididempotency_key

create_conversion

Execute a conversion

Step 2: executes a preview_conversion quote before its expires_at; the balance changes at once. A preview runs once — calling again returns the same conversion.

輸入參數preview_id必填

get_conversion

Conversion status

One conversion with its status and amounts.

輸入參數conversion_id必填

list_conversions

List conversions

Conversions of the account, newest first. Paginated with cursor.

輸入參數limitcursorstatus

list_webhooks

List webhook endpoints

Webhook endpoints of the account: endpoint_id, url, events, status.

無需輸入參數。

create_webhook

Add a webhook endpoint

Registers a public HTTPS URL that receives a POST for each chosen event (JSON {id, type, created_at, data}). Returns secret (shown once): verify each delivery with HMAC-SHA256 of "<Webhook-Timestamp>.<raw body>" against the Webhook-Signature header ("v1=<hex>"). Deliveries are at-least-once — dedupe by Webhook-Id. Up to 10 endpoints.

輸入參數url必填events必填

update_webhook

Change a webhook endpoint

Replaces the url and events of an endpoint, or disables/enables it (status).

輸入參數url必填events必填statusendpoint_id必填

rotate_webhook_secret

New webhook secret

Issues a new signing secret for an endpoint (shown once); the old one stops working at once.

輸入參數endpoint_id必填

版本歷史

3
  1. v1.0.2最新Nov 4, 2026
  2. v1.0.1Nov 3, 2026
  3. v1.0.0Nov 3, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分