Skip to main content
Glama
eneidyscastellano

smart-retail-mcp

🤖 Smart Retail MCP Server

Servidor de herramientas basado en Model Context Protocol (MCP) que provee capacidades de análisis predictivo de inventario a agentes de IA.

Herramientas Disponibles

Herramienta

Descripción

get_current_stock

Obtiene el inventario actual de todos los productos junto con los tiempos de entrega del proveedor

get_sales_velocity

Calcula la velocidad promedio de ventas diarias por producto en los últimos N días

create_ai_recommendation

Crea alertas de reabastecimiento cuando el stock se agotará antes de la próxima entrega

Related MCP server: Inventory Management AI MCP

Arquitectura

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

Configuración

Variables de entorno (.env)

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

Scripts

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

Dependencias

  • @modelcontextprotocol/sdk — SDK oficial de MCP

  • pg — Cliente PostgreSQL

  • dotenv — Variables de entorno

Comunicación

El servidor se comunica vía stdio (stdin/stdout). El frontend Next.js lo levanta como proceso hijo usando StdioClientTransport del SDK MCP. No expone puertos HTTP.

Licencia

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