El análogo de Stripe en Perú — PSP default para D2C y SaaS peruanos (CulqiOnline, CulqiLink, CulqiFull). Trae a Perú al catálogo junto con BR/MX/AR/CO/CL.
Culqi le da a tu agente 20 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.
create_token — Tokenize a card (POST /tokens). Returns a token id like tkn_xxx. Tokenization is typically done client-side via culqi.js or mobile SDKs; this tool is primarily for test scripts and integration tests. Never send real PANs from a backend without PCI scope.create_charge — Create a charge (POST /charges). Amount is in cents of the currency (e.g. 1000 = S/ 10.00 PEN). source_id accepts a token id (tkn_xxx) or a stored card id (crd_xxx).get_charge — Retrieve a charge by Culqi id.// 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_token", { /* ... */ });$ npm install @codespar/mcp-culqiAgregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).
{
"mcpServers": {
"culqi": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-culqi"
],
"env": {
"CULQI_SECRET_KEY": "<your_culqi_secret_key>"
}
}
}
}Después de reiniciar, tu agente puede llamar cualquiera de las 20 herramientas de abajo — probá create_token primero.
Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.
CULQI_SECRET_KEYCulqi secret key. Use sk_test_... for sandbox, sk_live_... for production.
Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.
create_tokencreate_chargeget_chargelist_chargescapture_chargerefund_chargeget_refundcreate_customerMCP es un protocolo — cualquier framework que lo hable puede montar este server.