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.

高速MCP_RecSys

これは、MCP を使用した CLIP ベースのファッション レコメンダーです。

モックアップ

ユーザーが衣服の画像をアップロード → YOLOが衣服を検出 → CLIPがエンコード → 類似の衣服を推奨

フォルダ構造

/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

クイックスタートガイド

ステップ1: GitHubプロジェクトのクローンを作成する

ステップ2: Python環境をセットアップする

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

ステップ3: 依存関係をインストールする

pip install -r requirements.txt

ステップ4: FastAPIサーバー(バックエンド)を起動する

uvicorn backend.app.server:app --reload

サーバーが実行し、データベースが接続されると、コンソールに次のメッセージが表示されます。

Database connected INFO: Application startup complete.

ステップ5: 依存関係をインストールする

データベース接続情報: アプリケーションの起動が完了しました。

npm install

ステップ6: 開発サーバー(フロントエンド)を起動する

npm start

実行されると、サーバーは確認をログに記録し、ブラウザでアプリを開きます: http://localhost:3000/

📌 UI のサンプルコンポーネント

  1. 画像アップロード
  2. 送信ボタン
  3. 衣服のタグとおすすめを表示する

これまでに完了したもの:

  1. FastAPI サーバーが稼働中 (4 月 24 日)
  2. データベース接続がセットアップされました(4月24日)
  3. バックエンドアーキテクチャは機能しています(4月24日)
  4. 写真アップロード用の基本的なフロントエンドUI(4月25日)

次のステップ:

  1. サンプルの衣服画像でCLIPのタグ付け精度を評価する
  2. タグ付けシステムを微調整して、より適切な推奨事項を作成します
  3. リアルタイムのユーザーデータを使用してバックエンドの統合をテストする
  4. モデルのパフォーマンスの監視を設定する
  5. フロントエンドデモ
-
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.

アップロードされた画像に基づいてファッションの推奨を提供する、MCP を備えた CLIP ベースのファッション推奨システム。

  1. モックアップ
    1. フォルダ構造
      1. クイックスタートガイド
    2. これまでに完了したもの:

      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