O análogo do Stripe no Peru — PSP padrão pra D2C e SaaS peruanos (CulqiOnline, CulqiLink, CulqiFull). Traz o Peru pro catálogo junto com BR/MX/AR/CO/CL.
O Culqi dá ao seu agente 20 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer 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-culqiAdicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).
{
"mcpServers": {
"culqi": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-culqi"
],
"env": {
"CULQI_SECRET_KEY": "<your_culqi_secret_key>"
}
}
}
}Depois de reiniciar, seu agente pode chamar qualquer uma das 20 ferramentas abaixo — teste create_token primeiro.
Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.
CULQI_SECRET_KEYCulqi secret key. Use sk_test_... for sandbox, sk_live_... for production.
Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.
create_tokencreate_chargeget_chargelist_chargescapture_chargerefund_chargeget_refundcreate_customerMCP é um protocolo — qualquer framework que o fale pode montar este server.