FastMCP_RecSys

by attarmau

Integrations

  • Uses .ENV files for environment variable management in both the backend and frontend components.

  • Offers containerization through Docker for both backend and frontend components, allowing for consistent deployment environments.

  • Uses FastAPI as the backend framework for serving the CLIP-based fashion recommendation system, handling image uploads and providing recommendation endpoints.

Sistema de registro FastMCP

Este es un recomendador de moda basado en CLIP con MCP.

Bosquejo

Un usuario carga una imagen de ropa → YOLO detecta la ropa → CLIP codifica → Recomienda algo similar

Estructura de carpetas

/project-root │ ├── /backend │ ├── Dockerfile │ ├── /app │ │ ├── server.py # FastAPI app code │ │ ├── /routes │ │ │ └── clothing_routes.py │ │ ├── /controllers │ │ │ └── clothing_controller.py │ │ │ └──clothing_tagging.py │ │ │ └── tag_extractor.py # Pending: define core CLIP functionality │ │ ├── schemas/ │ │ │ └── clothing_schemas.py │ │ ├── config/ │ │ │ └── tag_list_en.py $ Tool for mapping: https://jsoncrack.com/editor │ │ │ └── database.py │ │ │ └── settings.py │ │ │ └── api_keys.py │ │ └── requirements.txt │ └── .env │ ├── /fastmcp │ └── app │ └── server.py │ ├── /frontend │ ├── Dockerfile │ ├── package.json │ ├── package-lock.json │ ├── /public │ │ └── index.html │ ├── /src │ │ ├── /components │ │ │ ├── ImageUpload.jsx │ │ │ ├── DetectedTags.jsx │ │ │ └── Recommendations.jsx │ │ ├── /utils │ │ │ └── api.js │ │ ├── App.js # Main React component │ │ ├── index.js │ │ ├── index.css │ │ ├── tailwind.config.js │ │ ├── postcss.config.js │ │ └── .env │ ├── .gitignore │ ├── docker-compose.yml │ └── README.md └────── requirements.txt

Guía de inicio rápido

Paso 1: Clonar el proyecto de GitHub

Paso 2: Configurar el entorno de Python

python -m venv venv source venv/bin/activate # On macOS or Linux venv\Scripts\activate # On Windows

Paso 3: Instalar dependencias

pip install -r requirements.txt

Paso 4: Iniciar el servidor FastAPI (backend)

uvicorn backend.app.server:app --reload

Una vez que el servidor esté en ejecución y la base de datos esté conectada, debería ver el siguiente mensaje en la consola:

Database connected INFO: Application startup complete.

Paso 5: Instalar dependencias

Base de datos conectada INFO: Inicio de la aplicación completo.

npm install

Paso 6: Iniciar el servidor de desarrollo (Frontend)

npm start

Una vez en ejecución, el servidor registra una confirmación y abre la aplicación en su navegador: http://localhost:3000/

📌 Componentes de muestra para la interfaz de usuario

  1. Carga de imágenes
  2. Botón de envío
  3. Mostrar etiquetas de ropa + recomendaciones

Lo que se ha completado hasta ahora:

  1. El servidor FastAPI está en funcionamiento (24 de abril)
  2. La conexión a la base de datos está configurada (24 de abril)
  3. La arquitectura backend es funcional (24 abr.)
  4. Interfaz de usuario básica para cargar imágenes (25 de abril)

Próximo paso:

  1. Evaluar la precisión del etiquetado de CLIP en imágenes de ropa de muestra
  2. Ajuste el sistema de etiquetado para obtener mejores recomendaciones
  3. Pruebe la integración del backend con datos de usuario en tiempo real
  4. Configurar la monitorización del rendimiento del modelo
  5. Demostración de front-end
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Un sistema de recomendación de moda basado en CLIP con MCP que ofrece recomendaciones de moda basadas en imágenes cargadas.

  1. Bosquejo
    1. Estructura de carpetas
      1. Guía de inicio rápido
    2. Lo que se ha completado hasta ahora:

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        This MCP server aids users in searching and analyzing their photo library by location, labels, and people, offering functionalities like photo analysis and fuzzy matching for enhanced photo management.
        Last updated -
        14
        Python
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Pinterest Model Context Protocol (MCP) server for image search and information retrieval
        Last updated -
        91
        10
        TypeScript
        MIT License
        • Linux
        • Apple
      • A
        security
        A
        license
        A
        quality
        MCP server that integrates with Shopify API, allowing Claude Desktop users to retrieve and manipulate product information from Shopify stores.
        Last updated -
        5
        Python
        MIT License
        • Apple
      • -
        security
        -
        license
        -
        quality
        An MCP server that integrates FindMine's product styling and outfit recommendation capabilities with Claude and other MCP-compatible applications, allowing users to browse products, get outfit recommendations, find similar items, and access style guidance.
        Last updated -
        7
        1
        JavaScript

      View all related MCP servers

      ID: wgyfqx22oo