ROKI Connect

la.roki由 roki.la 發布官方發布者v1.0.0更新於 Oct 24, 2026

Verified ROKI Connect payments contract for coding agents: operations, schemas, validator.

已驗證Streamable HTTP可網頁執行金融開發者工具

概覽

AI 產生的概覽

遠端 MCP 伺服器,為編碼助理提供經過驗證的 ROKI Connect 支付 API 契約:操作、Schema、驗證與沙箱測試。

可以做什麼
檢索並閱讀 ROKI Connect 文件語料,包含完整指南章節與快速上手步驟,並列出 API 實際提供的操作以及明確不存在的操作,附上每個操作的完整細節與依名稱取得的已解引用 JSON Schema。在不送出請求的前提下依官方 Schema 與業務規則驗證請求內容,並將 API 回傳的支付與已送出的請求內容比對。解釋 HTTP 狀態碼與 API 錯誤訊息,並提供可執行的整合範例、骨架、驗證與 Webhook 指南以及稽核清單。驗證 Webhook 簽章與原始請求內容及簽章金鑰是否相符,並使用伺服器自帶的測試憑證在 ROKI 沙箱中執行已記錄的操作。
適用情境
在建置、審查或除錯 ROKI Connect 支付整合時使用,讓助理依據真實契約工作,而不是猜測端點、欄位名稱或錯誤含義。上線前驗證請求內容與稽核現有程式碼時同樣適用。
執行需求
遠端 streamable HTTP 端點,無需安裝套件或本機執行環境。未宣告驗證、環境變數或請求標頭。沙箱呼叫使用伺服器自帶的測試憑證,使用者無需提供金鑰。
安裝前請注意
沙箱工具會在 ROKI 沙箱中執行真實操作,即使未提供商戶金鑰也會產生實際影響。驗證與結果比對僅為建議性檢查,不會送出任何內容。此 API 據稱會忽略未知欄位並回傳 201,因此拼字錯誤可能造成設定錯誤的支付而非錯誤訊息;上線前應依賴驗證與結果比對。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/la.roki%2Fconnect/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "roki-connect": {
      "type": "http",
      "url": "https://mcp.roki.la/mcp"
    }
  }
}

工具

19

roki_search_docs

Search ROKI Connect documentation

Search the official ROKI Connect corpus (integration guide, API operations and schemas) and return ranked excerpts. Use this first when you need any ROKI-specific fact. Never answer a ROKI question from memory or from another payment gateway's conventions.

輸入參數limitquery必填

roki_get_doc_section

Read a section of the ROKI Connect guide

Return the complete text of one section of the integration guide, by number (e.g. "14"), sub-number ("12.1") or title fragment ("webhook").

輸入參數ref必填

roki_list_operations

List ROKI Connect API operations

List every operation the API actually exposes, plus the operations that are documented as NOT existing. Call this before writing any integration code so you never invent an endpoint.

無需輸入參數。

roki_get_operation

Get a ROKI Connect API operation in full

Full detail for one operation: method, path, headers, request schema field table, responses, and worked examples.

輸入參數operation必填

roki_get_schema

Get a ROKI Connect schema

Return a fully dereferenced JSON Schema by name (e.g. "PaymentCreateRequest", "Payment", "WebhookEvent"). Use it to know the exact field names, types and constraints.

輸入參數name

roki_get_error

Explain a ROKI Connect error

Explain an HTTP status or an error message returned by the ROKI API: what it means, the likely cause and what to do. Use this instead of guessing when an integration fails.

輸入參數error必填

roki_validate_request

Validate a ROKI Connect request payload

Validate a payload against the official schema WITHOUT sending it, and check the business rules the API enforces. Critical for this API: it ignores unknown fields and returns 201, so a typo produces a misconfigured payment rather than an error. The response names what it dropped in `warnings`, but by then the payment exists - validating here means it is never created. Always validate before writing or shipping integration code.

輸入參數payload必填operation必填

roki_check_result

Check a ROKI payment response against the request that produced it

Compare the payment the API returned against the body you sent, and report anything that does not match. Every other check here looks at what you SEND. This one exists for the errors that survive that: the field name was right and the VALUE was wrong. The API answers 201, `warnings` comes back empty because there was nothing to warn about, and the merchant charged something else. Catches the amount off by a factor of 100, fee pass-through asked for and returned as zero, tax that was not applied, `expires_at` already in the past because it was sent as UTC instead of Honduras time, a total that does not add up, and a `transaction_id` parsed as a number. Run it after every createPayment while you are building, and in your own tests afterwards.

輸入參數sent必填received必填

roki_get_integration_example

Get a runnable ROKI Connect integration example

Return a complete, runnable integration example for a stack: configuration, API client, checkout flow, webhook handler with signature verification, and polling fallback.

輸入參數stack

roki_get_quickstart

ROKI Connect quickstart

The minimum viable integration sequence, end to end, including the manual portal steps a developer cannot skip.

無需輸入參數。

roki_get_authentication_guide

ROKI Connect authentication and credentials

How authentication works, how the two environments are selected, where credentials come from, and how to store and rotate them safely.

無需輸入參數。

roki_get_webhook_guide

ROKI Connect webhooks

Everything about webhooks: portal registration, event types, payload shape, HMAC signature verification over the raw body, idempotent processing, and the polling fallback.

無需輸入參數。

roki_choose_integration_mode

Choose the right ROKI integration approach

Decide how to integrate ROKI Connect for a given project (web checkout, embedded card fields, mobile app, invoices or recurring billing) and get the constraints that apply before writing code. The modes and the endpoints behind them are read from the corpus, so this answer cannot describe a mode the API no longer has - or miss one it gained.

輸入參數context必填

roki_verify_webhook_signature

Verify a ROKI webhook signature and diagnose why it fails

Check a ROKI-Signature header against the raw body and the signing secret. When it fails, this does not just say "invalid" - it tries the specific wrong constructions developers actually write and tells you which mistake you made. Use it whenever webhook verification rejects real events. On the signing secret: this is ROKI's own server and ROKI issued that secret, so sending it here discloses nothing new. It is used to recompute the HMAC and is never stored, logged or counted.

輸入參數raw_body必填signing_secret必填signature_header必填

roki_scaffold_integration

Scaffold a complete ROKI Connect integration

Return the full runnable skeleton for a stack: credential storage, API client, checkout flow, webhook handler with signature verification, and the polling fallback. Use it to start an integration instead of assembling one from memory.

輸入參數modestack必填

roki_audit_integration

Audit ROKI integration code against the verified contract

Return the checklist to audit existing ROKI code, ordered by how badly each item fails in production. Use it when reviewing an integration you did not write, or before going live.

輸入參數focus

roki_sandbox_try

Execute an operation against the ROKI sandbox and see the real response

Runs a documented operation against the ROKI sandbox using THIS SERVER'S own test credential, and returns the actual response. Use it to prove an integration works instead of assuming it does - especially after roki_validate_request says a payload is valid. You never supply a key: this server holds a sandbox-only credential and refuses to run against production. Amounts are capped and links expire quickly, because the sandbox is shared.

輸入參數payloadoperation必填

roki_sandbox_info

What the sandbox playground can run

Whether the sandbox playground is enabled here, which operations it accepts, its limits, and the sandbox test cards.

無需輸入參數。

roki_status

ROKI Connect MCP server status

Server version, corpus contents and freshness. Safe first call to confirm the connection works. Exposes no credentials and no merchant data.

無需輸入參數。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 83%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。