Logo von yerevan-city-mcp

yerevan-city-mcp

Community
tjvjk

Order groceries from yerevan-city.am right from a conversation with your AI assistant

Herausgebertjvjk
Repositoryyerevan-city-mcp
SpracheTypeScript
Forks
1
Sterne
38
Verfügbare Tools
7
Transporttypstdio
Kategorien
Links
  • Tools mit KI-Workflows verbinden

    yerevan-city-mcp stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • Verfügbare Tools: 7

    Unten finden Sie die aufrufbaren Aktionen. Namen und Beschreibungen werden angezeigt, sofern der Server sie bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    Kennzahlen des verlinkten Repositorys: Sterne (38) und Forks (1).

yerevan-city-mcp

Demo

Order groceries from yerevan-city.am right from a conversation with your AI assistant. Just say what you need — the agent finds the products and builds the cart for you.

Set up once (you only need to confirm your phone number by SMS) and it keeps working after that — no need to open the site and search for products by hand.

Safe by design: the agent never pays or places an order — it only builds the cart. Checkout and payment always stay with you, in your own browser or app.

What the agent can do

  • Search products by name
  • Show your saved delivery addresses
  • Add and remove products from the cart
  • Show the cart contents and total price

Installation

The server is published on npm as yerevan-city-mcp and runs via npx — no download or build step needed.

Connect it in your AI assistant's settings.

Claude Code — run in a terminal:

bash
claude mcp add yerevan-city -- npx -y yerevan-city-mcp

Claude Desktop — open the MCP server config file (Settings → Developer → Edit Config) and add:

json
{
  "mcpServers": {
    "yerevan-city": {
      "command": "npx",
      "args": ["-y", "yerevan-city-mcp"]
    }
  }
}

Restart the app after saving.

Codex CLI — run in a terminal:

bash
codex mcp add yerevan-city -- npx -y yerevan-city-mcp

Or add it directly to ~/.codex/config.toml:

toml
[mcp_servers.yerevan-city]
command = "npx"
args = ["-y", "yerevan-city-mcp"]

opencode — add it to opencode.json:

json
{
  "mcp": {
    "yerevan-city": {
      "type": "local",
      "command": ["npx", "-y", "yerevan-city-mcp"],
      "enabled": true
    }
  }
}

Antigravity — open the MCP store from the editor's agent panel, select "Manage MCP Servers" → "View raw config", and add to ~/.gemini/config/mcp_config.json:

json
{
  "mcpServers": {
    "yerevan-city": {
      "command": "npx",
      "args": ["-y", "yerevan-city-mcp"]
    }
  }
}

Done. Tell the assistant something like "order milk and bread" — the first time it touches the cart it will ask you to confirm your phone number by SMS, and it stays logged in after that.

Technical details

Login is a one-time phone + SMS step; the session is then cached locally so it keeps working across restarts.

Tools

  • request_login_code / confirm_login_code — one-time phone + SMS login
  • search_products — free-text product search
  • list_addresses — the account's saved delivery addresses
  • add_to_cart / remove_from_cart — build the cart, by piece count or by weight
  • get_cart — current cart contents and total price

Development

bash
npm install
npm run typecheck
npm test
npm run build
npm start

To point an AI assistant at a local build instead of the published package, use node /full/path/to/dist/index.js as the command in place of npx -y yerevan-city-mcp.

License

Free for personal and other non-commercial use. Commercial use requires a separate paid license — see LICENSE for details, and reach out via GitHub to arrange one.

Disclaimer

This is an educational, unofficial project — an example of connecting an AI agent to a third-party web API. It is provided as-is with no warranty of any kind. It is not affiliated with, endorsed by, or sponsored by Yerevan City / City Supermarket in any way.

TODO

  • How does the flow behave for a phone number with no existing yerevan-city.am account yet?
  • What if the account has no saved address at all (not just none given explicitly)?
  • add Carrefour, Zovk, Sas, 88, Tsiran to find a better price
  • add a --version CLI flag to print the installed package version

Installation

TypingMind
{
  "mcpServers": {
    "yerevan-city-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yerevan-city-mcp"
      ]
    }
  }
}

Verfügbare Tools

  • request_login_code

    Send a login SMS code to a phone number on yerevan-city.am. Call confirm_login_code next with the code the user receives.

  • confirm_login_code

    Complete login with the SMS code received after request_login_code.

  • search_products

    Search the yerevan-city.am product catalogue by free-text query. Requires login.

  • list_addresses

    List the delivery addresses saved on the logged-in user's account. Needed to pick an addressId for add_to_cart.

  • add_to_cart

    Add a product to the yerevan-city.am cart, either by piece count or by weight in grams. Never places an order or pays — only builds the cart for the user to check out themselves. After adding, always check the returned addedItem: yerevan-city.am accepts the add call even for products that are out of stock at the delivery address, and only reports that via isMissing/availableCount/availableWeight on the item that comes back. If isMissing is true, the product was NOT actually added despite the successful call — immediately call remove_from_cart for this productId so it doesn't sit in the cart unusable, then tell the user it's unavailable (mention availableCount/availableWeight if partial stock exists) and, if there's an obvious alternative from search_products, ask whether to add that instead. Do not leave an out-of-stock item in the cart and move on silently. Also report totalPrice and deliveryFee from the response to the user as the current cart total including delivery — don't just sa

  • remove_from_cart

    Remove a product from the yerevan-city.am cart. Also use this to clean up any item that get_cart or add_to_cart reported as isMissing (out of stock) — a missing item never gets delivered, so it should not be left sitting in the cart.

  • get_cart

    Show the current yerevan-city.am cart contents and total price. Does not place an order. Check each item's isMissing field before telling the user their cart is ready — a missing item stays in the cart but cannot actually be delivered (see availableCount/availableWeight for what's actually in stock). If any item has isMissing true, call remove_from_cart for it before reporting the cart as done — don't just mention it and leave it there. Always state totalPrice and deliveryFee together as the full amount the user will pay, including delivery.

yerevan-city-mcp MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald yerevan-city-mcp verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor einrichten“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Einstellungen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor einrichten“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie „Terminal“ (macOS) bzw. „Windows Terminal“ (Windows).
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

yerevan-city-mcp als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server bearbeiten“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server bearbeiten“.
  3. Fügen Sie die MCP-Server-Konfiguration für yerevan-city-mcp ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server bearbeiten“
{
  "mcpServers": {
    "yerevan-city-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yerevan-city-mcp"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von yerevan-city-mcp. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von yerevan-city-mcp.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit yerevan-city-mcp bei dieser Aufgabe helfen?
yerevan-city-mcp
Gerne. Ich habe es gelesen.
Das habe ich mit yerevan-city-mcp gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server yerevan-city-mcp verwendet?

yerevan-city-mcp ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich den MCP-Server yerevan-city-mcp mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie yerevan-city-mcp mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum den MCP-Server yerevan-city-mcp mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald yerevan-city-mcp verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich den MCP-Server yerevan-city-mcp mit TypingMind?

yerevan-city-mcp wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt der MCP-Server yerevan-city-mcp in TypingMind bereit?

Die MCP-Tools von yerevan-city-mcp (Anzahl: 7) können Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen.

Muss ich meine API-Schlüssel mit TypingMind teilen, um den MCP-Server yerevan-city-mcp zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal. Sie wählen Ihre Modellanbieter selbst und behalten die Kontrolle über Ihre API-Schlüssel, Prompts und MCP-Konfiguration. Falls yerevan-city-mcp eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇