mcp-leclerc-drive
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LECLERC_HOST | No | Backend host (default: fd9-courses.leclercdrive.fr). The fdN prefix varies by store. | fd9-courses.leclercdrive.fr |
| LECLERC_COOKIE | No | Optional raw Cookie override; skips Chrome when set. | |
| LECLERC_STORE_ID | No | Store id (default: 053701). | 053701 |
| LECLERC_CHROME_PROFILE | No | Chrome profile directory to read cookies from (default: Default). | Default |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_productA | Recherche des produits dans le catalogue Leclerc Drive du magasin configuré. Retourne label, prix, prix au kilo/litre, Nutri-Score, disponibilité et l'id à utiliser pour add_to_cart. |
| add_to_cartA | Ajoute un produit au panier. Utilise l'id retourné par search_product. |
| remove_from_cartA | Retire complètement un produit du panier. |
| update_quantityA | Modifie la quantité d'un produit déjà présent dans le panier. |
| get_cartA | Affiche le contenu complet du panier avec le total. |
| find_storesA | Recherche les drives E.Leclerc proches d'un code postal ou d'une ville, triés par distance. Retourne pour chacun : nom, identifiant (à passer à set_store), type de service (drive/relais/livraison), distance et magasin. |
| set_storeA | Sélectionne le magasin actif (et le mémorise pour les prochaines sessions). Utilise l'id renvoyé par find_stores. |
| get_storeA | Affiche le magasin actuellement sélectionné (id, host). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool targets a distinct operation: product search, cart mutations (add, remove, update quantity, view), and store selection (find, get, set). No two tools overlap in purpose, and their descriptions make selection unambiguous.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., search_product, add_to_cart, set_store). The verb clearly indicates the action, and the noun indicates the resource, making the API predictable.
With 8 tools, the set is well-scoped for the Leclerc Drive domain. Each tool covers a necessary step in the shopping workflow without redundancy or bloat, fitting the typical 3-15 tool range.
The tool surface covers the full shopping lifecycle: search products, manage cart items (add, remove, update quantity), view cart, and select the store. There are no obvious dead ends—search returns ids for adding, and store selection supports the entire flow.