Skip to main content
Glama

概要

Swiggyは公式のリモートMCPサーバーを3つ運用しています(mcp.swiggy.com/{food,im,dineout})。それぞれに個別の接続が必要です。swiggy-lyr は、約35個の上流ツールを1つのサーバーに集約し、エージェントはそこへ一度接続するだけで済みます。

ストリーム

接頭辞

説明

Food

food_

レストラン検索、メニュー、カート、注文、配達追跡

Instamart

instamart_

商品検索、カート、チェックアウト

Dineout

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-l야 はデフォルトでゲート付きの状態で提供されます。

  1. カートの変更・予約には、サーバープロセス側で環境変数 SWIGGY_LYR_ALLOW_ORDERS=1 が必要です。

  2. チェックアウト/注文確定ツールは、さらにエージェントが 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/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

環境変数

変数

用途

SWIGGY_LYR_TOKEN

保存済みトークンをバイパス(CI / 手動利用)

SWIGGY_LYR_ALLOW_ORDERS

利用したツール(デフォルトはオフ)

SWIGGY_LYR_CLIENT_ID

DCR(動的クライアント登録)が使えない場合の事前登録クライアント

SWIGGY_REDIRECT_URI

コールバックURIを上書き

LOG_LEVEL

DEBUG/WARNING /ERROR

注意事項

  • エージェントがこれを利用している間、Swiggyアプリは閉じたままにしてください(セッションの競合のため)。

  • サードパーティ開発はSwiggyのセキュリティレビュー期間中のものです。個人利用ツールとして扱ってください。

  • 開発: AGENTS.md を参照してください。ソースからのインストールは uv 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