continente-mcp

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Warn
  • process.env — Environment variable access in scripts/package-smoke.ts
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Unofficial MCP server for Continente.pt: search products, check sale rules, read favorites and orders, and make verified cart changes from Claude and other AI assistants.

README.md

Continente MCP

CI
npm
License: MIT

An MCP server that lets AI assistants shop at
Continente.pt: search products, check prices and sale rules,
read your favorites and past orders, and fill your cart. Checkout and payment always stay
on the website.

Unofficial. This project is not affiliated with, endorsed by or supported by
Continente or MC Sonae. It automates the public website with a headless browser, may break
when the site changes, and should be used in line with the website's terms. You are
responsible for anything placed in your cart.

Features

  • Catalogue search and product details, with exact prices, unit prices, availability and
    sale rules for weighted and bulk products.
  • Safe cart changes. Every change is confirmed by reading the cart back. If a change
    cannot be confirmed, the result says so and tells the assistant to check the cart instead
    of retrying.
  • Your account: favorites, order history and a ranking of the products you buy most.
  • Runs locally over stdio. Your credentials and session are stored on your computer and
    sent only to Continente.pt.
  • Built-in guidance. The server tells the assistant the cart rules as soon as it
    connects, and offers a basket-planner prompt with the full shopping workflow. Nothing
    extra to install; the same guide also ships as a skill.

Requirements

  • A Continente.pt account for account features (search and product details work without one)
  • Claude Desktop on macOS or Windows for the one-click install, or Node.js 22 or newer for
    any other MCP client

The server drives the website with Chromium, which it downloads automatically the first time
it needs it (about 150 MB, once).

Install in Claude Desktop (one click)

  1. Download continente-mcp.mcpb
    from the latest release.
  2. Open it. Claude Desktop shows an install dialog; click Install.
  3. Enter your Continente email and password when asked. Claude Desktop keeps the password
    in its secure settings storage.

That's it. The server is also listed
in the MCP Registry as
io.github.andredelgado/continente-mcp, so clients that browse the registry can find it. To use 1Password instead
of storing the password in Claude Desktop, use the manual setup below.

Updates

The server checks npm once a day for a newer release. When there is one, it tells the
assistant, so Claude can mention it, and get_session_status shows it.

  • Extension: download the new continente-mcp.mcpb and open it. Claude Desktop updates the
    extension in place and keeps your email and password.
  • npx setups: using continentept-mcp@latest picks up new versions when the client restarts.
  • Release emails: on GitHub, choose
    Watch → Custom → Releases.

Manual setup (any MCP client)

1. Save your credentials in ~/.continentept-mcp/credentials.env (see
configuration for other options):

mkdir -p ~/.continentept-mcp && chmod 700 ~/.continentept-mcp
printf '[email protected]\nCONTINENTE_PASSWORD=your-password\n' > ~/.continentept-mcp/credentials.env
chmod 600 ~/.continentept-mcp/credentials.env

Using 1Password? Skip the file and pass secret references through op run instead; see
Using 1Password.

Optionally check that login works:

npx -y continentept-mcp login

2. Add the server to your MCP client.

Claude Code:

claude mcp add continente -- npx -y continentept-mcp

Claude Desktop, Cursor and other clients (claude_desktop_config.json, mcp.json, ...):

{
  "mcpServers": {
    "continente": {
      "command": "npx",
      "args": ["-y", "continentept-mcp"]
    }
  }
}

To keep the credentials file elsewhere, add
"env": { "CONTINENTE_CREDENTIALS_FILE": "/absolute/path/to/credentials.env" }.

Chromium downloads itself on first use. To fetch it ahead of time, run
npx -y continentept-mcp install-browser (on Linux, add --with-deps for the system
libraries it needs).

Then ask your assistant something like "Add semi-skimmed milk and a dozen eggs to my
Continente cart"
or "What do I usually buy? Build me a list for this week."

Tools

Tool What it does
search_products Search the catalogue; favorites rank first
get_product Price, availability and sale rules for one product
list_favorites Your saved favorites (refresh: true fetches the latest)
get_cart Cart lines, quantities and total
add_cart_item Add an amount on top of what is in the cart
set_cart_item_quantity Make the cart hold exactly a quantity; zero removes
remove_cart_item Remove a line from the cart
list_orders Recent orders with their product lines
get_order One order's product lines
list_frequently_bought_products Products ranked by how often you order them
get_session_status Local login, cookie and cache state (no network)

See the tool reference for inputs, outputs, error codes and limits.

About uncertain cart changes

A cart change can fail after the request has reached the website, for example on a timeout.
In that case the result has mutation.outcome: "unknown" and asks the client to call
get_cart before doing anything else. The server never retries such a change on its own,
and clients should not either: repeating an add_cart_item could add the item twice.

Guidance for the assistant

When a client connects, the server sends short instructions with these cart rules, so the
assistant follows them without any setup. For planning a shopping list, pick the
basket-planner prompt from your client's prompt or attachment menu, optionally with a
request such as "weekly basket for two".

The same guide is available as a skill in
skills/basket-planner. Clients that support skills, such
as Claude Desktop (Settings → Capabilities → Skills) or Claude Code (~/.claude/skills/),
then apply it automatically whenever you ask about groceries.

Command line

continentept-mcp                    Start the MCP server on stdio
continentept-mcp login              Sign in and save the session (--show-browser to watch)
continentept-mcp install-browser    Download Chromium now instead of on first use (extra arguments go to Playwright)
continentept-mcp --version

Limitations

  • One account per server process.
  • Searches read at most five result pages and order listings at most ten pages, so very
    broad queries or long histories are reported as incomplete rather than read in full.
  • Login handles the standard email and password flow. If the website asks for extra
    verification, run continentept-mcp login --show-browser and complete it in the browser
    window.
  • There are no checkout, payment, delivery-slot or favorites-editing tools.

Documentation

License

MIT

Reviews (0)

No results found