send21
Crypto pay links and API for people and AI agents. BTC, Lightning, USDC, USDT, EURC, SOL, ETH.
使うべきか
品質と安全性
検出事項(2)
- HIGH
- MEDIUMget_draft_status 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"mcp": {
"url": "https://send21.io/mcp"
}
}
}リモートエンドポイント
https://send21.io/mcpstreamable-httphttps://send21.io/mcp/oauthstreamable-httpできること
ツール一覧
ツール(14)
🟢get_transaction_template(draftId)
Get the transaction template for an on-chain draft: every output to pay, plus walletcreatefundedpsbt arguments and a pay-to-many CSV on Bitcoin, or payment URIs (and calldata on EVM chains) on Solana, Ethereum, Base, Arbitrum and Polygon. The sender's own wallet funds, reviews and signs it; send21 contains no signing code. Not for Lightning drafts (pay their invoice). Requires scope drafts:read.
入力スキーマ
{
"type": "object",
"properties": {
"draftId": {
"description": "Draft id (GUID)",
"type": "string"
}
},
"required": [
"draftId"
]
}🟢get_fee_schedule
Get the public send21 fee schedule: tiered percent by payment size in USD, min/max fee, and dust limit. No authentication needed.
入力スキーマ
{
"type": "object",
"properties": {}
}🟡create_payment_request(fiatCurrency, fiatAmount, options, orderId, memo, ...)
Create a payment request / checkout pay link (you are the RECEIVER asking to get paid). Price in any of 161 fiat currencies; the payer opens the returned payPath, picks one of the offered currencies (rate locks then), and pays a single QR-scannable transfer straight to your address. On accounts with the policy ApprovedOnly (see get_account_status) every address must be one of the owner's approved receiving addresses; otherwise the answer is 422 address_not_approved and nothing is created (propose it with propose_receiving_address). Requires scope drafts:write.
入力スキーマ
{
"type": "object",
"properties": {
"fiatCurrency": {
"description": "Fiat currency the request is priced in, e.g. USD, EUR, SEK",
"type": "string"
},
"fiatAmount": {
"description": "Amount in the fiat currency",
"type": "number"
},
"options": {
"description": "Currencies the payer may choose from, each with your receiving address",
"type": "array",
"items": {
"type": "object",
"properties": {
"currency": {
"description": "Asset: Btc, Usdc, Usdt, Eurc, Sol, or Eth",
"type": "string"
},
"network": {
"description": "Network the address lives on: Mainnet, Solana, Ethereum, Base, Arbitrum, or Polygon",
"type": "string"
},
"address": {
"description": "The RECEIVER's own address for this currency; for Lightning, the receiver's Lightning address ([email protected])",
"type": "string"
},
"method": {
"description": "MultiOutput (on-chain, default) or Lightning (Btc on Mainnet; send21 confirms it when the receiver's provider supports LUD-21)",
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"currency",
"network",
"address"
]
}
},
"orderId": {
"description": "Your own order/reference id, echoed in webhooks for reconciliation",
"type": [
"string",
"null"
],
"default": null
},
"memo": {
"description": "Message shown to the payer (max 500 chars)",
"type": [
"string",
"null"
],
"default": null
},
"expiryHours": {
"description": "Hours until the request expires (default 24)",
"type": [
"integer",
"null"
],
"default": null
},
"idempotencyKey": {
"description": "Idempotency key. A retry with the same key and the same parameters returns the original request; the same key with another amount, currency or address is refused (422) and creates nothing",
"type": [
"string",
"null"
],
"default": null
},
"declineNote": {
"description": "What happens if the payer does not pay (plain text, max 200 chars). Shown on the pay page under the amount as \"If you don't pay:\". Use it when handing an over-budget purchase to a human, e.g. \"The order is cancelled and the hotel room released at 18:00.\"",
"type": [
"string",
"null"
],
"default": null
},
"shortfallAbsorbUpToPercent": {
"description": "Accept short payments automatically when they are at most this percent below the price (0 to 10); the receiver absorbs the difference. Overpayments always wait for a human. Omit to have every differing amount reviewed.",
"type": [
"number",
"null"
],
"default": null
},
"reuseOpenForOrder": {
"description": "True: if an open, unexpired request with the same orderId exists, return it instead of creating a second pay link for the same order (only when it asks for the same amount, currency and addresses). Recommended for agents that may retry with a new idempotency key.",
"type": [
"boolean",
"null"
],
"default": null
}
},
"required": [
"fiatCurrency",
"fiatAmount",
"options"
]
}⚪propose_receiving_address(label, address, network, direction)
Propose an address for the owner to approve: one of the owner's own receiving addresses (for pay links) or the address of someone the owner pays (for drafts). It is saved unapproved and the owner gets an email. On accounts with the policy ApprovedOnly, API keys can only use approved addresses, and only the owner can approve one, signed in to the send21 app with a passkey or authenticator code. No key can approve an address. Requires scope addressbook:write.
入力スキーマ
{
"type": "object",
"properties": {
"label": {
"description": "A label the owner will recognise, e.g. \"My Phantom wallet\" (unique per account)",
"type": "string"
},
"address": {
"description": "The address, or for BTC over Lightning the Lightning address ([email protected])",
"type": "string"
},
"network": {
"description": "Network the address lives on: Mainnet (Bitcoin, also for Lightning addresses), Solana, Ethereum, Base, Arbitrum or Polygon",
"type": "string"
},
"direction": {
"description": "Receiving (default): the owner's own address, for pay links. Sending: someone the owner pays, for drafts.",
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"label",
"address",
"network"
]
}🟢get_account_status
What stands between you and a live pay link: whether the owner's email is confirmed, the receiving-address policy, how many addresses are approved or waiting for approval, unsettled fees, your key's scopes, and the next steps. Requires scope drafts:read.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢list_address_book
List the account's saved addresses (label, address, network, direction: Sending = recipients the owner pays, Receiving = the owner's own addresses). Requires scope addressbook:read.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢get_draft(draftId)
Get a payment draft by id, including amounts, fee, quote, and status. Requires scope drafts:read.
入力スキーマ
{
"type": "object",
"properties": {
"draftId": {
"description": "Draft id (GUID)",
"type": "string"
}
},
"required": [
"draftId"
]
}🟡submit_lightning_proof(draftId, preimage)
Confirm a paid Lightning draft with its proof of payment: the 64-character preimage the paying wallet shows after a Lightning payment. Needed for drafts with a pasted bolt11 invoice, and for Lightning addresses whose provider does not report payments. send21 checks that SHA-256 of the preimage equals the invoice's payment hash; the draft then confirms within about 30 seconds. Requires scope drafts:write.
入力スキーマ
{
"type": "object",
"properties": {
"draftId": {
"description": "Draft id (GUID)",
"type": "string"
},
"preimage": {
"description": "Payment preimage, 64 hex characters",
"type": "string"
}
},
"required": [
"draftId",
"preimage"
]
}🟡create_account(ownerEmail, agentName, intendedUse)
Create a send21 account for your human owner, without a key. The owner gets an email with a link to take the account over; until they do, nothing can be created. Returns a bootstrap API key ONCE (save it and send it as Authorization: Bearer on every later call; reconnect this MCP client with it). The key can read, propose addresses and check get_account_status; it can create pay links only after the owner took the account over and approved a receiving address you proposed. Agents onboard themselves; humans approve where the money lands. If the email already has an account, ask the owner for an API key instead.
入力スキーマ
{
"type": "object",
"properties": {
"ownerEmail": {
"description": "The human owner's email address (not yours); they receive the link to take the account over",
"type": "string"
},
"agentName": {
"description": "Your name as the owner will see it: letters, digits, spaces and . _ - ( ), at most 50",
"type": [
"string",
"null"
],
"default": null
},
"intendedUse": {
"description": "What you will use the account for, shown to the owner (max 300 characters)",
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"ownerEmail"
]
}🟢get_payment_request(paymentRequestId)
Get a payment request by id: status (Open/Completed/Cancelled/Expired), pay path, offered currencies, and the underlying draft once the payer committed. Includes changeSignals and changeNotes: what is unusual compared with the account's paid payments (new_address, new_asset, unusual_amount), the same lines the payer sees on the pay page; empty when nothing is unusual. Requires scope drafts:read.
入力スキーマ
{
"type": "object",
"properties": {
"paymentRequestId": {
"description": "Payment request id (GUID)",
"type": "string"
}
},
"required": [
"paymentRequestId"
]
}🟢get_rate(fiatCurrency, asset)
Get the current exchange rate for an asset in a fiat currency (rate = fiat units per 1 whole asset unit, with source provenance). Assets: Btc, Usdc, Usdt, Eurc, Sol, Eth. 161 ISO 4217 fiat currencies are supported. Requires an API key.
入力スキーマ
{
"type": "object",
"properties": {
"fiatCurrency": {
"description": "Fiat currency code, e.g. USD, EUR, SEK",
"type": "string"
},
"asset": {
"description": "Asset: Btc, Usdc, Usdt, Eurc, Sol, or Eth",
"type": "string"
}
},
"required": [
"fiatCurrency",
"asset"
]
}🟡create_draft(receiverAddress, network, currency, amountBaseUnits, fiatCurrency, ...)
Create a non-custodial payment draft (you are the SENDER paying a receiver address). Amount is either exact base units (sats for BTC, micro-units for stablecoins, lamports for SOL, gwei for ETH) via amountBaseUnits, or fiat-pegged via fiatCurrency+fiatAmount with the exchange rate locked at creation. Returns the draft incl. id, amounts, fee, and status. Funds move only when the sender signs and sends from their own wallet. send21 never holds keys. On accounts with the policy ApprovedOnly the receiver must be an address the owner approved (422 address_not_approved otherwise). Requires scope drafts:write.
入力スキーマ
{
"type": "object",
"properties": {
"receiverAddress": {
"description": "Receiver address (Bitcoin bc1..., Solana base58, or 0x... for Ethereum, Base, Arbitrum and Polygon)",
"type": "string"
},
"network": {
"description": "Network: Mainnet, Solana, Ethereum, Base, Arbitrum, Polygon (test: Testnet4, Signet, Regtest, SolanaDevnet, EthereumSepolia, BaseSepolia, ArbitrumSepolia, PolygonAmoy)",
"type": "string"
},
"currency": {
"description": "Asset: Btc (default), Usdc, Usdt, Eurc, Sol (native SOL on Solana), or Eth (native ETH on Ethereum, Base, Arbitrum)",
"type": [
"string",
"null"
],
"default": null
},
"amountBaseUnits": {
"description": "Exact amount in base units (sats / micro-units / lamports / gwei); omit when using fiat pricing",
"type": [
"integer",
"null"
],
"default": null
},
"fiatCurrency": {
"description": "Fiat currency code for fiat-pegged amount, e.g. USD",
"type": [
"string",
"null"
],
"default": null
},
"fiatAmount": {
"description": "Fiat amount; requires fiatCurrency",
"type": [
"number",
"null"
],
"default": null
},
"memo": {
"description": "Free-text memo shown on the draft (max 500 chars)",
"type": [
"string",
"null"
],
"default": null
},
"idempotencyKey": {
"description": "Idempotency key. A retry with the same key and the same parameters returns the original draft; the same key with another receiver, amount, currency or network is refused (422) and creates nothing",
"type": [
"string",
"null"
],
"default": null
},
"shortfallAbsorbUpToPercent": {
"description": "Accept short payments automatically when they are at most this percent below the amount (0 to 10); the receiver absorbs the difference. Overpayments always wait for a human.",
"type": [
"number",
"null"
],
"default": null
}
},
"required": [
"receiverAddress",
"network"
]
}🟢list_draft_quotes(draftId)
List every quote (rate lock) of a fiat-priced draft, oldest first. Quotes never change; a re-quote adds a new one with its own id. Each has a sha256 (RFC 8785 JCS + SHA-256). Requires scope drafts:read.
入力スキーマ
{
"type": "object",
"properties": {
"draftId": {
"description": "Draft id (GUID)",
"type": "string"
}
},
"required": [
"draftId"
]
}🟢get_draft_status(draftId)
Lightweight status snapshot of a draft: status (AwaitingPayment/Seen/Confirmed/Expired/Cancelled), paying txid, confirmations, and reviewState when a transfer with a different amount arrived (pending = needs the receiver's decision and the draft is not paid; accepted; rejected; unresolved = the draft expired while undecided, the money is with the receiver). Cheap to poll. Requires scope drafts:read.
入力スキーマ
{
"type": "object",
"properties": {
"draftId": {
"description": "Draft id (GUID)",
"type": "string"
}
},
"required": [
"draftId"
]
}コミュニティ
エビデンス