[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111344":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":13,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":39,"updatedAt":40,"readmeContent":41,"aiSummary":42,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":43,"discoverSource":44},111344,"continente-mcp","andredelgado\u002Fcontinente-mcp","andredelgado","Unofficial MCP server for Continente.pt: search products and promotions, compare prices per kg or litre, choose with photos, read favorites and orders, and fill your cart from Claude and other AI assistants.","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fcontinentept-mcp",null,"TypeScript",61,9,51,1,0,2,6,50.9,"MIT License",false,"main",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"ai-agents","claude","claude-desktop","continente","groceries","mcp","mcp-apps","mcp-server","mcpb","model-context-protocol","playwright","portugal","shopping","supermarket","typescript","2026-11-23 16:27:22","2026-11-22 22:20:36","# Continente MCP\n\n[![CI](https:\u002F\u002Fgithub.com\u002Fandredelgado\u002Fcontinente-mcp\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fandredelgado\u002Fcontinente-mcp\u002Factions\u002Fworkflows\u002Fci.yml)\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fcontinentept-mcp)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fcontinentept-mcp)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)](LICENSE)\n\nAn [MCP](https:\u002F\u002Fmodelcontextprotocol.io) server that lets AI assistants shop at\n[Continente.pt](https:\u002F\u002Fwww.continente.pt): search products, check prices and sale rules,\nread your favorites and past orders, and fill your cart. Checkout and payment always stay\non the website.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fpicker-demo.gif\" width=\"600\"\n    alt=\"The assistant shows milk, banana and Greek yoghurt options with photos and prices; the user switches two choices and confirms\">\n\u003C\u002Fp>\n\n> **Unofficial.** This project is not affiliated with, endorsed by or supported by\n> Continente or MC Sonae. It automates the public website with a headless browser, may break\n> when the site changes, and should be used in line with the website's terms. You are\n> responsible for anything placed in your cart.\n\n## Try it without an account\n\nSearch, prices and product details need no Continente account. With Node.js 22 or newer, add\nthe server to your MCP client with no credentials at all. In Claude Code:\n\n```sh\nclaude mcp add continente -- npx -y continentept-mcp\n```\n\nOther clients use the JSON under [Manual setup](#manual-setup-any-mcp-client), step 2. Then ask:\n\n> Compare three laundry detergents by price per wash, without changing the cart.\n\nFavorites, orders, coupons and the cart need your account; add it when you want them. The\nClaude Desktop extension works this way too: leave the email and password empty when you\ninstall it, and add them later in the extension's settings.\n\n## Features\n\n- **Catalogue search and product details**, with exact prices, unit prices, promotions,\n  availability and sale rules for weighted and bulk products.\n- **Choose with photos.** When there is more than one good match, the assistant shows the\n  options side by side and you pick, in clients that support MCP Apps.\n- **Labels**: ingredients, allergens and nutrition as the label declares them.\n- **Safe cart changes.** Preview a list before applying it, with the minimum order and\n  delivery shown. Every change is confirmed by reading the cart back, and one that cannot be\n  confirmed is never retried.\n- **Your account**: favorites, order history, the products you buy most, and your Cartão\n  Continente coupons.\n- **No checkout.** The browser the server drives blocks payment, order submission and slot\n  booking, so those always happen on the website, by you.\n- **Runs locally** over stdio. Your credentials and session are stored on your computer and\n  sent only to Continente.pt.\n- **Built-in guidance.** The server tells the assistant the cart rules as soon as it\n  connects, and offers a [`basket-planner`](docs\u002Ftools.md#instructions-and-prompt) prompt and\n  skill with the full shopping workflow.\n\n## Requirements\n\n- A Continente.pt account for account features (search and product details work without one)\n- Claude Desktop on macOS or Windows for the one-click install, or Node.js 22 or newer for\n  any other MCP client\n\nThe server drives the website with Chromium, which it downloads automatically the first time\nit needs it (about 150 MB, once).\n\n## What it can access\n\nWhen you install the extension, Claude Desktop warns that it will have access to everything on\nyour computer. That warning appears for every extension installed from a file: an extension\nruns as an ordinary program with your user's permissions, and Claude cannot check what each one\ndoes. Here is what this one does:\n\n- **Files:** it reads and writes its own folder, `~\u002F.continentept-mcp` (the website session,\n  your favorites list and the date of the last update check), a credentials file if you set\n  one up, and the Chromium it downloads, which lives in Playwright's cache folder. It does not\n  read your documents, photos or other files.\n- **Network:** it talks to continente.pt, and to npm once a day to see whether a new release is\n  out. The first time it needs a browser it downloads Chromium from Playwright's servers.\n- **Browser:** it only opens continente.pt pages. Those pages load their usual images and\n  scripts, as they would in your own browser. Payment, order submission and delivery-slot\n  booking are blocked.\n- **Credentials:** your email and password are sent only to continente.pt to sign in. With the\n  extension, Claude Desktop keeps them in its secure settings storage.\n\nYou don't have to take this on trust: the code is all [here](src), and every npm release is\npublished by GitHub Actions with [provenance](https:\u002F\u002Fdocs.npmjs.com\u002Fgenerating-provenance-statements),\nso you can check it was built from this repository. The extension file is built by the same\nworkflow. [Configuration](docs\u002Fconfiguration.md#stored-data)\nlists every stored file.\n\n## Install in Claude Desktop (one click)\n\n1. Download [**continente-mcp.mcpb**](https:\u002F\u002Fgithub.com\u002Fandredelgado\u002Fcontinente-mcp\u002Freleases\u002Flatest\u002Fdownload\u002Fcontinente-mcp.mcpb)\n   from the latest release.\n2. Open it. Claude Desktop shows an install dialog; click **Install**.\n3. Enter your Continente email and password when asked, or leave them empty to try search\n   first and add them later in the extension's settings. Claude Desktop keeps the password in\n   its secure settings storage.\n\nIf opening the file does nothing, install it from inside Claude Desktop: go to **Settings >\nDesktop app** and select **Manage** next to **Extensions** (**Settings > Extensions** in the\nolder layout), click **Advanced settings**, then **Install Extension…** and pick the file.\nThese are the steps in\n[Claude's guide to local MCP servers](https:\u002F\u002Fsupport.claude.com\u002Fen\u002Farticles\u002F10949351-getting-started-with-local-mcp-servers-on-claude-desktop).\n\nTo update, download the new `continente-mcp.mcpb` and open it; your email and password are\nkept. The assistant tells you when a new release is out\n([how updates work](docs\u002Fconfiguration.md#updates)). To use 1Password instead of storing the\npassword in Claude Desktop, use the manual setup below.\n\n## Manual setup (any MCP client)\n\n**1. Save your credentials** in a private file, `~\u002F.continentept-mcp\u002Fcredentials.env` (see\n[configuration](docs\u002Fconfiguration.md) for other options). Skip this step if you only want\nsearch and product details.\n\nCreate the file first, then type your password in an editor, so it never passes through your\nshell history. On macOS and Linux:\n\n```sh\nmkdir -p ~\u002F.continentept-mcp && chmod 700 ~\u002F.continentept-mcp\ntouch ~\u002F.continentept-mcp\u002Fcredentials.env && chmod 600 ~\u002F.continentept-mcp\u002Fcredentials.env\n${EDITOR:-nano} ~\u002F.continentept-mcp\u002Fcredentials.env\n```\n\nOn Windows, in PowerShell (Notepad offers to create the file):\n\n```powershell\nNew-Item -ItemType Directory -Force \"$env:USERPROFILE\\.continentept-mcp\" | Out-Null\nicacls \"$env:USERPROFILE\\.continentept-mcp\" \u002Finheritance:r \u002Fgrant:r \"${env:USERNAME}:(OI)(CI)F\"\nnotepad \"$env:USERPROFILE\\.continentept-mcp\\credentials.env\"\n```\n\nPut these two lines in it and save:\n\n```sh\nCONTINENTE_EMAIL=you@example.com\nCONTINENTE_PASSWORD=your-password\n```\n\nUsing 1Password? Skip the file and pass secret references through `op run` instead; see\n[Using 1Password](docs\u002Fconfiguration.md#using-1password).\n\nOptionally check that login works:\n\n```sh\nnpx -y continentept-mcp login\n```\n\n**2. Add the server to your MCP client.**\n\nClaude Code:\n\n```sh\nclaude mcp add continente -- npx -y continentept-mcp\n```\n\nClaude Desktop, Cursor and other clients (`claude_desktop_config.json`, `mcp.json`, ...):\n\n```json\n{\n  \"mcpServers\": {\n    \"continente\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"continentept-mcp\"]\n    }\n  }\n}\n```\n\nTo keep the credentials file elsewhere, add\n`\"env\": { \"CONTINENTE_CREDENTIALS_FILE\": \"\u002Fabsolute\u002Fpath\u002Fto\u002Fcredentials.env\" }`.\n\nChromium downloads itself on first use. To fetch it ahead of time, run\n`npx -y continentept-mcp install-browser` (on Linux, add `--with-deps` for the system\nlibraries it needs).\n\n**3. Ask your assistant** something like *\"Add semi-skimmed milk and a dozen eggs to my\nContinente cart\"* or *\"What do I usually buy? Build me a list for this week.\"*\n\nThe server is also listed in the [MCP Registry](https:\u002F\u002Fregistry.modelcontextprotocol.io) as\n`io.github.andredelgado\u002Fcontinente-mcp`.\n\n### Docker (build from source)\n\nThe repository has a `Dockerfile`, but no image is published yet, so you build it yourself.\n[Configuration](docs\u002Fconfiguration.md#docker-build-from-source) has the commands, the `\u002Fdata`\nvolume and how to sign in on a machine without a screen.\n\n## Tools\n\n| Tool | What it does |\n| --- | --- |\n| `search_products` | Search the catalogue in relevance order, with favorites marked and a cursor for more |\n| `get_product` | Price, pack size, availability and sale rules for one product |\n| `get_product_labels` | Ingredients, allergens and nutrition as the label declares them |\n| `choose_products` | Let the user pick between products, with photos where the client supports it |\n| `list_favorites` | Your saved favorites (`refresh: true` fetches the latest) |\n| `get_cart` | Cart lines, quantities, bags and totals |\n| `preview_cart_changes` | What a list of changes would do and cost, without changing the cart |\n| `add_cart_item` | Add an amount on top of what is in the cart |\n| `set_cart_item_quantity` | Make the cart hold exactly a quantity; zero removes |\n| `remove_cart_item` | Remove a line from the cart |\n| `clear_cart` | Empty the whole cart in one confirmed step |\n| `list_coupons` | Your Cartão Continente coupons, and which are selected in the cart |\n| `set_cart_coupons` | Choose which coupons the cart uses, confirmed by reading the cart back |\n| `list_orders` | Recent orders with their product lines |\n| `get_order` | One order's product lines |\n| `list_frequently_bought_products` | Products ranked by how often you order them |\n| `get_session_status` | Local login, cookie and cache state (no network) |\n\nSee the [tool reference](docs\u002Ftools.md) for inputs, outputs, error codes, uncertain cart\nchanges and limits.\n\n## Command line\n\n```text\ncontinentept-mcp                    Start the MCP server on stdio\ncontinentept-mcp login              Sign in and save the session (--show-browser to watch)\ncontinentept-mcp install-browser    Download Chromium now instead of on first use (extra arguments go to Playwright)\ncontinentept-mcp --version\n```\n\n## Limitations\n\n- One account per server process.\n- Searches read at most five result pages and order listings at most ten pages, so very\n  broad queries or long histories are reported as incomplete rather than read in full.\n- When Continente asks you to confirm you are not a robot, you tick the box yourself in a\n  sign-in window the server opens ([details](docs\u002Fconfiguration.md#não-sou-um-robô)). The\n  server never answers that check.\n- There are no checkout, payment, delivery-slot or favorites-editing tools.\n\n## Documentation\n\n- [Tool reference](docs\u002Ftools.md)\n- [Stability](docs\u002Fstability.md): what counts as a breaking change from 1.0\n- [Configuration](docs\u002Fconfiguration.md)\n- [Troubleshooting](docs\u002Ftroubleshooting.md)\n- [Contributing](CONTRIBUTING.md)\n- [Security policy](SECURITY.md)\n- [Changelog](CHANGELOG.md)\n\n## License\n\n[MIT](LICENSE)\n","这是一个为葡萄牙超市Continente.pt提供的非官方MCP（Model Context Protocol）服务端实现，使AI助手（如Claude）能自动化执行商品搜索、比价（按千克\u002F升）、查看促销与营养标签、管理收藏夹及历史订单，并安全填充购物车。项目基于Playwright驱动无头浏览器解析官网数据，所有敏感操作（结账、支付、时段预约）均被拦截，确保用户始终在原网站完成最终确认；支持本地运行，凭证仅存储于本地并直连Continente.pt。适用于希望将AI购物辅助集成到MCP兼容客户端的个人开发者或自动化场景。","2026-11-24 04:40:53","CREATED_QUERY"]