🍕 Zomato MCP大桥
人工智能驱动的Zomato订购桥,集成MCP,可通过Telegram进行移动食品订购。
🚀 特性
- 搜索餐厅:按餐厅名称、菜肴、位置或评级查找餐厅
- 下订单:在人工智能的帮助下订购食物
- 获取优惠券:获取可用的优惠券和折扣
- 查看菜单:浏览餐厅菜单
- 付款链接:获取订单的直接付款链接
📡 API终点
健康检查```
GET /
### 搜索餐厅```
GET /search?query=pizza&location=Mumbai&cuisine=Italian&rating=4
下单```
POST /order
Content-Type: application/json
{
"restaurant": "Domino's Pizza",
"items": ["Margherita Pizza", "Garlic Bread"],
"location": "Mumbai",
"address": "123 Main Street"
}
### 获取优惠券```
GET /coupons?restaurantId=12345&location=Mumbai
获取菜单```
GET /menu/:restaurantId
## 🛠️ 部署
### 部署到铁路
1. 单击下面的按钮:
2. 您的API将在: `https://your-app.up.railway.app`
### 手动部署```bash
# Clone the repo
git clone https://github.com/wizzzzard333-ctrl/zomato-mcp-bridge.git
cd zomato-mcp-bridge
# Install dependencies
npm install
# Start server
npm start
📱 移动使用
与Telegram bot或任何HTTP客户端一起使用:```bash
Search for restaurants
curl "https://your-app.up.railway.app/search?query=pizza&location=Mumbai"
Place an order
curl -X POST https://your-app.up.railway.app/order \
-H "Content-Type: application/json" \
-d '{"restaurant":"Dominos","items":["Pizza"],"location":"Mumbai"}'
```
🔗 与Bhindi AI集成
部署后,您可以通过Telegram订购食物,只需说:
- “从达美乐订购披萨”
- “查找我附近的意大利餐厅”
- “获取汉堡王优惠券”
📝 许可证
麻省理工学院
