✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Rami Levy MCP Server

MCP Server for the Rami Levy Online Grocery Store API. This is a proof of concept implementation that demonstrates how to integrate Rami Levy’s e-commerce platform with MCP-enabled LLMs.

Tools

  1. search_items

    • Search for products in Rami Levy’s catalog
    • Inputs:
      • q (string): Search query
      • store (string, optional): Store identifier (default: “331”)
      • aggs (number, optional): Aggregation flag (default: 1)
    • Returns: Array of products with name, price, image URL, and ID
  2. add_to_cart

    • Add one or more items to the shopping cart
    • Inputs:
      • store (string): Store identifier (e.g., “331”)
      • items (array): List of items to add, each containing:
        • id (number): Product identifier
        • quantity (number): Quantity to add (minimum: 1)
    • Returns: Updated cart contents with prices and discounts
  3. remove_from_cart

    • Remove items from the cart by providing an updated list of items to keep
    • Inputs:
      • store (string): Store identifier
      • items (array): Updated list of items to keep in cart
    • Returns: Updated cart contents
  4. update_quantity

    • Update the quantity of an item in the cart
    • Inputs:
      • store (string): Store identifier
      • id (number): Product identifier
      • newQuantity (number): New quantity for the product (minimum: 1)
    • Returns: Updated cart contents

Resources

  1. rami-levy://checkout
    • Get the URL for the Rami Levy checkout page
    • Returns: Checkout page URL

Setup

Authentication

This MCP server requires authentication tokens from an active Rami Levy session. To obtain these:

  1. Log in to Rami Levy’s website
  2. Open your browser’s developer tools (F12)
  3. Go to the Network tab
  4. Make any request (e.g., search for a product)
  5. From the request headers, extract:
    • RAMI_LEVY_API_KEY: The token after “Bearer” in the Authorization header
    • ECOM_TOKEN: The full ecomtoken header value
    • COOKIE: The complete cookie header value

Environment Variables

Create a .env file with the following variables:

RAMI_LEVY_API_KEY=your_api_key_here
ECOM_TOKEN=your_ecom_token_here
COOKIE=your_cookie_string_here

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "rami-levy": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rami-levy"
      ],
      "env": {
        "RAMI_LEVY_API_KEY": "<YOUR_API_KEY>",
        "ECOM_TOKEN": "<YOUR_ECOM_TOKEN>",
        "COOKIE": "<YOUR_COOKIE>"
      }
    }
  }
}

Development

  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start the server:
npm start

Security Considerations

⚠️ Important: This is a proof of concept implementation. Please note:

  1. The authentication tokens provide full access to your Rami Levy account
  2. Tokens should be kept secure and never committed to version control
  3. Tokens expire periodically and will need to be refreshed
  4. This implementation is not intended for production use without proper security review

Limitations

  1. Session tokens expire and need to be manually refreshed
  2. Some features of the Rami Levy API are not implemented (e.g., user profile, order history)
  3. Error handling for expired sessions could be improved
  4. No rate limiting implementation

Contributing

Issues and pull requests are welcome! Please ensure you don’t commit any sensitive information like authentication tokens.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Disclaimer

This is an unofficial project and is not affiliated with or endorsed by Rami Levy Chain Stores Ltd. All product names, logos, and brands are property of their respective owners.

Rami Levy MCP Server

Project Details

Recomended MCP Servers

🧩
Perplexity MCP Server
🧩
MCP Server For Local

大家好!我是功能丰富的 MCP 服务,旨在打破设备与服务的隔阂,为用户带来便捷体验。 天气工具和气象平台联动,快速为用户推送全球实时天气,助力大家规划出行。控制浏览器工具模拟人工操作,自动搜索、浏览网页,大幅节省时间。摄像头工具调用本地摄像头拍照、录像,实现人脸识别,保障家庭安防。 为实现工具协同,我搭建了稳定框架,开发者可以基于现有服务进行拓展

🧩
Room MCP

Allow MCP clients like claude-desktop to use rooms to coordinate with other agents

🧩
DataWorks MCP Server

A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks...

🧩
A VMware ESXi/vCenter management server

A VMware ESXi/vCenter management server based on MCP (Model Control Protocol), providing simple REST API interfaces for virtual...

🧩
MCP HTTP with SSE transport Tools

Dify 1.0 Plugin MCP HTTP with SSE or Streamable HTTP transport Tools

🧩
Obsidian MCP Tool Server
🧩
Beyond MCP Server

An Extensible Model Context Protocol (MCP) server

🧩
Solana Model Context Protocol (MCP) Demo

Solana Model Context Protocol (MCP) Demo

🧩
Bankless Onchain MCP Server

Bringing the bankless onchain API to MCP

🧩
Model Control Protocol Server (MCP)

CLI to set up and deploy MCP Servers to Cloudflare Workers in seconds. Just write TypeScript functions to...

🧩
claude-debugs-for-you

Enable any LLM (e.g. Claude) to interactively debug any language for you via MCP and a VS Code...

Featured Templates

View More

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.