
Yolfi Payments MCP
io.github.yolfinance由 GitHub 帳號 yolfinance 發布v0.2.0更新於 Oct 24, 2026
Let AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.
發布方自己的服務:Payments Ai Mcp
概覽
Yolfi Payments MCP 讓 AI 助理設定與管理 Yolfi 加密貨幣及穩定幣收款:付款連結、結帳工作階段、付款狀態與 Webhook。
- 可以做什麼
- 讀取與更新組織設定及結算錢包
- 列出、建立、查詢與停用付款連結,包含訂閱型連結
- 建立與查詢由伺服器端定價的結帳工作階段,支援冪等鍵
- 建立付款並查詢付款狀態
- 列出、建立、更新、輪換與移除 Webhook 端點,並驗證 Webhook 簽章
- 執行本機初始化、簽到與新帳號註冊流程
- 適用情境
- 適合讓助理為專案接上加密貨幣或穩定幣收款、建立付款連結與 Webhook 端點,或在代理工作階段中查詢付款狀態。對象是整合 Yolfi 結帳流程的開發者,而非直接付款的終端使用者。
- 執行需求
- 可使用由 MCP 主機處理 OAuth 的遠端 Streamable HTTP 端點,或透過 npx 執行本機程序,需要 Node.js 18 以上版本。需要帳號擁有者在瀏覽器完成授權(setup 與 checkin),新帳號可用電子郵件確認註冊。可選環境變數 YOLFI_API_KEY 與 YOLFI_WEBHOOK_SECRET,用於明確憑證及 CI 或部署環境的 Webhook 驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Yolfi Payments MCP,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.yolfinance%2Fyolfi-agent/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"yolfi-payments": {
"type": "http",
"url": "https://app.yolfi.com/mcp"
}
}
}README
[Yolfi Agent Kit: AI agent payment integration for crypto checkout]
Yolfi Agent Kit: AI Agent Payment Integration
[npm version] [MIT license] [Node.js 18+]
AI agent payment integration for crypto and stablecoin checkout. @yolfi/agent provides a local MCP server, a JSON CLI, a JavaScript SDK, and the Yolfi Payments Agent Skill for payment links, Checkout Sessions, payment status checks, and signed webhooks.
For AI integration, copy this message to your agent in the project you want to integrate:
The agent inspects the project, reuses an existing connection or selects a supported connection method, reads the account settings, and implements the requested integration. The owner completes account authorization and supplies only decisions that are missing, such as a receiving wallet or product price. Connecting the account alone does not finish the integration.
Website | Agent Kit | AI guide | Agent connection reference | HTTP API | CLI reference | npm | GitHub | MCP directory
Languages
English, Español, Deutsch, Français, 简体中文, Русский, हिन्दी, Türkçe, 한국어, 日本語.
Choose your entry point
- AI integration: send the message above. The agent guide owns the workflow; SKILL.md provides the packaged instructions.
- HTTP API: use the API guide for authentication, request bodies, checkout, and webhooks.
- Terminal automation: use the commands below and the CLI reference.
- JavaScript application: install the SDK and use the server/runtime guidance below.
Crypto payment integration features
- Hosted checkout and one-time payment links for SaaS products, digital downloads, credits, games, and donations.
- Recurring payment links for subscription flows supported by the Yolfi account.
- Checkout Sessions for server-priced orders with a stable idempotency key for retries.
- Payment status checks and webhook signature verification for the application's existing access and subscription logic.
- Organization settings, selected settlement wallets, and independent webhook endpoints through the existing Yolfi API.
Use the integration workflow with Codex, Claude Code, Cursor, ChatGPT, Claude, OpenClaw, Hermes, or another agent with a supported MCP connector or local tools. Browser and cloud environments need a supported remote connector when they cannot run commands. See the connection reference for the available paths in each host.
CLI installation and authorization
Node.js 18 or later is required. Run without a global install:
If no local credential exists, start browser authorization:
The agent should open the URL when its environment supports a browser and resume check-in after authorization. Repeated setup reuses an unexpired pending session from the same API environment. Account access must be checked with auth:status; this does not verify checkout or live webhook delivery.
Credentials and pending state are saved in ~/.yolfi/config.json using atomic writes and process locking. Directory and file permissions are 0700 and 0600 where supported. YOLFI_CONFIG_HOME selects an isolated configuration directory. Explicit SDK credentials take precedence over YOLFI_API_KEY, which takes precedence over the stored local credential. Do not set a placeholder YOLFI_API_KEY when using browser authorization.
For an explicitly new account, the agent can use email-confirmed signup after the owner supplies or confirms the email and project name:
The first call sends a confirmation link. After the owner opens it, the agent repeats the same command. A generated idempotency key and pending check-in token are persisted; an optional --idempotency-key must be 16-200 characters and reused on retries. The connected credential is stored without printing it. Existing emails use browser authorization instead. A lost initial signup response is recoverable; if the one-time credential response is lost after redemption, check auth:status and start browser authorization again if needed.
MCP server for crypto payments
Use an already connected Yolfi server first. Connection selection depends on the tools available in the agent's environment, not just its brand. Full host setup instructions live in the connection reference.
An authenticated MCP connection needs no additional organization API key. Continue through its tools, including Checkout Session creation; skip local CLI setup unless a separate local workflow is actually needed. Local MCP uses its stored browser-setup credential automatically. Application server credentials are a separate concern, described below.
- Remote Streamable HTTP:
https://app.yolfi.com/mcp, with OAuth managed by the MCP host. - Local stdio:
npx -y @yolfi/agent mcp, using the protected local credential.
A single local server provides payment tools, knowledge resources, and guided prompts:
The bundled Codex and Claude plugins start the local server. Local-only tools include yolfi_agent_setup_start, yolfi_agent_checkin, yolfi_agent_register, and yolfi_webhooks_verify. Remote MCP uses host OAuth. Verify it with yolfi_auth_status in that host, not a separate CLI login. An environment that cannot run commands must use a supported remote connector; the agent should explain only the required owner action if the host cannot configure it automatically.
Core tools include organization read/update, settlement configuration, webhook endpoint list/create/update/rotation/removal, paylink list/get/create/disable, yolfi_checkout_sessions_create, yolfi_checkout_sessions_get, and payment create/status. Tool availability should be read from the connected server. Checkout Session tools and settlement merge require a backend that supports those endpoints; do not silently fall back to replacing organization settlement settings.
Reuse resources before creating them
Read all relevant pages and the project's existing configuration. Reuse approved wallets, prices, matching paylinks, and webhook endpoints. settlement:configure sends PATCH /api/private/organization/settlement-accounts, updating only supplied networks and preserving other networks. Changing an existing wallet still requires an owner-approved address.
Create JSON payload files in the target project before passing them to --json; package examples are not automatically copied there. For example, after confirming these product values:
See examples for payload shapes. If create times out, list resources before retrying. Webhook create is not an upsert; creating the same URL twice creates independent endpoints with different secrets.
Webhook secrets and deployment
Local CLI/MCP create and rotate operations save the endpoint signing secret in the protected local config and return redacted metadata with signingSecretStored: true. Lists and updates never return the secret. Use the endpoint ID for local verification:
YOLFI_WEBHOOK_SECRET can supply a server/CI secret. Plaintext --secret flags and MCP secret arguments are not supported; use the endpoint ID or environment. An API key or an agent credential is never a webhook signing secret.
Install the SDK for application code:
For a local provisioning script, readWebhookSigningSecret(endpointId) retrieves a stored secret. Pass it directly to the target deployment's secret manager or an existing ignored environment file without printing it. The app should read its deployed YOLFI_WEBHOOK_SECRET; it should not depend on a developer machine's ~/.yolfi. Direct SDK create/rotate methods return the API response so trusted server code can store the secret itself.
Reuse a matching endpoint and its installed secret. If its secret is unavailable, explain the required recovery instead of silently rotating a live secret or creating a duplicate. Rotation and removal require explicit confirmation. Analytics endpoints use NONE without metadata filters; generic filters are optional flat string maps for explicit current-payment categories, never authorization or tenant routing.
JavaScript SDK and application runtime
Fixed-paylink checkout uses a public checkout URL. Public payment creation and status checks also need no organization API key. Keep the paylink ID in app configuration and verify access grants using signed webhook events or authoritative payment status.
Dynamic, server-priced orders use authenticated Checkout Session creation. The backend calculates the amount and uses its own server credential; the MCP host's OAuth session is not an application credential. A deployed service needs an intentionally provisioned secret. Never copy host OAuth tokens into the app or assume a local CLI login exists in production.
Use paylinkId instead of amount and currency for a paylink-backed session. Standalone sessions require a stable idempotency key and support one-time payments. Public payment creation accepts paylinkId or checkoutSessionId, plus network and symbol; customer email must be supplied directly or already present in the session. Payment metadata and paylink paymentMetadata accept flat string, finite-number, or boolean values. clientReferenceId should be a stable app user/customer ID for subscription attribution.
Choose the payment network and token from the organization's or paylink's supported-token catalog. Litecoin uses network: "LTC" and symbol: "LTC"; availability depends on the deployment and organization settings.
The SDK getApiKey() reads the full organization API key when authorized. It is not a status check and must not be printed as diagnostic output. Use authStatus() for account verification.
CLI commands
Operational commands print JSON. help prints usage text; mcp speaks the MCP protocol. Payload files must exist in your working directory. organization:update is a generic API update; use settlement:configure to preserve unmentioned networks.
Verification
Report account authorization, local tests, deployment configuration, and live payment/webhook verification separately. A redirect, a successful connection, or a local signature test is not proof that the full payment path works. Preserve the app's existing billing and entitlement logic, and do not create paid test activity merely to claim verification.
Package checks: npm run check. No package publication or directory approval is implied by a local version or passing tests.
來源:README.md,提交 f160b66
工具
0版本歷史
1- v0.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Payments 整合
Payments Ai Mcp
ai.payments.managed官方發布者
Payments AI 提供的遠端 MCP 端點,以 Merchant of Record 身分協助為 AI 打造的應用上架產品與品牌化結帳頁。

Qut Pay (Kaspi QR payments)
kz.qut官方發布者
Qut Pay MCP 伺服器,用於哈薩克 Kaspi QR 付款:建立、查詢、取消與退款發票,並模擬沙箱付款。

walletcap for Coinbase payments MCP
由 GitHub 帳號 coriolislabs 發布
為 Coinbase 支付 MCP 錢包提供消費限額:單筆上限與跨程序共用的 24 小時滾動 USDC 預算。

FawryPay cash payments (unofficial)
由 GitHub 帳號 mohamedaly-cloud 發布
非官方的本機 MCP 伺服器,讓助理處理埃及 FawryPay Pay-at-Fawry 現金支付,並可選擇啟用退款與取消工具。

Toss Payments
由 GitHub 帳號 groove79 發布
針對 Toss Payments 的在地 MCP 伺服器,讓助理查詢付款、列出交易與結算,並在人工核准後取消或退款。