Skip to main content
Glama
eneidyscastellano

smart-retail-mcp

🤖 Smart Retail MCP Server

Model Context Protocol (MCP) 기반의 도구 서버로, AI 에이전트에게 재고 예측 분석 기능을 제공합니다.

사용 가능한 도구

도구

설명

get_current_stock

모든 제품의 현재 재고와 공급업체 배송 시간을 가져옵니다.

get_sales_velocity

최근 N일 동안 제품별 일일 평균 판매 속도를 계산합니다.

create_ai_recommendation

재고가 다음 배송 전에 소진될 때 재입고 알림을 생성합니다.

Related MCP server: Inventory Management AI MCP

아키텍처

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

구성

환경 변수 (.env)

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

스크립트

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

의존성

  • @modelcontextprotocol/sdk — MCP 공식 SDK

  • pg — PostgreSQL 클라이언트

  • dotenv — 환경 변수

통신

서버는 stdio(stdin/stdout)를 통해 통신합니다. Next.js 프론트엔드는 MCP SDK의 StdioClientTransport를 사용하여 이를 자식 프로세스로 실행합니다. HTTP 포트를 노출하지 않습니다.

라이선스

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