L'Atlas / Serveurs MCP / Leat MCP by usefulapi
Serveur MCP

Leat MCP by usefulapi

io.usefulapi/piggy

Serveur MCP OK 15 outils

Faire examiner Voir les tarifs

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

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/piggy.svg)](https://latlas.dev/mcp/io.usefulapi/piggy)
HTML
<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

DateRésultatRéponseOutils
28 nov. 2026, 13:54OK181 ms15

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ètreTypeRequisDescription
pageintegernonPage number (default 1).
limitintegernonRecords per page (default 10, max 100).
sortstringnonSort column; prefix with '-' for descending (e.g. -created_at).
created_fromstringnonOnly contacts created on or after this date (created_at[gte]).
created_tostringnonOnly 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ètreTypeRequisDescription
emailstringouiThe contact's email address.

piggy_get_contact

Get contact

Get one loyalty contact by UUID, with attributes, tier and subscriptions. GET /contacts/{uuid}.

ParamètreTypeRequisDescription
contact_uuidstringouiUUID.

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ètreTypeRequisDescription
contact_uuidstringouiUUID.

piggy_get_credit_balance

Get credit balance

Get a contact's current loyalty credit balance (points). GET /contacts/{uuid}/credit-balance.

ParamètreTypeRequisDescription
contact_uuidstringouiUUID.

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ètreTypeRequisDescription
contact_uuidstringouiUUID.

piggy_get_contact_tier

Get contact tier

Get the loyalty tier a contact currently holds. GET /contacts/{uuid}/tier.

ParamètreTypeRequisDescription
contact_uuidstringouiUUID.

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ètreTypeRequisDescription
pageintegernonPage number (default 1).
limitintegernonRecords per page (default 10, max 100).
typeenum: "credit_receptions" | "reward_receptions"nonOnly this transaction type.
shop_uuidstringnonOnly transactions at this business profile (shop) UUID.
sortstringnonSort column; prefix with '-' for descending (e.g. -created_at).
created_fromstringnonOnly transactions created on or after this date (created_at[gte]).
created_tostringnonOnly 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ètreTypeRequisDescription
pageintegernonPage number (default 1).
limitintegernonOrders per page (default 30, max 30).
contact_uuidstringnonOnly orders of this contact UUID.
business_profile_uuidstringnonOnly orders at this business profile UUID.
created_fromstringnonOnly orders created on or after this date (created_at[gte]).
created_tostringnonOnly 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ètreTypeRequisDescription
external_identifierstringouiThe 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ètreTypeRequisDescription
uuidstringouiUUID.

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ètreTypeRequisDescription
uuidstringouiUUID.

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ètreTypeRequisDescription
emailstringouiThe new contact's email address.
referral_codestringnonOptional 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ètreTypeRequisDescription
contact_uuidstringouiThe contact's UUID.
business_profile_uuidstringouiThe business profile where the points are given.
pointsintegerouiPoints to add; negative subtracts.
custom_attributesobjectnonOptional custom attribute values for the transaction, by attribute name (e.g. reason).
confirmbooleanouiMust 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ètreTypeRequisDescription
uuidstringouiThe direct points transaction UUID to reverse.
confirmbooleanouiMust 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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://piggy.usefulapi.io/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http piggy https://piggy.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : piggy ; URL : https://piggy.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : piggy ; Server URL : https://piggy.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "piggy": {
      "url": "https://piggy.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "piggy": {
      "type": "http",
      "url": "https://piggy.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "piggy": {
      "url": "https://piggy.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "piggy": {
      "httpUrl": "https://piggy.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[Leat MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/piggy)
Méthode et limites des tests

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.