Principal adquirente nativo de México. Cobros vía links de pago alojados o checkout transparente, para que tu agente cobre tarjetas MX sin trámites locales.
Clip le da a tu agente 6 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.
create_payment_link — Create a hosted checkout / payment link (POST /v2/checkout). The buyer opens the returned payment_request_url and pays with card, Clip account or other enabled MX methods. Amount is in MXN pesos (decimal, e.g. 150.00).get_payment_link — Fetch a checkout / payment link by id (GET /v2/checkout/{id}) — status, amount, payment outcome.create_payment — Create a transparent card charge (POST /payments) using a card token generated by Clip's client-side SDK. Use create_payment_link instead when you have no tokenization front-end — raw card numbers are never accepted here.// 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_payment_link", { /* ... */ });$ npm install @codespar/mcp-clipAgregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).
{
"mcpServers": {
"clip": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clip"
],
"env": {
"CLIP_AUTH_TOKEN": "<your_clip_auth_token>"
}
}
}
}Después de reiniciar, tu agente puede llamar cualquiera de las 6 herramientas de abajo — probá create_payment_link primero.
Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.
CLIP_AUTH_TOKENBasic auth token from the Clip developer dashboard
CLIP_BASE_URLAPI base URL override. Defaults to https://api.payclip.com.
Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.
create_payment_linkget_payment_linkcreate_paymentget_paymentlist_paymentsrefund_paymentMCP es un protocolo — cualquier framework que lo hable puede montar este server.