mcp-clip

v0.1.0
io.github.codespar/mcp-clip Checked 9 hours ago Published 5 months ago

MCP server for Clip (PayClip) — Mexico's leading acquirer: payment links, card charges, refunds

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

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.

ParameterTypeDescription
amount *numberAmount in MXN (decimal pesos)
card_token *stringCard token from Clip's client-side SDK (never a PAN)
currencystringCurrency code. Clip processes MXN.
customerobjectCustomer identification (email, first_name, last_name, phone)
descriptionstringCharge description
installmentsnumberMeses sin intereses installments (when enabled)
metadataobjectOptional metadata

get_payment

Fetch a payment by id (GET /payments/{id}) — status, amounts, card summary, refunds.

ParameterTypeDescription
payment_id *stringClip payment id

list_payments

List payments (GET /payments), newest first. Paginated via limit/offset.

ParameterTypeDescription
limitnumberPage size (max per Clip docs)
offsetnumberItems to skip

refund_payment

Refund a payment (POST /payments/{id}/refund). Omit amount for a full refund; pass it for a partial refund in MXN.

ParameterTypeDescription
payment_id *stringClip payment id
amountnumberPartial refund amount in MXN. Omit for full refund.
reasonstringRefund reason (shown in the Clip panel)