mcp-leclerc-drive
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LECLERC_HOST | No | A Leclerc Drive host to start with, instead of set_store. | |
| LECLERC_STORE_ID | No | A drive to start with, instead of set_store. | |
| LECLERC_CHROME_PATH | No | The Chrome to start, if yours is elsewhere (default: Chrome's usual place). | |
| LECLERC_CHROME_PORT | No | Chrome's local debug port. | 9333 |
| LECLERC_CHROME_PROFILE_DIR | No | The server's own Chrome profile, where your Leclerc login is kept. Never your main profile. | ~/.mcp-leclerc-drive/chrome |
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 sélectionné. Retourne libellé, prix, prix au kilo/litre, disponibilité et l'id à utiliser pour add_to_cart. |
| add_to_cartA | Ajoute |
| add_manyA | Ajoute plusieurs produits au panier, l'un après l'autre (30 au plus), chacun en plus de ce qui est déjà au panier. Un échec n'arrête pas les suivants (sauf un blocage de Leclerc Drive). Retourne le résultat de chaque ajout et le panier final. |
| remove_from_cartA | Retire complètement un produit du panier. |
| update_quantityA | Fixe la quantité exacte d'un produit dans le panier (0 le retire). |
| 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) et distance. |
| set_storeA | Sélectionne le magasin actif (et le mémorise pour les prochaines sessions). Utilise l'id renvoyé par find_stores. Les courses ne fonctionnent que sur le drive où la fenêtre Chrome du serveur est connectée. |
| get_storeA | Affiche le magasin actuellement sélectionné (id, hôte). |
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 9 tools
Most tools target clearly distinct actions: search_product vs find_stores, and get_cart vs get_store are unambiguous. The main overlap is remove_from_cart vs update_quantity(0), which both remove an item, though descriptions clarify that update_quantity sets an exact quantity (0 removing). add_to_cart vs add_many are well differentiated as single vs bulk add.
All tools use snake_case verb_noun form (search_product, add_to_cart, remove_from_cart, update_quantity, get_cart, find_stores, set_store, get_store) with a predictable get/set/find pattern for stores. 'add_many' is a minor deviation since it lacks an explicit noun, but the convention is otherwise consistent.
Nine tools is well-scoped: three for store selection (find/set/get), one for catalog search, and five for cart management. Every tool earns its place with no filler.
The cart lifecycle (add, bulk add, remove, update, view) and store selection are fully covered, but there is no checkout/order-placement operation and no category browsing or product-detail tool. An agent can shop but cannot complete the purchase, which is a notable gap for a grocery-drive workflow.