
Mcp Asaas
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.1更新於 Oct 24, 2026
MCP server for Asaas — billing automation, Pix, boleto, credit card, subscriptions
概覽
面向巴西 Asaas 支付平台的 MCP 伺服器,讓助理建立與管理收款、Pix 收款碼、boleto、訂閱與轉帳。
- 可以做什麼
- 建立、查詢、更新、刪除與退款收款單,支援 Pix、boleto 與信用卡分期
- 取得收款的 Pix QR code 以及 boleto 可輸入行與條碼
- 建立與列出客戶,並查詢客戶詳細資料
- 建立、列出、查詢與取消週期性訂閱
- 查詢帳戶餘額、建立用於分帳的子帳戶,以及建立或列出銀行轉帳(Pix 轉出或 TED)
- 列出 webhook 事件,並建立或列出 webhook 通知設定
- 適用情境
- 適合讓助理直接處理 Asaas 的帳務作業:開立收款單、查詢收款狀態、管理訂閱與客戶,或檢視轉帳與 webhook 事件。示範模式可在沒有真實憑證的情況下建置與測試代理程式。
- 執行需求
- 透過 npx 在本機執行(需要 Node.js)。需要 Asaas 帳戶,並在 ASAAS_API_KEY 環境變數中提供 API 金鑰,除非使用示範模式(--demo 參數或 MCP_DEMO=true)。可選 ASAAS_SANDBOX=true 指向 Asaas 沙箱環境。需要能連線至 Asaas 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Asaas,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-asaas
MCP server for Asaas — billing automation with Pix, boleto, and credit card payments
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (24)
Authentication
Asaas uses an API key passed via the access_token header. You can generate your key from the Asaas dashboard.
Sandbox / Testing
Asaas provides a full sandbox environment at sandbox.asaas.com. Set ASAAS_SANDBOX=true to use it.
Get your credentials
- Go to Asaas
- Create an account or sign up for sandbox at sandbox.asaas.com
- Navigate to Integracoes > API and generate your API key
- Set the
ASAAS_API_KEYenvironment variable
Environment Variables
Demo mode
Pass the --demo flag (or set MCP_DEMO=true) to make every tool
return deterministic fixture responses instead of calling the real
Asaas API. Useful for building and testing agents without burning
sandbox credentials.
The demo handlers for create_payment and get_installments are
stateful: create_payment issues distinct ids per call
(pay_demo_001, pay_demo_002, ...) and, when called with
billingType: CREDIT_CARD + installments >= 2 + value > 0,
records the installment schedule in an in-process ledger. A
subsequent get_installments({ id }) against that id echoes the
recorded schedule back. get_installments also supports a preview
path — pass value + installments without an id and it returns
a hypothetical schedule (status: "PREVIEW", preview: true)
without creating a payment. Other tools return static fixture
payloads.
Roadmap
v0.2 (planned)
list_subscriptions— List all recurring subscriptions with filterscancel_subscription— Cancel an active subscriptionget_webhook_events— List webhook events for debugging integrationscreate_subaccount— Create a subaccount for marketplace splitsget_installments— Get installment details for a payment
v0.3 (planned)
create_anticipation— Request anticipation of receivablesget_fiscal_info— Get fiscal/tax information for paymentsbatch_payments— Create multiple payments in a single request
Want to contribute? Open a PR or request a tool.
Links
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
來源:packages/payments/asaas/README.md,提交 d0a519a
工具
0版本歷史
1- v0.2.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分