Repository navigation
Releases
v0.5.0: security hardening, QA fixes, link attribution, report_issue
Security hardening of the account and checkout path, plus a QA pass over the whole server (about 60 fixes, #56–#80).
Behaviour changes
- Confirmation tokens are single-use, bound to the action and payload, and expire. A failed attempt spends the token.
- Links from the catalog tools carry
utm_source=alza-mcp-community&utm_medium=mcp, at Alza's request. - Read-only tools no longer run GET-based changes, and a token for one tool no longer authorises other routes.
- Token refresh is shared between parallel requests, and refreshed tokens are saved back to the token file.
New
report_issue: drafts a redacted GitHub issue withghcommands.ALZA_PROXY_URL(Chromium and the sidecar) andalza-mcp --setup-cffor the Chrome-fingerprint venv.--helpand--version, andpc_build_suggestbacktracking.
Full details: CHANGELOG.md.
v0.4.0: comparison, deals, lockers, PC builder, HTTP transport
Thanks to @jankryh for the OAuth fix.
New catalog tools
compare_products: 2–6 products side by side in one spec table. An optional summary uses MCP sampling.recommend_alternatives: cheaper, better-rated or same-brand alternatives.get_deals: discounted products, with the discount worked out from the prices shown (CZ only).autocomplete: Alza's search suggestions.get_product_reviewsnow returns individual reviews.find_pickup_pointsnow includes AlzaBox lockers, no cart needed.- Range filters in
search_productsfor screen size, refresh rate, brightness, weight and similar.
New toolsets (off by default)
pc_builder:pc_build_checkandpc_build_suggestcheck parts compatibility using live Alza prices and stock.watchdogs: Alza's own price and stock watchdog. Writes need a confirmation token.
Install and transport
- Streamable HTTP:
alza-mcp --http. Each session is separate, and account tools are locked unless opted in. - One-click install links for Cursor and VS Code, and a Claude Desktop
.mcpbbundle attached to this release. - The MCP Registry listing
io.github.lukabudik/alza-mcpis published from the release workflow.
Fixes
- OAuth sign-in works from the npm package. The Chrome-fingerprint sidecar now ships and is set up in postinstall.
auth_exchangeaccepts the pastedalza://redirect URL, and the docs explain the misleading desktop sign-in error.prepare_mutationacceptscancel_order.- A blank
ALZA_BASE_URLno longer stops the server from starting.
Full details are in CHANGELOG.md.
v0.3.1: community setup, live canary
Maintenance release. No runtime changes.
- Thanks, Samuel! The README now has a Contributors section crediting @samuelseidel, the first outside contributor and now co-maintainer, for the account/checkout/order stack, toolsets, output schemas and the live test harness.
- Roadmap as issues. Planned work is tracked in #8–#23. Several are tagged
good first issue. Feature-request and PR templates were added too. - Daily live canary.
validate:apiruns 9 read-only checks against alza.cz and opens acanaryissue when Alza changes its site. GitHub-hosted runners are blocked by Cloudflare, so for real results setCANARY_RUNS_ONto a self-hosted runner. - Docs. Removed the stale npm version note and tidied the changelog.
v0.3.0: account, cart & checkout tools, toolsets
The first release with outside contributions. Huge thanks to @samuelseidel, who built nearly all of it and is now a co-maintainer.
Highlights
- Toolsets. 54 tools grouped into 8 toolsets. Only
catalogandauthare on by default; enable the rest withlist_toolsets/set_toolset. - Account, cart, checkout, orders and payments. Real-account actions. High-impact mutations require a one-time token from
prepare_mutation. Read the Disclaimer andSECURITY.mdbefore enabling these. - Catalog. Brand and attribute filtering via
list_category_filters, client-side price/rating sort, real pagination, CTA-basedin_stock, and spec extraction from JSON-LD. - Typed output schemas on every tool.
Fixed
npx -y alza-mcpworks again. The 0.1.2 and 0.2.0 packages crashed during install becausescripts/postinstall.cjswasn't included in the package.
Full details are in CHANGELOG.md.
v0.2.0 — category filters, real sorting & pagination
Catalog improvements ported from #1 by @samuelseidel. Thank you!
Added
list_category_filters— a category's brands and attribute facets with real ids and product counts.- Brand and attribute filtering in
search_products(producer_ids,filters, requirescategory_id). Uses Alza's own filtered category pages. Alza only honours URL filters for some facets; when it drops one, the tool now returns an error instead of unfiltered results. min_screen_inches/max_screen_inches— name-based screen-size filter for displays.candidatesScannedin search results.
Fixed
- Sorting. Alza's search page ignores server-side sort, so
price-asc/price-desc/ratingnow sweep up to 3 pages and sort client-side. - Pagination.
search.htm?pg=Nis ignored by Alza; pages now follow the rendered page links (or build-pNURLs for filtered category pages, whose own links drop the filter). in_stocknow actually filters, based on the card's purchase button.get_productspecs. Merges the JSON-LDadditionalPropertylist, so products whose page has no DOM spec table now return params.list_categories(parent_id)returned the top-level list for every parent. It now returns the real subcategories.- Invalid tool arguments return a readable message.
v0.1.2 — published to npm 🎉
alza-mcp is now live on npm. The README install command actually works:
```bash
claude mcp add alza --scope user -- npx -y alza-mcp
```
📦 npm: https://www.npmjs.com/package/alza-mcp
Changes since v0.1.1
Added
- 🎉 Published to npm as
alza-mcp. The one-line install now works for everyone.
Changed
- Tool descriptions now honestly reflect known v0.1 partial-failures:
get_product_reviewsflags aggregate-only (individual review bodies are loaded dynamically by Alza and will land in v0.2).get_productnotes that theparamsspec table is often empty in v0.1 (full spec extraction planned for v0.2).
Removed
- Dead
fetchAllAlzaboxes()HTTP code inpickup.ts(api.alzabox.czno longer resolves). AlzaBox discovery returns in v0.2 via DOM scrape of the public locker map.
Full Changelog
v0.1.1...v0.1.2 — v0.1.1...v0.1.2
v0.1.1 — fix memory leak + idle shutdown
Bug fix release
If you ran v0.1.0 for a while, you may have noticed your machine slowing down — the headless Chromium it spawns was leaking memory and never auto-closing. Real numbers from a typical testing session: 9 chromium processes holding ~4 GB of RAM, with one renderer pooled to ~1.9 GB.
What was wrong
- Pages were pooled (kept alive for 60 s) to skip page-creation cost. Each pooled page accumulated DOM and JS heap across navigations — classic long-lived-tab leak.
- The browser process tree never shut down. Once launched, it ran until the MCP server itself exited.
Fix
- Pages are no longer pooled. Each tool call opens a fresh page and closes it after.
- Browser auto-closes after 3 minutes of no tool calls (configurable via
ALZA_IDLE_TTL_MS).
Measured
| State | Chromium procs | RAM |
|---|---|---|
| Baseline | 0 | 0 MB |
| After 3 sequential searches | 3 | ~215 MB |
| After 3 minutes idle | 0 ✅ | 0 MB |
Upgrade
If you installed via claude mcp add alza --scope user -- npx -y alza-mcp (post-npm publish), it'll pick up the new version on next npx -y resolution. If you installed via local source path, run git pull && npm run build and reconnect.
New env var
ALZA_IDLE_TTL_MS— milliseconds of inactivity before the browser is shut down. Default 180000 (3 min).
v0.1.0 — initial public release
First release of alza-mcp — an unofficial Model Context Protocol server for Alza.cz.
Install (Claude Code)
claude mcp add alza --scope user -- npx -y alza-mcpWhat's in v0.1
Five read-only tools, no credentials required:
search_products— keyword search with filters (price, sort, category, in-stock)get_product— full detail for a product (price, availability, brand, image, URL)get_product_reviews— aggregate rating + review countfind_pickup_points— nearest brick-and-mortar AlzaShop showrooms by postal codelist_categories— top-level Alza category tree
Plus a alza://product/{code} MCP resource and a /find-product MCP prompt template.
How it works
alza-mcp drives a real headless Chromium via Playwright. Alza runs Cloudflare Bot Management in challenge mode on its catalog, so plain HTTP scrapers get 403'd — a real browser is what works without paid proxies. First call downloads the Chromium headless-shell (~92 MB). Subsequent calls take a few seconds each.
For the architecture rationale, see ARCHITECTURE.md. For what's planned next, see ROADMAP.md.
Disclaimer
Unofficial. Not affiliated with, endorsed by, or sponsored by Alza.cz a.s. Personal/research use only.