Skip to main content
RA

Rapyd

v0.2.1API Key

Plataforma global de collect + disburse en más de 100 países. Complementa a dLocal (enfocada en LatAm) con retiro en efectivo (OXXO Pay, 7-Eleven) y billeteras gestionadas por el merchant — única respecto a otros servers del catálogo.

22 herramientas3 env vars🌐 GLOBALestable en npm

Qué puede hacer tu agente

Rapyd le da a tu agente 22 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_checkout_pageCreate a Rapyd hosted checkout page. Returns a redirect_url the payer opens in a browser. Rapyd renders the appropriate local methods (cards, cash pickup, bank transfer, wallets) for the country + currency combination, so one call supports 100+ countries.
  • create_paymentCreate a direct payment with a fully-specified payment_method. Use when you already have a payment_method id/token or when you want server-to-server flow without the hosted page. For voucher/cash methods the response contains redirect/display data.
  • get_paymentRetrieve a payment by Rapyd payment id (payment_xxx). Returns status, amount, method, and any next-action data.
Ejemplo de llamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_checkout_page", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-rapyd

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "rapyd": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-rapyd"
      ],
      "env": {
        "RAPYD_ACCESS_KEY": "<your_rapyd_access_key>",
        "RAPYD_SECRET_KEY": "<your_rapyd_secret_key>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 22 herramientas de abajo — probá create_checkout_page primero.

Variables de entorno · 3

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

RAPYD_ACCESS_KEY
obligatorio

Rapyd access key (sent in the access_key header)

RAPYD_SECRET_KEY
obligatoriosecret

Rapyd secret key used to sign HMAC-SHA256 requests (never transmitted)

RAPYD_ENV
opcional

Rapyd environment: 'sandbox' (https://sandboxapi.rapyd.net) or 'production' (https://api.rapyd.net). Defaults to sandbox.

Herramientas disponibles · 22

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_checkout_page
Create a Rapyd hosted checkout page. Returns a redirect_url the payer opens in a browser. Rapyd renders the appropriate local methods (cards, cash pickup, bank transfer, wallets) for the country + currency combination, so one call supports 100+ countries.
WRITEcreate_payment
Create a direct payment with a fully-specified payment_method. Use when you already have a payment_method id/token or when you want server-to-server flow without the hosted page. For voucher/cash methods the response contains redirect/display data.
WRITEget_payment
Retrieve a payment by Rapyd payment id (payment_xxx). Returns status, amount, method, and any next-action data.
DELETEcancel_payment
Cancel a payment that has not yet been captured/completed. For auth-only card payments this voids the auth; for pending redirect payments it cancels the expectation.
DELETEcreate_refund
Refund a completed payment. Omit amount for a full refund or set amount for partial.
WRITEcreate_payout
Create a payout (disbursement) to a beneficiary. Rapyd supports bank transfer, wallet top-up, and cash pickup (OXXO Pay, 7-Eleven, etc). Use list_payout_methods_by_country first to find the right payout_method_type for the destination country.
WRITEget_payout
Retrieve a payout by Rapyd payout id (payout_xxx).
WRITEconfirm_payout
Second step of Rapyd's two-step payout approval. After create_payout returns a payout in 'Created' state, call confirm_payout to release funds. Used when your Rapyd account requires dual-approval.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-rapyd` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Rapyd — MCP server · 22 tools | CodeSpar