mcpField
L
La Carotte — Produits Locaux & Circuits Courts

La Carotte — Produits Locaux & Circuits Courts

Remote
github.com/juaniyyooBusiness & Marketing0Updated 25w ago
Repository

About 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

  1. 01Search the local product catalog
  2. 02Check stock in real time
  3. 03Verify delivery zones
  4. 04Retrieve checkout information
  5. 05Create and manage persistent baskets

Use cases

  1. 01Find products from local farms
  2. 02Check stock and delivery coverage before ordering
  3. 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.

Endpointhttps://mcp.la-carotte.fr/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

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
ParameterTypeRequiredDescription
querystringNoFree-form search keyword
categorystringNoProduct category
producerstringNoProducer name
labelstringNoQuality label: bio, AOP, Label Rouge...
price_max_eurnumberNoMaximum price in euros
sort_byenumNoSort criterionpertinence | prix_asc | prix_desc | distance | fraicheur
pageintegerNoPage number
per_pageintegerNoResults per page
tenant_idstringNoTerritory identifier

Details

From the project README

LaCarotte 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 catalogue
  • check_stock — Vérification de stock en temps réel
  • check_delivery_zone — Vérification zone de livraison
  • get_checkout_info — Récapitulatif de panier
Phase 2 — Commerce
  • create_basket — Création de panier persistant
  • add_to_basket — Ajout au panier
  • get_basket — Consultation du panier
  • remove_from_basket — Retrait du panier

Endpoints

  • GET /health — Health check
  • GET /sse — Connexion SSE MCP
  • POST /messages — Messages MCP

Environnement

Voir .env.example pour la liste complète des variables.

Tests

npm test

Comments

Markdown supported

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.