La Carotte — Produits Locaux & Circuits Courts
RemoteAbout La Carotte — Produits Locaux & Circuits Courts
La Carotte MCP Server makes La Carotte's local-food catalog available to AI agents, covering products such as fruit, vegetables, and cheese. It supports real-time stock and delivery-zone checks, along with persistent basket operations.
Key features
- 01Search the local product catalog
- 02Check stock in real time
- 03Verify delivery zones
- 04Retrieve checkout information
- 05Create and manage persistent baskets
Use cases
- 01Find products from local farms
- 02Check stock and delivery coverage before ordering
- 03Add or remove basket items through an agent
MCP support
The MCP server exposes tools for product search, stock, delivery zones, checkout information, and baskets to AI agents, with an SSE connection for MCP.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.la-carotte.fr/mcpclaude mcp add --transport http lacarotte-mcp-public https://mcp.la-carotte.fr/mcp{"mcpServers":{"lacarotte-mcp-public":{"type":"http","url":"https://mcp.la-carotte.fr/mcp"}}}Open in Cursor{"servers":{"lacarotte-mcp-public":{"type":"http","url":"https://mcp.la-carotte.fr/mcp"}}}Open in VS Code{"mcpServers":{"lacarotte-mcp-public":{"type":"http","url":"https://mcp.la-carotte.fr/mcp"}}}{"mcpServers":{"lacarotte-mcp-public":{"serverUrl":"https://mcp.la-carotte.fr/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
11| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | No | Free-form search keyword |
| category | string | No | Product category |
| producer | string | No | Producer name |
| label | string | No | Quality label: bio, AOP, Label Rouge... |
| price_max_eur | number | No | Maximum price in euros |
| sort_by | enum | No | Sort criterionpertinence | prix_asc | prix_desc | distance | fraicheur |
| page | integer | No | Page number |
| per_page | integer | No | Results per page |
| tenant_id | string | No | Territory identifier |
Details
From the project READMELaCarotte MCP Server
Serveur MCP (Model Context Protocol) pour LaCarotte — expose le catalogue de produits locaux en circuits courts aux agents IA.
Démarrage rapide
# Installation
npm install
# Copier la config
cp .env.example .env
# Éditer .env avec vos valeurs
# Développement
npm run dev
# Build
npm run build
# Production
npm start
Architecture
src/
├── server.ts # Point d'entrée — serveur MCP + Express SSE
├── config/ # Configuration centralisée
├── tools/
│ ├── catalog/ # Phase 1 — Recherche, stock, zones
│ ├── cart/ # Phase 2 — Panier persistant
│ ├── checkout/ # Checkout info
│ ├── sharing/ # Phase 2 — Partage multicanal
│ ├── loyalty/ # Phase 3 — Abonnements, alertes, surprise
│ └── analytics/ # Phase 3-4 — Dashboard
├── resources/ # Resource MCP (store-context)
├── middleware/ # Pré-lancement, rate limiting, analytics
├── services/ # Client HTTP LaCarotte, email, SMS
├── db/ # Client MongoDB + collections
├── schemas/ # Schemas Zod
└── types/ # Types TypeScript
Tools MCP disponibles
Phase 1 — Socle catalogue
search_products— Recherche enrichie dans le cataloguecheck_stock— Vérification de stock en temps réelcheck_delivery_zone— Vérification zone de livraisonget_checkout_info— Récapitulatif de panier
Phase 2 — Commerce
create_basket— Création de panier persistantadd_to_basket— Ajout au panierget_basket— Consultation du panierremove_from_basket— Retrait du panier
Endpoints
GET /health— Health checkGET /sse— Connexion SSE MCPPOST /messages— Messages MCP
Environnement
Voir .env.example pour la liste complète des variables.
Tests
npm test
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.