FastMCP_RecSys
This is a CLIP-Based Fashion Recommender with MCP.
Folder Structure
Copy
Step 1
Update mongo service to add the same credentials:
Copy
Note: Since using environment variables in the FastAPI app, the Mongo URL should look like this: MONGO_URL = "mongodb://root:example@mongo:27017"
Once it's running, open the browser and go to 👉 http://localhost:8081
Login with: Username: root / Password: example (temporarily setting)
Step 2
docker-compose up --build
This will:
- Start FastAPI backend with hot reload
- Start MongoDB
- Start Mongo Express (for DB UI) (Frontend will not be built automatically in this mode)
Step 3
- Access the frontend (React app) at: http://localhost:3000
- Access the backend (FastAPI app) at: http://localhost:8000
📌 Quick Tips
Visit your app at: http://localhost:8000/docs
View MongoDB UI: http://localhost:8081 (use user: root, password: example)
mongo-seed runs only once at startup to populate your tags collection.
📌 Sample Components for UI
- Image upload
- Submit button
- Display clothing tags + recommendations
This server cannot be installed
A CLIP-Based Fashion Recommender system with MCP that provides fashion recommendations based on uploaded images.