CynthiaOmovoiye/meridian-support-bot
0
Meridian Electronics — AI Support Chatbot
A production-ready prototype of an AI-powered customer support and shopping assistant for Meridian Electronics, built for the GenAI bootcamp MCP assessment.
GitHub repository: https://github.com/CynthiaOmovoiye/meridian-support-bot
Architecture
- UI: Streamlit with a luxury e-commerce design — sidebar AI concierge + Shop / Cart / Orders tabs
- LLM: OpenRouter (
gpt-4o-mini) with native tool-calling in an agentic loop — the LLM discovers and calls MCP tools directly - MCP: Streamable HTTP MCP client connecting to
https://order-mcp-74afyau24q-uc.a.run.app/mcp - Caching: Session-scoped TTL cache (2–5 min for products, 30 s for orders) — reduces MCP round-trips and latency
- Security: Auth-gated tools, input sanitisation, email masking, no PIN in LLM context
MCP Tools Used
Hugging Face Spaces — Secrets
Set these in Settings → Variables and secrets → New secret:
Local Development
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # add your OPENROUTER_API_KEY
streamlit run app.py