Mexico's leading native acquirer. Inbound charges via hosted payment links or transparent checkout, so your agent charges MX cards without local paperwork.
Clip gives your agent 6 tools it calls directly โ pick the ones it needs, in Claude, Cursor, or any MCP client.
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-clipAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"clip": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clip"
],
"env": {
"CLIP_AUTH_TOKEN": "<your_clip_auth_token>"
}
}
}
}After restart, your agent can call any of the 6 tools below โ try create_payment_link first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
CLIP_AUTH_TOKENBasic auth token from the Clip developer dashboard
CLIP_BASE_URLAPI base URL override. Defaults to https://api.payclip.com.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_payment_linkget_payment_linkcreate_paymentget_paymentlist_paymentsrefund_paymentMCP is a protocol โ any framework that speaks it can mount this server.