Skip to main content
Glama

E-commerce MCP Server

main.py521 B
from fastapi import FastAPI from app.api.chat import router as chat_router from app.mcp.server import start_mcp_server import asyncio import threading app = FastAPI(title="E-commerce Chatbot") app.include_router(chat_router, prefix="/api/v1") @app.on_event("startup") async def startup_event(): def run_mcp(): asyncio.run(start_mcp_server()) thread = threading.Thread(target=run_mcp, daemon=True) thread.start() @app.get("/") async def root(): return {"message": "Welcome to Grocery Chatbot"}

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Noyonchandrasaha/MCP-E-commerce-Chatbot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server