MCP ScannerCustom audit
All servers

lewpgs/migros-mcp

MCP server for Migros Switzerland product data - search products, nutrition info, store locations, and promotions

Packagemigros-mcp
Version0.5.1 in package.json
Publisherlewpgs community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 138Forks 9Last push 2026-11-13
TypeScript 97.2%JavaScript 2.8%by source files the scanner reads
Code safetypartly tracedExposure6.1Prompts10.0Supply chain6.4Secrets10.0Transparency10.0
Analysis confidence97%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure6.1/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain6.4/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 8 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • HIGH1 production dependency has known vulnerabilities (worst: high).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use zod 4.6.6 or later.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 24 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
add_to_basket, get_addresses, get_basket, get_checkout_link, get_cumulus_coupons, get_in_store_receipts and 6 more
12 of 24
Connect to the internet or other hostssend requests or open connections
add_to_basket, get_basket, get_checkout_link, get_cumulus_status, get_shopping_lists, remove_from_basket and 1 more
7 of 24
Read passwords, tokens or keysload secrets such as API keys
add_to_basket, authenticate, get_addresses, get_basket, get_checkout_link, get_cumulus_coupons and 7 more
13 of 24
Read environment variablesoften where API keys are kept
add_to_basket, authenticate, get_addresses, get_basket, get_checkout_link, get_cumulus_coupons and 7 more
13 of 24
Touch sensitive locationssuch as ~/.ssh, cloud credentials or browser data
add_to_basket, authenticate, get_addresses, get_basket, get_checkout_link, get_cumulus_coupons and 7 more
13 of 24

No tool was seen to: start other programs on the machine.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • MIGROS_PASSWORD · add_to_basket, get_basket, get_checkout_link +3
  • MIGROS_TOTP_SECRET · add_to_basket, get_basket, get_checkout_link +3

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files12 tools · add_to_basket, get_addresses, get_basket +9

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (24: 24 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

add_to_baskettool Add a product to the user's basket (or set its quantity if already present). The underlying API is upsert-to-target, not increment. Returns the updated basket. FilesNetworkCredentialsEnv varsSensitive pathsoutside text
Add a product to the user's basket (or set its quantity if already present). The underlying API is upsert-to-target, not increment. Returns the updated basket. Requires authentication.
authenticatetool Log in to Migros with the current six-digit 2FA code from the user's authenticator app (ask the user for it, or read it from a password manager you have access CredentialsEnv varsSensitive paths
Log in to Migros with the current six-digit 2FA code from the user's authenticator app (ask the user for it, or read it from a password manager you have access to). Only needed when an authenticated tool reports fresh_code_required, which happens when no TOTP secret is configured. Omit totpCode to reuse a cached session, or if the account has no 2FA. The code is never stored or returned.
get_addressestool Get the user's saved delivery and billing addresses. Requires authentication.FilesCredentialsEnv varsSensitive pathsoutside text
Get the user's saved delivery and billing addresses. Requires authentication.
get_baskettool Fetch the items currently in the user's shopping basket (Migros calls this a shopping list). Returns product IDs and quantities; use get_product_details to enriFilesNetworkCredentialsEnv varsSensitive pathsoutside text
Fetch the items currently in the user's shopping basket (Migros calls this a shopping list). Returns product IDs and quantities; use get_product_details to enrich. If the user has several lists, use get_shopping_lists and pass shoppingListId. Requires authentication.
get_categoriestool List all Migros product categories
List all Migros product categories
get_checkout_linktool Return the URL the user should open in their browser to complete checkout (review basket, confirm address/slot, pay). Order placement requires payment confirmatFilesNetworkCredentialsEnv varsSensitive pathsoutside text
Return the URL the user should open in their browser to complete checkout (review basket, confirm address/slot, pay). Order placement requires payment confirmation in a real browser, so this tool hands off rather than firing the order automatically. Returns a basket summary alongside the URL. Requires authentication.
get_cumulus_couponstool List active Cumulus coupons targeted at the user (personalized offers based on shopping history). Requires authentication.FilesCredentialsEnv varsSensitive pathsoutside text
List active Cumulus coupons targeted at the user (personalized offers based on shopping history). Requires authentication.
get_cumulus_statustool Get the user's Cumulus loyalty card: points collected this period, Cumulus number, cardholder and memberships (such as Famigros). Requires authentication.Network
Get the user's Cumulus loyalty card: points collected this period, Cumulus number, cardholder and memberships (such as Famigros). Requires authentication.
get_in_store_receiptstool List the user's in-store Migros receipts (Kassenbons) over a date range. Default: last 30 days. Use get_receipt_details with an id for line items. Requires authFilesCredentialsEnv varsSensitive pathsoutside text
List the user's in-store Migros receipts (Kassenbons) over a date range. Default: last 30 days. Use get_receipt_details with an id for line items. Requires authentication.
get_order_detailstool Fetch the full details of a single order by id. Requires authentication.FilesCredentialsEnv varsSensitive pathsoutside text
Fetch the full details of a single order by id. Requires authentication.
get_orderstool List the user's online orders, paginated, filtered by status. Use to find an order id, then call get_order_details. Requires authentication.FilesCredentialsEnv varsSensitive pathsoutside text
List the user's online orders, paginated, filtered by status. Use to find an order id, then call get_order_details. Requires authentication.
get_product_detailstool Get full product details including nutrition facts, ingredients, allergens, price, and ratings. Use search_products first to get product IDs.
Get full product details including nutrition facts, ingredients, allergens, price, and ratings. Use search_products first to get product IDs.
get_profiletool Get the logged-in customer's basic profile (name, email, language, cooperative). Requires authentication.FilesCredentialsEnv varsSensitive pathsoutside text
Get the logged-in customer's basic profile (name, email, language, cooperative). Requires authentication.
get_promotionstool Search current Migros promotions and deals. Optionally filter by search query.
Search current Migros promotions and deals. Optionally filter by search query.
get_receipt_detailstool Get the URL to view a single in-store receipt's line items in the browser. Line items aren't accessible via the API — get_in_store_receipts gives store/date/amo
Get the URL to view a single in-store receipt's line items in the browser. Line items aren't accessible via the API — get_in_store_receipts gives store/date/amount/points which is enough for most queries. Requires authentication.
get_recipe_detailstool Fetch a full Migusto recipe by slug: ingredients with quantities, step-by-step instructions, photos, nutrition. Use search_recipes first to find the slug. (Migu
Fetch a full Migusto recipe by slug: ingredients with quantities, step-by-step instructions, photos, nutrition. Use search_recipes first to find the slug. (Migusto is Migros' recipe site at migusto.migros.ch.)
get_recipe_productstool Fetch the Migros products Migusto suggests for a recipe, with name, price and the product UID that add_to_basket takes. Bridges recipes to shopping. Use the rec
Fetch the Migros products Migusto suggests for a recipe, with name, price and the product UID that add_to_basket takes. Bridges recipes to shopping. Use the recipe ID from search_recipes (NOT the slug). Ingredients without a suggested product: use search_products.
get_shopping_liststool List the user's Migros shopping lists (id and name). Call this when the user mentions a specific list or has several: pass the chosen shoppingListId to the baskFilesNetworkCredentialsEnv varsSensitive pathsoutside text
List the user's Migros shopping lists (id and name). Call this when the user mentions a specific list or has several: pass the chosen shoppingListId to the basket tools. Requires authentication.
get_stocktool Check product stock at a specific Migros store. Use search_products and search_stores first to get the IDs. Stock is approximate and updated once a day.
Check product stock at a specific Migros store. Use search_products and search_stores first to get the IDs. Stock is approximate and updated once a day.
remove_from_baskettool Remove a product from the user's basket. Returns the updated basket. Requires authentication.FilesNetworkCredentialsEnv varsSensitive pathsoutside text
Remove a product from the user's basket. Returns the updated basket. Requires authentication.
search_productstool Search Migros products by name or keyword, including products sold only in the Migros Online shop (such as 'Partner' products). Returns product IDs that can be
Search Migros products by name or keyword, including products sold only in the Migros Online shop (such as 'Partner' products). Returns product IDs that can be used with get_product_details and add_to_basket.
search_recipestool Search Migusto (Migros' recipe site) by free-text query and/or ingredients. Returns recipe id, slug, title, cooking time, rating. Use get_recipe_details for ful
Search Migusto (Migros' recipe site) by free-text query and/or ingredients. Returns recipe id, slug, title, cooking time, rating. Use get_recipe_details for full info or get_recipe_products to get Migros product UIDs to add to the basket.
search_storestool Find Migros stores by location (city name, zip code, etc.). Returns store details including address and opening hours.
Find Migros stores by location (city name, zip code, etc.). Returns store details including address and opening hours.
update_basket_quantitytool Set an item's exact quantity in the basket. quantity=0 removes the item. Returns the updated basket. Requires authentication.FilesNetworkCredentialsEnv varsSensitive pathsoutside text
Set an item's exact quantity in the basket. quantity=0 removes the item. Returns the updated basket. Requires authentication.

Text the model reads (24)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

search_products tool
Search Migros products by name or keyword, including products sold only in the Migros Online shop (such as 'Partner' products). Returns product IDs that can be used with get_product_details and add_to_basket.
get_product_details tool
Get full product details including nutrition facts, ingredients, allergens, price, and ratings. Use search_products first to get product IDs.
get_stock tool
Check product stock at a specific Migros store. Use search_products and search_stores first to get the IDs. Stock is approximate and updated once a day.
get_categories tool
List all Migros product categories
search_stores tool
Find Migros stores by location (city name, zip code, etc.). Returns store details including address and opening hours.
get_promotions tool
Search current Migros promotions and deals. Optionally filter by search query.
search_recipes tool
Search Migusto (Migros' recipe site) by free-text query and/or ingredients. Returns recipe id, slug, title, cooking time, rating. Use get_recipe_details for full info or get_recipe_products to get Migros product UIDs to add to the basket.
get_recipe_details tool
Fetch a full Migusto recipe by slug: ingredients with quantities, step-by-step instructions, photos, nutrition. Use search_recipes first to find the slug. (Migusto is Migros' recipe site at migusto.migros.ch.)
get_recipe_products tool
Fetch the Migros products Migusto suggests for a recipe, with name, price and the product UID that add_to_basket takes. Bridges recipes to shopping. Use the recipe ID from search_recipes (NOT the slug). Ingredients without a suggested product: use search_products.
authenticate tool
Log in to Migros with the current six-digit 2FA code from the user's authenticator app (ask the user for it, or read it from a password manager you have access to). Only needed when an authenticated tool reports fresh_code_required, which happens when no TOTP secret is configured. Omit totpCode to reuse a cached session, or if the account has no 2FA. The code is never stored or returned.
get_profile tool
Get the logged-in customer's basic profile (name, email, language, cooperative). Requires authentication.
get_addresses tool
Get the user's saved delivery and billing addresses. Requires authentication.
get_shopping_lists tool
List the user's Migros shopping lists (id and name). Call this when the user mentions a specific list or has several: pass the chosen shoppingListId to the basket tools. Requires authentication.
get_basket tool
Fetch the items currently in the user's shopping basket (Migros calls this a shopping list). Returns product IDs and quantities; use get_product_details to enrich. If the user has several lists, use get_shopping_lists and pass shoppingListId. Requires authentication.
add_to_basket tool
Add a product to the user's basket (or set its quantity if already present). The underlying API is upsert-to-target, not increment. Returns the updated basket. Requires authentication.
update_basket_quantity tool
Set an item's exact quantity in the basket. quantity=0 removes the item. Returns the updated basket. Requires authentication.
remove_from_basket tool
Remove a product from the user's basket. Returns the updated basket. Requires authentication.
get_orders tool
List the user's online orders, paginated, filtered by status. Use to find an order id, then call get_order_details. Requires authentication.
get_order_details tool
Fetch the full details of a single order by id. Requires authentication.
get_checkout_link tool
Return the URL the user should open in their browser to complete checkout (review basket, confirm address/slot, pay). Order placement requires payment confirmation in a real browser, so this tool hands off rather than firing the order automatically. Returns a basket summary alongside the URL. Requires authentication.
get_cumulus_status tool
Get the user's Cumulus loyalty card: points collected this period, Cumulus number, cardholder and memberships (such as Famigros). Requires authentication.
get_in_store_receipts tool
List the user's in-store Migros receipts (Kassenbons) over a date range. Default: last 30 days. Use get_receipt_details with an id for line items. Requires authentication.
get_receipt_details tool
Get the URL to view a single in-store receipt's line items in the browser. Line items aren't accessible via the API — get_in_store_receipts gives store/date/amount/points which is enough for most queries. Requires authentication.
get_cumulus_coupons tool
List active Cumulus coupons targeted at the user (personalized offers based on shopping history). Requires authentication.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure6.1
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 24 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 24 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 24 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 24 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 24 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 24 capabilities; 24 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    12 of 24 capabilities touch files; 12 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    7 of 24 capabilities call the network; 17 more call code the scanner could not follow, where it may happen
Where the code is: 24 handlers in 1 file at commit 5bcbdfce766b
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain6.4
  • Dependency manifests
    1 manifest: package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies HIGH
    1 production package with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    @modelcontextprotocol/sdk ^1.12.1
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    13 of 24 capabilities read credentials; 11 more call code the scanner could not follow, where it may happen
  • Environment variables
    13 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (1 in production)

PackageInstalledWorstAdvisoriesFixed in
zodnpm 3.25.76 HIGH 1 advisory 4.6.6
  • HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/sdk ^1.12.1
Servers in the code1 (migros-mcp)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-13
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
LicenseMIT
Created2026-03-16

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.