swiggy-lyr
Was es ist
Swiggy betreibt drei offizielle Remote-MCP-Server (mcp.swiggy.com/{food,im,dineout}), jeweils mit eigener Verbindung. swiggy-lyr bündelt alle ~35 Upstream-Tools in einem einzigen Server, mit dem sich Ihr Agent nur einmal verbindet:
Datenstrom | Präfix | Umfang |
Food |
| Restaurantsuche, Menüs, Warenkorb, Bestellung, Sendungsverfolgung |
Instamart |
| Produktsuche, Warenkorb, Kasse |
Dineout |
| Entdecken, Details, Zeitfenster, kostenlose Buchungen |
Die Schemas der Upstream-Tools werden beim Start dynamisch erkannt — Änderungen am Swiggy-Schema werden hier ohne Codeänderungen übernommen.
Related MCP server: wolt-mcp
Schnellstart
# 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-lyrAgenten-Konfiguration
{
"mcpServers": {
"swiggy": {
"command": "swiggy-lyr",
"args": []
}
}
}Noch kein Token? Auch die Umgebungsvariable SWIGGY_LYR_TOKEN=<bearer> funktioniert.
Bestell-Sicherheit
COD-Bestellungen bei Swiggy können nicht storniert werden. Deshalb ist swiggy-lyr standardmäßig abgesichert:
Warenkorb-Änderungen / Buchungen erfordern die Umgebungsvariable
SWIGGY_ALLOW_ORDERS=1im Serverprozess.Checkout-/place-order-Tools erfordern zusätzlich, dass der Agent
confirm=trueübergibt.
Lesezugriffe (Suche, Menüs, Slots, Warenkorbansicht) sind jederzeit möglich.
Architektur
┌────────────────────── 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 8000Umgebung
Variable | Zweck |
| gespeichertes Token umgehen (CI / manuell) |
| ändernde Tools aktivieren (Standard: aus) |
| vorregistrierter Client, falls DCR nicht erreichbar |
| Sicherheitsverwaltung URI überschreiben |
| DEBUG/INFO/WARNING |
Hinweise
Lassen Sie die Swiggy-App geschlossen, während Agenten diese Software verwenden (Sitzungskonflikte).
Die Entwicklungsarbeit von Drittanbietern liegt im Sicherheitsprüfungsfenster von Swiggy; behandeln Sie diese als Werkzeug für die private Nutzung.
Entwicklung: siehe AGENTS.md. Aus dem Quellcode installieren mit
uv sync.
Lizenz
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