PatoCard

Your AI agent, connected to your loyalty program

Ask Claude how many stamps a customer is missing, who hasn't come back or how your rewards are doing. PatoCard has an MCP server: your agent reads your cards in Apple Wallet and Google Wallet as if it were part of your team. Included in every plan.

A conversation with your agent

How many stamps is Ana missing for her free class?

→ buscar_cliente({ telefono: "5512345678" })

Ana López has 7 of 10 stamps on «Classes»: 3 more for her free class. Her last visit was on Tuesday and the card is in her Apple Wallet.

Connect

The server's address is https://patocard.com/api/mcp. Each connection belongs to one business: the agent only sees your data.

Claude (web or desktop)

Settings → Connectors → Add custom connector → paste the address above. Claude sends you to log in to PatoCard and you approve the connection. No key to copy. When approving you choose whether it can only see or can also operate (sign up customers, give stamps, redeem, design cards and prepare campaigns that you approve).

Claude Code

Create a key in your dashboard (Ajustes → Integraciones, that is, Settings → Integrations) —a read key so it only sees, or a read-write key so it operates— and run:

Terminal
claude mcp add --transport http patocard https://patocard.com/api/mcp --header "Authorization: Bearer pc_live_TU_LLAVE"

Cursor and other clients

JSON configuration
{
  "mcpServers": {
    "patocard": {
      "url": "https://patocard.com/api/mcp",
      "headers": {
        "Authorization": "Bearer pc_live_TU_LLAVE"
      }
    }
  }
}

What it can do

ToolWhat it does
mi_negocioWhich business the key belongs to, its scope, and the programs with goals and rewards. The first one an agent calls.
onboardingThe 7 steps to get the business's card ready: which are done, which comes next and what the owner does in person, with the link to their dashboard.
programasThe loyalty programs: mechanic, stamp goal, reward and sign-up link.
buscar_clienteCustomers by phone or email, with their cards and balances. No search by name.
clienteA customer by id, with their cards.
tarjetaA card by id: balance, pending rewards, whether it's in Wallet, and latest visits.
estadisticasThe numbers for 7, 30 or 90 days: active customers, stamps, rewards, by program, and who comes most.
vista_tarjetaAn image of how the card looks; accepts a trial design without saving it, and the empty, halfway and full states.
listar_imagenesThe images the business already has (logos, backgrounds, stamps), with their id to reuse them.
guia_disenoRecommended sizes and ratios for each image, the iOS 27 poster zones, and tips.
liga_subidaA single-use link (30 min) for the owner to upload a photo from their phone. Requires permission to operate.
ver_subidaIf the owner already uploaded the photo, the image's id.
subir_imagenSaves a base64 image (up to ~3 MB, it's shrunk automatically). Requires permission to operate.
historial_disenoPrevious versions of a program's name, reward and design.
revertir_disenoTakes a program back to an earlier version (and it can be undone). Requires permission to operate.
liga_altaA program's sign-up link, with its QR as an image.
crear_programaCreates a stamp card with its design: classic or iOS 27 poster, colors, the stamp's emoji and shape, background and logo from a URL, vocabulary and back-of-card texts. Requires permission to operate.
editar_programaChanges a card's name, reward or design (whatever you send). The goal and daily cap stay in the panel. Requires permission to operate.
alta_clienteSigns up a customer and returns their card's link. Requires permission to operate.
dar_selloRecords a visit, with the business's caps. Requires permission to operate.
canjear_premioMarks a reward as handed over. Requires permission to operate.
pedir_campanaPrepares a message to a segment of customers; it stays pending until the owner approves it in the panel.
crear_negocioNo account: builds a DRAFT business with its card and returns the image, a token to adjust it, and the link for the owner to claim it (expires in 72 h).
editar_borradorNo account: changes the draft (name, card and design).
vista_borradorNo account: image of the draft; tries changes without saving them.
estado_borradorNo account: whether it was claimed and how long until it expires; can reissue the link.
liga_subida_borradorNo account: a link for the owner to upload a photo to the draft.
ver_subida_borradorNo account: the id of the photo the owner uploaded.

Ask it

  • “How many stamps is Ana (55 1234 5678) missing for her reward?”
  • “How many active customers did we have in the last 30 days, by program?”
  • “Who are my 10 most frequent customers this month?”
  • “What reward does the coffee card give, and how many stamps does it take?”

Don't have PatoCard yet?

14 days free, no credit card. Then you connect your agent in a minute.

Start free

Are you a developer? There's also a REST API and webhooks.