ROKI Connect MCP
An official Model Context Protocol server for ROKI Connect that provides AI coding agents with verified payment operations, schemas, and a validator. It enables agents to integrate ROKI payments by listing operations, validating payloads against business rules, and generating code for checkout flows without requiring direct API access or credentials.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.roki.la/mcpWhat its tools do
19 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (18)
roki_search_docsroki_get_doc_sectionroki_list_operationsroki_get_operationroki_get_schemaroki_get_errorroki_validate_requestroki_check_resultroki_get_integration_exampleroki_get_quickstartroki_get_authentication_guideroki_get_webhook_guideroki_choose_integration_moderoki_verify_webhook_signatureroki_scaffold_integrationroki_audit_integrationroki_sandbox_inforoki_status
Can change data (1)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to roki.la ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Integrate ROKI Connect payments into a checkout flow
- Validate payment payloads against API schemas and business rules
- List available payment operations across different integration modes
- Generate webhook handlers with HMAC verification and idempotency
Source and maintenance
Protocol and capabilities
- Server
- roki-connect 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 19 advertised
- Resources
- 2 advertised
- Resource templates
- 0 advertised
- Prompts
- 3 advertised
{
"tools": {
"listChanged": true
},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
19 advertised
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 15,
"minimum": 1,
"description": "Maximum results (default 6)."
},
"query": {
"type": "string",
"minLength": 2,
"description": "What you need to know, e.g. \"webhook signature\", \"tip fields\", \"idempotency\"."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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").
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ref"
],
"properties": {
"ref": {
"type": "string",
"description": "Section number, sub-number, or a fragment of its title."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operation"
],
"properties": {
"operation": {
"type": "string",
"description": "operationId (e.g. \"createPayment\"), or \"METHOD /path\" (e.g. \"POST /payments\")."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"description": "Schema name. Omit to list all available schemas."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"error"
],
"properties": {
"error": {
"type": "string",
"description": "HTTP status (\"422\"), or a fragment of the message (\"Pago no encontrado\", \"route could not be found\", \"sandbox\")."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operation",
"payload"
],
"properties": {
"payload": {
"type": "object",
"description": "The JSON request body you intend to send.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"operation": {
"type": "string",
"description": "operationId, e.g. \"createPayment\"."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sent",
"received"
],
"properties": {
"sent": {
"type": "object",
"description": "The JSON request body you sent to POST /payments.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"received": {
"type": "object",
"description": "The payment object the API returned. Paste the response as-is.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"stack": {
"type": "string",
"description": "e.g. \"laravel\", \"php\", \"node\", \"express\", \"python\", \"fastapi\". Omit to list what is available."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}roki_get_quickstart — ROKI Connect quickstart
The minimum viable integration sequence, end to end, including the manual portal steps a developer cannot skip.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"context"
],
"properties": {
"context": {
"type": "string",
"description": "What the project is: e.g. \"Laravel e-commerce checkout\", \"iOS app\", \"card fields on my own page\", \"invoices from an ERP\", \"monthly subscriptions\"."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"raw_body",
"signature_header",
"signing_secret"
],
"properties": {
"raw_body": {
"type": "string",
"description": "The EXACT raw request body as received, byte for byte, before any JSON parsing."
},
"signing_secret": {
"type": "string",
"description": "The signing secret from the portal, for the same environment as the event. Held in memory for the duration of the call only: this server logs no tool arguments."
},
"signature_header": {
"type": "string",
"description": "The full ROKI-Signature header value, e.g. \"t=1719234300,v1=8f3c...\""
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"stack"
],
"properties": {
"mode": {
"type": "string",
"description": "\"hosted\" (default), \"embedded\" or \"saved-card\"."
},
"stack": {
"type": "string",
"description": "e.g. \"laravel\", \"node\", \"express\", \"python\", \"fastapi\", \"php\"."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"focus": {
"type": "string",
"description": "Optional area: \"webhooks\", \"security\", \"payments\", \"reversals\"."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operation"
],
"properties": {
"payload": {
"type": "object",
"description": "Request body for POST operations, or path values such as {\"id\": 123} / {\"transaction_id\": \"uuid\"}.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"operation": {
"type": "string",
"description": "operationId to run, e.g. \"createPayment\", \"getPayment\", \"voidTransaction\"."
}
}
}{
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
3 advertised
integrate_roki_connect — Integrate ROKI Connect into this project
Guided, end-to-end integration of ROKI Connect payments, including the manual portal steps.
- environment
- "sandbox" or "production". Sandbox is recommended while developing.
- context
- What this project is, e.g. "Laravel storefront", "iOS app".
debug_roki_integration — Debug a ROKI Connect problem
Diagnose a failing ROKI integration from a symptom, error message or status code.
- symptom
- The error, status code or behaviour you are seeing. (required)
review_roki_integration — Review this project ROKI integration
Audit existing ROKI Connect code against the verified specification and the known traps.
Resources
2 advertised
openapi — ROKI Connect OpenAPI specification
The full OpenAPI 3.1 document, verified against the live API.
roki://openapiguide — ROKI Connect integration guide
The complete canonical integration guide, including runnable per-stack examples.
roki://guide90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1042 ms
- 95th percentile latency
- 1155 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 915 ms · 19 tool(s), 2 resource(s), 0 resource template(s), 3 prompt(s)
- · probe · passed · 1168 ms · metadata changed · 19 tool(s), 2 resource(s), 0 resource template(s), 3 prompt(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http roki-connect-mcp https://mcp.roki.la/mcpCodex
codex mcp add roki-connect-mcp --url https://mcp.roki.la/mcpCursor
{
"mcpServers": {
"roki-connect-mcp": {
"url": "https://mcp.roki.la/mcp"
}
}
}Cline
{
"mcpServers": {
"roki-connect-mcp": {
"type": "streamableHttp",
"url": "https://mcp.roki.la/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"roki-connect-mcp": {
"type": "http",
"url": "https://mcp.roki.la/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http roki-connect-mcp https://mcp.roki.la/mcpClaude Desktop
https://mcp.roki.la/mcpWindsurf
{
"mcpServers": {
"roki-connect-mcp": {
"serverUrl": "https://mcp.roki.la/mcp"
}
}
}Let your agent find its tools
Find servers like ROKI Connect MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other payments servers
Do you run ROKI Connect MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.