swiggy-lyr
개요
Swiggy는 세 개의 공식 원격 MCP 서버(mcp.swiggy.com/{food,im,dineout})를 운영하며, 각각 자체 연결을 갖습니다. swiggy-lyr는 약 35개의 업스트림 도구를 모두 하나의 서버로 통합하여 에이전트가 한 번만 연결하면 됩니다:
스트림 | 접두어 | 포함 기능 |
음식 |
| 레스토랑 검색, 메뉴, 장바구니, 주문, 배송 추적 |
Instamart |
| 상품 검색, 장바구니, 결제 |
Dineout |
| 탐색, 상세 정보, 슬롯, 무료 예약 |
업스트림 도구 스키마는 시작 시 동적으로 발견됩니다 — 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": []
}
}
}아직 토큰이 없나요? SWIGGY_LYR_TOKEN=<bearer> 환경 변수도 작동합니다.
주문 안전
Swiggy의 COD 주문은 취소할 수 없으므로, swiggy-lyr는 기본적으로 잠긴 상태로 배포됩니다:
장바구니 변경/예약은 서버 프로세스에
SWIGGY_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을 사용할 수 없을 때 사전 등록된 클라이언트 |
| 콜백 URI 재정의 |
| DEBUG/INFO/WARNING |
참고
에이전트가 이 서버를 사용할 때는 Swiggy 앱을 닫아 두세요 (세션 충돌 방지).
타사 개발은 Swiggy의 보안 검토 기간에 해당합니다. 개인용 도구로 취급하세요.
개발: AGENTS.md를 참조하세요. 소스에서 설치하려면
uv sync를 사용하세요.
라이선스v.
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