Skip to main content
Glama
eneidyscastellano

smart-retail-mcp

🤖 Smart Retail MCP Server

Ein Toolserver, der auf dem Model Context Protocol (MCP) basiert und KI-Agenten prädiktive Bestandsanalyse-Funktionen bereitstellt.

Verfügbare Tools

Tool

Beschreibung

get_current_stock

Ruft den aktuellen Bestand aller Produkte zusammen mit den Lieferzeiten des Lieferanten ab.

get_sales_velocity

Berechnet die durchschnittliche tägliche Verkaufsgeschwindigkeit pro Produkt in den letzten N Tagen.

create_ai_recommendation

Erstellt Wiederauffüllungswarnungen, wenn der Bestand vor der nächsten Lieferung aufgebraucht sein wird.

Related MCP server: Inventory Management AI MCP

Architektur

src/
├── index.ts   → Definición e implementación de herramientas MCP (stdio transport)
├── db.ts      → Pool de conexión a PostgreSQL
└── seed.ts    → Script para insertar datos de prueba

Konfiguration

Umgebungsvariablen (.env)

DATABASE_URL=postgresql://usuario:password@localhost:5432/smart_retail

Skripte

npm start      # Ejecutar el servidor MCP
npm run dev    # Desarrollo con hot-reload (tsx watch)
npm run seed   # Insertar datos de prueba
npm run build  # Compilar TypeScript

Abhängigkeiten

  • @modelcontextprotocol/sdk — Offizielles MCP-SDK

  • pg — PostgreSQL-Client

  • dotenv — Umgebungsvariablen

Kommunikation

Der Server kommuniziert über stdio (stdin/stdout). Das Next.js-Frontend startet ihn als Kindprozess mithilfe von StdioClientTransport aus dem MCP-SDK. Es werden keine HTTP-Ports freigegeben.

Lizenz

ISC

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    An MCP server for supply chain intelligence that enables conversational querying of eight operational KPIs and anomaly detection data through Claude. It allows users to analyze performance metrics like OTIF and inventory turnover while providing LLM-generated root-cause explanations.
    10
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    MCP server for querying inventory items and stock levels via internal API, enabling AI chatbots to look up product codes and current quantities.
    2

View all related MCP servers

Related MCP Connectors

  • MCP server connecting AI agents to non-custodial staking data across 130+ networks.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Cloud-hosted MCP server for durable AI memory

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eneidyscastellano/smart-retail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server