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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。