FastMCP_RecSys
高速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 のサンプルコンポーネント
画像アップロード
送信ボタン
衣服のタグとおすすめを表示する
これまでに完了したもの:
FastAPI サーバーが稼働中 (4 月 24 日)
データベース接続がセットアップされました(4月24日)
バックエンドアーキテクチャは機能しています(4月24日)
写真アップロード用の基本的なフロントエンドUI(4月25日)
次のステップ:
サンプルの衣服画像でCLIPのタグ付け精度を評価する
タグ付けシステムを微調整して、より適切な推奨事項を作成します
リアルタイムのユーザーデータを使用してバックエンドの統合をテストする
モデルのパフォーマンスの監視を設定する
フロントエンドデモ
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your own closet in your AI: outfits from clothes you own, rendered on a model inline.
Search and get fashion products recommendations across multiple e-ecom stores
Fashion & apparel MCP: visual outfit search, stock verification, and 1-click checkout.
Fashion & apparel MCP: visual outfit search, stock verification, and 1-click checkout.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA FastMCP server that provides virtual try-on functionality through the Replicate API, allowing users to visualize how clothing items would look on models.-
- AlicenseNot gradedqualityDmaintenanceMCP server for FG-CLIP embedding services enabling multi-modal similarity computation for text and images.4Apache 2.0
- AlicenseAqualityDmaintenanceFashion discovery MCP server for Indian Gen Z that enables AI assistants to search and discover fashion products from Klydo's platform.31MIT
- FlicenseAqualityBmaintenanceA fashion vertical MCP server providing tools for product SEO audits and trend analysis to integrate with AI agents like Claude, Cursor, and Codex.2-