MCP server for Carrefour Drive (carrefour.fr) — 48 tools to search groceries, build a cart, book a Drive slot and read loyalty data from Claude, Cursor or any MCP client
5 tools with clear, action-verb names (carrefour_set_cookies, carrefour_session_status, carrefour_refresh_session, carrefour_clear_session, carrefour_browser_login). Descriptions are present and contextual (avg ~180 chars), explaining WHAT and WHEN. However, input schemas are minimal: most tools accept 0-1 parameters with basic type info. carrefour_set_cookies has a single string param with description; carrefour_session_status has optional boolean; others have empty schemas ({}). No output schemas documented anywhere, LLMs cannot predict return structure. Error handling is present (isError flag, actionable messages like 'No usable cookie found'), but no recovery guidance or categorization (retryable vs fatal). No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels (WRITE, DESTRUCTIVE, READ_ONLY). Session management tools are well-composed (one concern each), but lack pagination/limits (not applicable here) and field naming consistency.
Opens a browser window on the server profile so you can sign in to carrefour.fr. Finish the captcha and the emailed OTP, then close the window: the session — including the IAM SSO cookie that lets the server renew itself — stays in the profile. The login cannot be automated: Cloudflare Turnstile refuses to validate in a driven browser.
Delete the locally stored Carrefour cookies.
Force a renewal of the www.carrefour.fr session from the stored IAM SSO cookie. Rarely needed by hand: authenticated requests already refresh and retry on their own.
Report whether a Carrefour session is stored locally, and optionally verify it against the site.
Store your www.carrefour.fr session cookies so the other tools can act on your account. Accepts a raw cookie header ("a=1; b=2"), a JSON map, or a JSON array export (Playwright / EditThisCookie / DevTools). Get them from DevTools (F12) > Application > Cookies > https://www.carrefour.fr.
No output schemas documented. LLMs cannot predict return structure (text content, isError flag, field names). Responses are unstructured text blobs.
Three tools (carrefour_refresh_session, carrefour_clear_session, carrefour_browser_login) have empty input schemas ({}). While correct for zero-parameter tools, no Zod validation or type hints visible.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite explicit risk levels (READ_ONLY, WRITE, DESTRUCTIVE). LLMs cannot infer safety/retry semantics.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 52 | <=2025-11-25 | v2 |
Error responses lack recovery guidance. 'No usable cookie found' is actionable, but most errors (e.g., 'Browser login failed: <message>') do not suggest next steps or categorize as retryable.
carrefour_set_cookies accepts three input formats (header string, JSON map, JSON array) but schema only declares string type. No enum or format constraint to guide LLM input.