migros-mcp 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -110,6 +110,14 @@ npx migros-mcp # anonymous
|
|
|
110
110
|
MIGROS_EMAIL=... MIGROS_PASSWORD=... MIGROS_TOTP_SECRET=... npx migros-mcp # authenticated
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
+
## Updating
|
|
114
|
+
|
|
115
|
+
The recommended install commands above use `npx -y migros-mcp` without pinning a version, so you auto-receive new releases. `npx` caches the package for ~7 days, so updates land on next launch within that window. To force-refresh sooner: `npm cache clean --force` and restart the host.
|
|
116
|
+
|
|
117
|
+
If you've installed via the **drag-installed `.mcpb`** instead, Claude Desktop pins you to that specific version. Download the latest `.mcpb` from [Releases](https://github.com/lewpgs/migros-mcp/releases) and re-install to update. Your credentials in the OS keychain are preserved across re-installs.
|
|
118
|
+
|
|
119
|
+
If you've **explicitly pinned** a version in your config (e.g. `migros-mcp@0.3.0`), update by editing the version number or removing the pin entirely.
|
|
120
|
+
|
|
113
121
|
## Available tools
|
|
114
122
|
|
|
115
123
|
### Anonymous (no credentials needed)
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { getProfile, getBasket, addToBasket, updateBasketQuantity, removeFromBas
|
|
|
8
8
|
// ---------------------------------------------------------------------------
|
|
9
9
|
// Server + tool registrations
|
|
10
10
|
// ---------------------------------------------------------------------------
|
|
11
|
-
const server = new McpServer({ name: "migros-mcp", version: "0.3.
|
|
11
|
+
const server = new McpServer({ name: "migros-mcp", version: "0.3.1" });
|
|
12
12
|
// --- Anonymous: search & browse ---
|
|
13
13
|
register(server, "search_products", "Search Migros products by name or keyword. Returns product IDs that can be used with get_product_details.", SearchProductsSchema.shape, ({ query, language }) => searchProducts(query, language ?? "de"));
|
|
14
14
|
register(server, "get_product_details", "Get full product details including nutrition facts, ingredients, allergens, price, and ratings. Use search_products first to get product IDs.", GetProductDetailsSchema.shape, ({ productIds }) => getProductDetails(productIds));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "migros-mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "MCP server for Migros Switzerland: search products, get nutrition info, find stores, and (with credentials) manage your basket and order history",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|