Skip to main content
Glama

它是什么

Swiggy runs three official remote MCP servers(mcp.swiggy.com/{food,im,dineout}),每个服务器都有自己的连接。swiggy 站点 聚合所有这些约 35 个上游工具到一个服务器中,你的智能体只需连接一次:

数据流

前缀

覆盖范围

Food

food_

餐馆搜索、菜单、购物车、下单、订单跟踪

Instamart

instamart_

商品搜索、购物车、结账

Dineout

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 默认「关闭下单」:

  1. 购物车变更 / 餐厅预订要求在服务进程设置 SWIGY_LYR_ALLOW_ORDERS=1 环境变量。

  2. 结账 / 提交订单所调额外要求参数 confirm=true

  3. 读操作(搜索、菜单、预订时段、购物车查看)正常开放。

服务架构

┌────────────────────── 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/dineout

CLI

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

环境变量

变量

将值

说明

SWIGY_LYR_TOKEN

绕过本地存储(CI / 手动命令行)

SWIGY_LYR_ALLOW_ORDERS

打开写操作(关(译)

SWIGY_LYR_CLIENT_ID

采用 DCR 之前已注册模式(可选)

SWIG_REDIRECT_URI

覆盖回调

LOG_LEVEL

DEBUG/INFO/WARNING(T.B., None)

注意

  • 观察此段时注意 Swiggy 客户端(session并发问题)。

  • 第三方开发者正处在 Swiggy 安全检查窗口期;起动作为个人使用即可。

  • 参与开发:参见 AGENTS.mduv sync 进行源代码安装。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    An 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.
    2
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A 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.
    2
    MIT
  • F
    license
    B
    quality
    F
    maintenance
    Aggregates quick commerce platforms like Zepto, Swiggy Instamart, and BigBasket for searching, comparing prices, and ordering through a single MCP interface.
    7
    2

View all related MCP servers

Related MCP Connectors

  • MCP Hub: AI service discovery, per-user OAuth, and multi-service workflow orchestration

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ishan-parihar/swiggy-lyr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server