Skip to main content
Glama
eneidyscastellano

smart-retail-mcp

🤖 Smart Retail MCP Server

Tool server based on Model Context Protocol (MCP) that provides predictive inventory analysis capabilities to AI agents.

Available Tools

Tool

Description

get_current_stock

Gets the current inventory of all products along with supplier delivery times

get_sales_velocity

Calculates the average daily sales velocity per product over the last N days

create_ai_recommendation

Creates restocking alerts when stock will run out before the next delivery

Related MCP server: Inventory Management AI MCP

Architecture

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

Configuration

Environment variables (.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

Dependencies

  • @modelcontextprotocol/sdk — Official MCP SDK

  • pg — PostgreSQL client

  • dotenv — Environment variables

Communication

The server communicates via stdio (stdin/stdout). The Next.js frontend starts it as a child process using StdioClientTransport from the MCP SDK. It does not expose HTTP ports.

License

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