Kroger-mcp

Latest version: v0.3.1

Safety actively analyzes 971914 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.1

Added

- **Nutrition and allergen data exposed in product tools**: `search_products`, `bulk_search_products`, `get_product_details`, and `search_products_by_id` now return the `allergens`, `nutrition` (ingredient statement, serving size, nutrients), and `warnings` fields that the Kroger Products API 1.3.0 provides. Repeated warning lines are de-duplicated.
- **`additional_info` passthrough**: any product fields the formatter does not model (e.g. `snapEligible`, `ratingsAndReviews`, `allergensDescription`, `productPageURI`) are passed through untouched under `additional_info`, so new Kroger API fields are never silently dropped.

Changed

- `search_products_by_id` now uses the same product formatter as the other product tools, so its results include full item, aisle, and image data

0.3.0

Added

- `bulk_search_products` tool: run up to 25 product searches in a single call, with shared formatting logic extracted into a `_format_product` helper (thanks ksletmoe, 20; closes 1)

Fixed

- **Preferred location, cart, and order history now persist reliably** (fixes 15): all local state files are stored in the same per-user data directory as the OAuth tokens (`$KROGER_TOKEN_DIR`, else `$XDG_DATA_HOME/kroger-mcp/` on Unix / `%APPDATA%\kroger-mcp\` on Windows) instead of the current working directory, which is read-only and/or changes between sessions under MCP hosts like Claude Desktop. Legacy files found in the working directory are migrated automatically.
- `Image` import updated for fastmcp >= 2.8.1 compatibility (thanks dahifi, 17)
- Warnings are printed to stderr instead of stdout, which could corrupt the stdio MCP transport

Changed

- **Requires fastmcp 3.x** (tested against 3.4.4) and kroger-api >= 0.3.0
- Added MseeP.ai security assessment badge to the README (thanks lwsinclair, 6)

0.2.0

Added

- **MCP-Compatible Authentication Flow**: Implemented a new authentication flow designed for MCP environments
- New `start_authentication` tool to begin the OAuth flow
- New `complete_authentication` tool to finish the OAuth flow with a redirect URL
- Better error handling and messaging for authentication issues

Changed

- **PKCE Support**: Updated to use the Proof Key for Code Exchange (PKCE) extension for enhanced OAuth security
- **Updated Dependencies**: Now requires kroger-api >= 0.2.0 for PKCE support
- **Improved Error Messaging**: Better error messages for authentication issues

Removed

- **Browser-Based Authentication**: Removed the automatic browser-opening authentication flow, replaced with MCP-compatible flow

Security

- Enhanced OAuth security with PKCE support, mitigating authorization code interception attacks

0.1.0

Added

- Initial release of the Kroger MCP server
- Support for FastMCP tools to interact with the Kroger API
- Location search and management
- Product search and details
- Cart management with local tracking
- Chain and department information
- User profile and authentication

Links

Releases

Has known vulnerabilities

© 2026 Safety CLI Cybersecurity Inc. All Rights Reserved.