CK

cupofowls/kroger-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

85 stars 33 forks 품질 81 트렌드 8MIT

cupofowls/kroger-mcp는 https://github.com/cupofowls/kroger-mcp.]에서 수입된 MCP 서버 후보입니다

개요

cupofowls/kroger-mcp는 https://github.com/cupofowls/kroger-mcp.]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Claude와 같은 AI 조수를 제공하는 FastMCP 서버는 Model Context Protocol (MCP)를 통해 Kroger의 식료품 쇼핑 기능에 액세스 할 수 있습니다. 이 서버는 상점, 검색 제품, 쇼핑 카트 관리 및 kroger-api python 라이브러리를 통해 Kroger의 종합 식료품 데이터에 액세스 할 수 있습니다.

Docs: https://cupofowls.github.io/kroger-api/building-ai-agents/agent-lab] - kroger-mcp와 AI 에이전트를 구축하고, 전체 도구 참조.

COIN 데모

이 MCP 서버와 Claude를 사용하여 상점을 검색하고 제품을 찾아 카트에 항목을 추가하십시오.

https://github.com/user-attachments/assets/69055f5f-04f5-4ec1-96ac-330aa288fbd1

변경 로그

최근 변경 사항은 이쪽입니다.

⭐ 빠른 시작

# 필수품

Kroger API 자격 증명이 필요합니다 (Kroger Developer Portal에서 무료). Kroger Developer Portal을 방문하십시오.

  1. 개발자 계정 만들기
  2. 신청 등록
  3. CLIENT_ID, CLIENT_SECRET], 그리고 REDIRECT_URI를 설정

사용자 인증을 필요로 하는 도구를 실행하는 첫 번째 시간, 웹 브라우저를 통해 앱을 승인할 수 있습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

🛒 Kroger MCP Server 🛍️ – FastMCP for Kroger Shopping

A FastMCP server that provides AI assistants like Claude with access to Kroger’s grocery shopping functionality through the Model Context Protocol (MCP). This server enables AI assistants to find stores, search products, manage shopping carts, and access Kroger’s comprehensive grocery data via the kroger-api python library.

📚 Docs: https://cupofowls.github.io/kroger-api/building-ai-agents/agent-lab — build an AI agent with kroger-mcp, and the full tool reference.

📺 Demo

Using Claude with this MCP server to search for stores, find products, and add items to your cart:

https://github.com/user-attachments/assets/69055f5f-04f5-4ec1-96ac-330aa288fbd1

Changelog

A changelog with recent changes is here.

🚀 Quick Start

Prerequisites

You will need Kroger API credentials (free from Kroger Developer Portal). Visit the Kroger Developer Portal to:

  1. Create a developer account
  2. Register your application
  3. Get your CLIENT_ID, CLIENT_SECRET, and set your REDIRECT_URI

The first time you run a tool requiring user authentication, you’ll be prompted to authorize your app through your web browser. You’re granting permission to your own registered app, not to any third party.

Installation

⚠️ macOS users must use installation Option 2 ⚠️

Once published to PyPI, you can use uvx to run the package directly without cloning the repository:

Edit Claude Desktop’s configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Linux: ~/.config/Claude/claude_desktop_config.json

Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "kroger": {
      "command": "uvx",
      "args": [
        "kroger-mcp"
      ],
      "env": {
        "KROGER_CLIENT_ID": "your_client_id",
        "KROGER_CLIENT_SECRET": "your_client_secret", 
        "KROGER_REDIRECT_URI": "http://localhost:8000/callback",
        "KROGER_USER_ZIP_CODE": "10001"
      }
    }
  }
}

Benefits of this method:

  • Automatically installs the package from PyPI if needed
  • Creates an isolated environment for running the server
  • Makes it easy to stay updated with the latest version
  • Doesn’t require maintaining a local repository clone

Option 2: Using uv with a Local Clone

First, clone locally:

git clone https://github.com/CupOfOwls/kroger-mcp

Then, edit Claude Desktop’s configuration file:

{
  "mcpServers": {
    "kroger": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/cloned/kroger-mcp",
        "run",
        "kroger-mcp"
      ],
      "env": {
GitHub에서 전체 README 보기

설치

uvx kroger-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "kroger": { "command": "uvx", "args": [ "kroger-mcp" ], "env": { "KROGER_CLIENT_ID": "your_client_id", "KROGER_CLIENT_SECRET": "your_client_secret", "KROGER_REDIRECT_URI": "http://localhost:8000/callback", "KROGER_USER_ZIP_CODE": "10001" } } } }