Food Order Bot MCP Server
This directory contains a standalone MCP server that exposes the Food Order Bot's capabilities (Menu Guide & Order Management) to MCP clients (like Claude Desktop, Cursor, etc.).
Setup
-
Navigate to this directory:
cd MCP -
Install Dependencies:
pip install -r requirements.txt -
Environment Variables:
- Ensure
.envis present in this directory with the following keys:MONGO_URIDATABASE_URL(optional, for pool)GOOGLE_API_KEY
- Ensure
Running the Server
Run the server using the mcp-cli or python directly if using FastMCP's built-in runner:
python server.py
# MD: mcp run server.py
Available Tools
menu_guide(query, tenant_key, session_id): Browse menu, ask for recommendations.order_management(query, tenant_key, session_id): Add/Remove items from cart.
Directory Structure
server.py: Main entry point, defines MCP tools.utils.py: Minimal utilities for DB and LLM connection (stripped of heavy framework deps).tools/: Refactored tool logic (copied from main project but using local utils).
