swiggy-lyr
它是什么
Swiggy runs three official remote MCP servers(mcp.swiggy.com/{food,im,dineout}),每个服务器都有自己的连接。swiggy 站点 聚合所有这些约 35 个上游工具到一个服务器中,你的智能体只需连接一次:
数据流 | 前缀 | 覆盖范围 |
Food |
| 餐馆搜索、菜单、购物车、下单、订单跟踪 |
Instamart |
| 商品搜索、购物车、结账 |
Dineout |
| 探索、详情、时段、免费订餐厅 |
所有 tool schema 于启动时由动态发现 — Swiggy 架构变更无需修改这里即可传入。
Related MCP server: wolt-mcp
快速开始
# Install
curl -sSL https://raw.githubusercontent.com/ishan-parihar/swiggy-lyr/main/install.sh | bash
# Authenticate (browser OAuth consent, ~5 day token)
swiggy-lyr --login
# Check status
swiggy-lyr --status
# Run the MCP server (stdio)
swiggy-lyr智能体配置
{
"mcpServers": {
"swiggy": {
"command": "swiggy-lyr",
"args": []
}
}
}说明:SWIGY_LYR_TOKEN=<bearer> 环境变量也可以长。
下单安全
Swiggy 的货到付款订单 不能取消,所以 swiggy-default 默认「关闭下单」:
购物车变更 / 餐厅预订要求在服务进程设置
SWIGY_LYR_ALLOW_ORDERS=1环境变量。结账 / 提交订单所调额外要求参数
confirm=true。读操作(搜索、菜单、预订时段、购物车查看)正常开放。
服务架构
┌────────────────────── swiggy-lyr (stdio FastMCP) ──────────────────────┐
│ food_* instamart_* dineout_* ← generated proxies │
│ └──────────────┴───────────────────┘ │
│ dynamic tools/list → local registration │
│ Bearer (OAuth 2.1 + PKCE) │
└────────────────────────────────┬───────────────────────────────────────┘
▼
mcp.swiggy.com/food mcp.swiggy.com/im mcp.swiggy.com/dineoutCLI
swiggy-lyr --login OAuth consent via browser
swiggy-lyr --login --token X store a bearer token manually
swiggy-lyr --status auth state + expiry countdown (TOON)
swiggy-lyr start MCP server on stdio
swiggy-lyr --transport http --port 8000环境变量
变量 | 将值 | 说明 |
| 绕过本地存储(CI / 手动命令行) | |
| 打开写操作(关(译) | |
| 采用 DCR 之前已注册模式(可选) | |
| 覆盖回调 | |
| DEBUG/INFO/WARNING(T.B., None) |
注意
观察此段时注意 Swiggy 客户端(session并发问题)。
第三方开发者正处在 Swiggy 安全检查窗口期;起动作为个人使用即可。
参与开发:参见 AGENTS.md;
uv sync进行源代码安装。
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Hosted MCP server to manage a restaurant menu from AI agents - 39 tools over the DuckHub API.
Real-time data APIs for 50+ commerce, grocery, social and maps platforms over one OAuth MCP server
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to discover restaurants and place food delivery orders on Uber Eats and Thuisbezorgd (Just Eat Takeaway). It provides tools for restaurant discovery and order management through normalized platform APIs.3 npm4MIT
- AlicenseAqualityDmaintenanceA thin MCP server that exposes Wolt's public consumer endpoints to AI agents, enabling discovery of nearby venues and fetching their menus with live prices and deal signals.2MIT
- AlicenseBqualityBmaintenanceAggregates quick commerce platforms like Zepto, Swiggy Instamart, and BigBasket for searching, comparing prices, and ordering through a single MCP interface.71,387 npm2MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that compares grocery basket prices across Blinkit, Zepto, BigBasket, and Amazon Now in real time, identifying the cheapest platform for the entire basket.5 npmMIT