Leat MCP by usefulapi
io.usefulapi/piggy
Serveur MCP OK 15 outils
Read contacts, points, orders and rewards; add or reverse points in Leat.
Fiche technique
- Auteur
- usefulapi.io (espace de noms du registre)
- Dépôt
- github.com/m190/usefulapi-mcp
- Site
- usefulapi.io/piggy
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://piggy.usefulapi.io/mcp Streamable HTTP
- Outils
- 15
- Catégories
- —
- Dernière mise à jour
- 26 nov. 2026
- Publication
- 26 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.usefulapi/piggy)<a href="https://latlas.dev/mcp/io.usefulapi/piggy"><img src="https://latlas.dev/badge/fiche/io.usefulapi/piggy.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://piggy.usefulapi.io/mcp
- Dernier résultat
- OK 28 nov. 2026, 13:54
- Temps de réponse
- 181 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- piggy-mcp 1.1.0
- Outils
- 15
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 13:54 | OK | 181 ms | 15 |
Outils exposés (15, réponse à tools/list, 28 nov. 2026)
piggy_list_contacts
List contacts
List the loyalty contacts (end-users) of the account, newest first by default. Use created_from / created_to to filter by creation date. GET /contacts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | integer | non | Page number (default 1). |
| limit | integer | non | Records per page (default 10, max 100). |
| sort | string | non | Sort column; prefix with '-' for descending (e.g. -created_at). |
| created_from | string | non | Only contacts created on or after this date (created_at[gte]). |
| created_to | string | non | Only contacts created on or before this date (created_at[lte]). |
piggy_find_contact
Find contact by email
Find one loyalty contact by email address. GET /contacts/find-one-by?email=.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | The contact's email address. |
piggy_get_contact
Get contact
Get one loyalty contact by UUID, with attributes, tier and subscriptions. GET /contacts/{uuid}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| contact_uuid | string | oui | UUID. |
piggy_get_contact_identifiers
Get contact identifiers
List the identifiers (for example card or app ids) linked to a contact. GET /contacts/{uuid}/contact-identifiers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| contact_uuid | string | oui | UUID. |
piggy_get_credit_balance
Get credit balance
Get a contact's current loyalty credit balance (points). GET /contacts/{uuid}/credit-balance.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| contact_uuid | string | oui | UUID. |
piggy_get_prepaid_balance
Get prepaid balance
Get a contact's prepaid balance (money held for the contact, in the lowest currency unit). GET /contacts/{uuid}/prepaid-balance.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| contact_uuid | string | oui | UUID. |
piggy_get_contact_tier
Get contact tier
Get the loyalty tier a contact currently holds. GET /contacts/{uuid}/tier.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| contact_uuid | string | oui | UUID. |
piggy_list_loyalty_transactions
List loyalty transactions
List credit receptions (points earned) and reward receptions (rewards redeemed), newest first by default. Filter by type, business profile and date. GET /loyalty-transactions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | integer | non | Page number (default 1). |
| limit | integer | non | Records per page (default 10, max 100). |
| type | enum: "credit_receptions" | "reward_receptions" | non | Only this transaction type. |
| shop_uuid | string | non | Only transactions at this business profile (shop) UUID. |
| sort | string | non | Sort column; prefix with '-' for descending (e.g. -created_at). |
| created_from | string | non | Only transactions created on or after this date (created_at[gte]). |
| created_to | string | non | Only transactions created on or before this date (created_at[lte]). |
piggy_list_orders
List orders
List the orders replicated into Leat, optionally for one contact or business profile, by creation date. GET /orders.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | integer | non | Page number (default 1). |
| limit | integer | non | Orders per page (default 30, max 30). |
| contact_uuid | string | non | Only orders of this contact UUID. |
| business_profile_uuid | string | non | Only orders at this business profile UUID. |
| created_from | string | non | Only orders created on or after this date (created_at[gte]). |
| created_to | string | non | Only orders created on or before this date (created_at[lte]). |
piggy_find_order
Find order by external id
Find one order by the unique identifier from the source system (external_identifier). GET /orders/find.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| external_identifier | string | oui | The order's identifier in your own system. |
piggy_get_order
Get order
Get one order by its Leat UUID, with line items and processing results. GET /orders/{uuid}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| uuid | string | oui | UUID. |
piggy_get_direct_points_transaction
Get direct points transaction
Get one direct points transaction (a manual points grant or deduction) by UUID. GET /direct-points-transactions/{uuid}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| uuid | string | oui | UUID. |
piggy_create_contact
Create contact
WRITE: create a loyalty contact with an email address. Fails with code 60005 if the email already exists: use piggy_find_contact first. POST /contacts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | The new contact's email address. | |
| referral_code | string | non | Optional referral code for the referral programme. |
piggy_add_direct_points
Add or subtract points
WRITE: add a whole number of points to a contact's balance at a business profile (negative subtracts). Changes real balances: set confirm to true only after the user approves the amount. POST /direct-points-transactions. Not retried automatically.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| contact_uuid | string | oui | The contact's UUID. |
| business_profile_uuid | string | oui | The business profile where the points are given. |
| points | integer | oui | Points to add; negative subtracts. |
| custom_attributes | object | non | Optional custom attribute values for the transaction, by attribute name (e.g. reason). |
| confirm | boolean | oui | Must be true. Confirms that the user asked for this change: it changes a customer's points. |
piggy_reverse_direct_points
Reverse points transaction
WRITE: reverse (undo) one direct points transaction by UUID. Changes real balances: set confirm to true only after the user approves. POST /direct-points-transactions/{uuid}/reverse. Not retried automatically.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| uuid | string | oui | The direct points transaction UUID to reverse. |
| confirm | boolean | oui | Must be true. Confirms that the user asked for this change: it changes a customer's points. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://piggy.usefulapi.io/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http piggy https://piggy.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : piggy ; URL : https://piggy.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : piggy ; Server URL : https://piggy.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"piggy": {
"url": "https://piggy.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"piggy": {
"type": "http",
"url": "https://piggy.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"piggy": {
"url": "https://piggy.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"piggy": {
"httpUrl": "https://piggy.usefulapi.io/mcp"
}
}
}[mcp_servers.piggy]
url = "https://piggy.usefulapi.io/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Leat MCP by usefulapi · L’Atlas · Test du
[Leat MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/piggy)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.