Mcp Stp Spei

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.3更新於 Oct 24, 2026

STP/SPEI — Mexican instant bank transfers

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

針對墨西哥即時銀行轉帳系統 STP/SPEI 的在地 MCP 伺服器,讓助理建立、查詢、取消與對帳轉帳並管理帳戶。

可以做什麼
建立、查詢、列出與取消 SPEI 轉帳,並建立或列出退款(devoluciones)。查詢單一或公司全部帳戶的餘額。在本機或線上驗證 CLABE 帳號,列出參與銀行並依代碼查詢銀行。取得 CEP 付款憑證並依日期產生對帳報告。註冊、列出與刪除用來接收 STP 事件通知的 webhook 網址。
適用情境
適合需要處理墨西哥 SPEI 付款的情境:準備或追蹤轉帳、查詢餘額、驗證 CLABE、對帳交易或設定 webhook 通知。目前為早期 alpha 版本,較適合評估與測試,而非正式付款流程。
執行需求
以 npm 作為在地程序執行(安裝 alpha 標籤並鎖定確切版本)。需要以環境變數提供 STP_API_KEY 密鑰與 STP_COMPANY 公司識別碼,憑證須向 STP 取得。選用的 MCP_HTTP 與 MCP_PORT 可啟用 HTTP 傳輸。需要連線至 STP API 的網路存取。
安裝前請注意
此伺服器可動用資金:create_transfer、create_refund 與 cancel_transfer 會操作真實銀行轉帳,允許寫入前應先確認。它需要密鑰 STP_API_KEY 與公司識別碼。README 標示為 alpha,端點路徑尚未完全經過實際驗證。註冊 webhook 會把事件資料傳送到你提供的網址。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MCP STP/SPEI

Alpha release — published under the alpha npm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during 0.x.x-alpha. Install with npm install <pkg>@alpha.

MCP server for STP/SPEI — Mexican instant bank transfer system (equivalent to Brazil's PIX).

Quick Start

bash
# Set your credentialsexport STP_API_KEY="your-api-key"export STP_COMPANY="your-company-id"
# Run via stdionpx tsx packages/mexico/stp-spei/src/index.ts
# Run via HTTPnpx tsx packages/mexico/stp-spei/src/index.ts --http

Environment Variables

VariableRequiredDescription
STP_API_KEYYesAPI key from STP
STP_COMPANYYesCompany identifier
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Tools (18)

ToolPurpose
create_transferCreate a SPEI transfer
get_transferGet transfer details by ID
list_transfersList transfers with filters
cancel_transferCancel a pending SPEI orden by clave_rastreo (only works while orden is pending)
get_balanceGet account balance
list_account_balancesList balances for all company accounts
validate_accountValidate a CLABE account number against the receiving bank (online check)
validate_clabeValidate CLABE structure and checksum locally (no API call).
list_banksList participating SPEI banks
lookup_bank_by_codeLook up a participating bank by its ABM/SPEI code (first 3 digits of CLABE)
get_cepGet CEP (Comprobante Electronico de Pago) for transfer validation
register_beneficiaryRegister a beneficiary account
create_refundCreate a SPEI refund/devolución for a previously received transfer
list_refundsList devoluciones (refunds) by date range
conciliation_reportGet transactions reconciliation report by date (all received + sent ordenes)
register_webhookRegister a webhook URL to receive STP event notifications
list_webhooksList registered webhooks for the company
delete_webhookDelete a registered webhook by ID

Auth

Uses API key + digital signature authentication. The API key is sent as a Bearer token, and the company identifier is included in requests. Obtain credentials from STP.

API Reference


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.

Authentication

Set these environment variables before launching the server:

  • STP_API_KEY (required, secret) — API key for STP
  • STP_COMPANY (required) — Company identifier for STP

Issue credentials at the provider's developer portal: https://stpmex.com/docs.

License

MIT

來源:packages/mexico/stp-spei/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0-alpha.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分