
Mcp Braintree
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.2更新於 Oct 24, 2026
MCP server for Braintree (PayPal) — global card processing via GraphQL: charge, refund, vault
概覽
針對 Braintree(PayPal)信用卡付款的 MCP 伺服器:透過 GraphQL 授權、請款、退款、儲存付款方式,並管理客戶與爭議。
- 可以做什麼
- 授權、請款、捕獲、作廢、退款交易並提交清算
- 儲存、更新、驗證與刪除已儲存的付款方式
- 建立、更新、搜尋與刪除客戶
- 查詢與搜尋交易、客戶、爭議與商戶帳戶
- 產生供瀏覽器或行動裝置權杖化使用的用戶端權杖
- 適用情境
- 適合已擁有 Braintree 商戶帳戶、希望由助理處理付款操作、付款方式儲存與客戶管理的情境,例如銷售給美國或歐洲買家的 SaaS 服務。建議先在 sandbox 環境驗證流程,再接觸正式環境。
- 執行需求
- 透過 npm 套件以 stdio 在本機執行(npx),設定 MCP_HTTP 與 MCP_PORT 時也可改用 HTTP。需要 Braintree 商戶帳戶,以及環境變數 BRAINTREE_MERCHANT_ID、BRAINTREE_PUBLIC_KEY、BRAINTREE_PRIVATE_KEY,另可選用 BRAINTREE_ENV(預設 sandbox)與 BRAINTREE_API_VERSION。需要能連線至 Braintree GraphQL 端點的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Braintree,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-braintree
MCP server for Braintree (PayPal) — global card processing via the Braintree GraphQL API.
Target customer: LatAm SaaS selling to US/EU buyers who already hold a Braintree merchant account and want agent-driven payments, vaulting, and customer management.
Tools (22)
Install
Environment
Endpoints:
sandbox→https://payments.sandbox.braintree-api.com/graphqlproduction→https://payments.braintree-api.com/graphql
Authentication
Braintree's GraphQL endpoint accepts HTTP Basic auth with PUBLIC_KEY:PRIVATE_KEY base64-encoded. Every request also requires a Braintree-Version: YYYY-MM-DD header — the server defaults to 2019-01-01 and can be overridden with BRAINTREE_API_VERSION.
Payment method ids
Most mutations take a paymentMethodId. These come from client-side tokenization (Braintree Drop-in / Hosted Fields / SDKs) — the server does not accept raw PANs. Use create_client_token to mint a token for the browser or mobile SDK.
Run
Notes
- Amount is a string in Braintree GraphQL (e.g.
"10.50"), not a number. The server forwards whatever shape the agent passes; strings are the safe default. - Braintree's GraphQL schema evolves; some input fields not exposed in the MCP
inputSchemacan still be passed inadditional/ nested objects and will be forwarded.
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/braintree/README.md,提交 d0a519a
工具
0版本歷史
1- v0.2.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分