Back to Home
o-b-one icon

groceries-mcp

Verified Safe

by o-b-one

Overview

Orchestrates grocery shopping using a Large Language Model (LLM) agent by connecting to various grocery vendor APIs via the Model Context Protocol (MCP).

Installation

Run Command
docker-compose up shufersal_mcp

Environment Variables

  • MODEL_ID
  • VENDOR
  • MCP_ENDPOINT
  • INFERENCE_ENDPOINT
  • VENDOR_API_KEY
  • VENDOR_ACCOUNT_ID
  • CART_ID
  • USERNAME
  • PASSWORD
  • USER_DATA_PATH
  • DEBUG

Security Notes

The Shufersal provider uses Playwright's `page.evaluate` to execute JavaScript for cart operations. While the scripts themselves are hardcoded in the Python service (not LLM-generated), which mitigates direct LLM-based injection, executing code in a browser context always carries some risk. Authentication details (USERNAME, PASSWORD, API keys) are correctly handled via environment variables. Browser session state is persisted to disk (`auth_state.json` in `USER_DATA_PATH`), which is a standard Playwright feature but requires securing the host system's file access.

Similar Servers

Stats

Interest Score33
Security Score7
Cost ClassHigh
Avg Tokens50000
Stars3
Forks1
Last Update2025-12-10

Tags

LLM AgentGroceriesE-commerceMCPPlaywrightAutomation