AI

arioliv/ifood-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

16 stars 6 forks 品質 85 トレンド 35MIT

IFood用の非公式モデルコンテキストプロトコルサーバー — 参照、検索、カート、注文をAI経由で。 iFood OTPログインで2つのトランスポート(stdio + HTTP / OAuth 2.1).

概要

IFoodの非公式モデルコンテキストプロトコルサーバー — ブラジル最大のフードデリバリープラットフォーム。 レストランをブラウズし、フードを検索し、カートを管理し、MCP を話すあらゆる AI アシスタントを通して注文を置きます。 iFoodと提携していません。 パブリックコンシューマーWeb APIを個人的に使用するためにラップします。 このMCPサーバーは、iFoodアカウントにアクセスするためのAIアシスタント(クロードコード、クロードデスクトップ、カーソル、コーデックスなど)を提供します。 AI を可能にする 25 個のツールを公開します。 - 近くの検索レストランやフードアイテム - ショッピング ショップ、フルカタログ、アイテムの詳細、顧客レビュー - 有料 アイテム、配送方法、支払いでカートをビルド - 保存された支払い方法と住所 - 连续リスト過去の注文、注文の詳細を取得し、注文を注文 - クイックチェック忠誠カード、財布のメリットとクーポン - 休日の家フィード、カテゴリ、キュレーションブラウズページ モードを独立して実行できます。同じツール定義は両方バックアップします。 - ノード.

概要(AI 翻訳)

IFoodの非公式モデルコンテキストプロトコルサーバー — ブラジル最大のフードデリバリープラットフォーム。 レストランをブラウズし、フードを検索し、カートを管理し、MCP を話すあらゆる AI アシスタントを通して注文を置きます。

iFoodと提携していません。 パブリックコンシューマーWeb APIを個人的に使用するためにラップします。

このMCPサーバーが何をしているか

このMCPサーバーは、iFoodアカウントにアクセスするためのAIアシスタント(クロードコード、クロードデスクトップ、カーソル、コーデックスなど)を提供します。 AI を可能にする 25 個のツールを公開します。

  • 近くのレストランや食料品を検索
  • 商人、フルカタログ、アイテムの詳細、顧客レビューを閲覧する
  • 商品、配達方法および支払が付いているカートを造ります
  • 保存された支払い方法とアドレスのリスト
  • 注文を過去にリストし、注文の詳細を取得し、注文
  • ギフトカード、財布特典、クーポンのチェック
  • ホームフィード、カテゴリ、キュレーションブラウズページを探索する

2つの認証モード

| モード | 交通 | ログイン | 最安値 | | お問い合わせ | |HTTP + OAuth 2.1 | ホストされたログインページで HTTP | Real iFood OTP (e-mail / SMS / WhatsApp) を配信 | マルチユーザー展開、リモート MCP、友人と共有 |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

iFood MCP Server

Unofficial Model Context Protocol server for iFood — Brazil’s largest food delivery platform. Browse restaurants, search food, manage your cart and place orders through any AI assistant that speaks MCP.

Not affiliated with iFood. Wraps the public consumer web API for personal use.

What This MCP Server Does

This MCP server gives AI assistants (Claude Code, Claude Desktop, Cursor, Codex, etc.) access to your iFood account. It exposes 25 tools that let an AI:

  • 🔍 Search restaurants and food items near you
  • 🍔 Browse merchants, full catalogs, item details and customer reviews
  • 🛒 Build a cart with items, delivery method and payment
  • 💳 List your saved payment methods and addresses
  • 📦 List past orders, get order details, and reorder
  • 🎁 Check loyalty cards, wallet benefits and coupons
  • 📍 Explore the home feed, categories and curated browse pages

Two Authentication Modes

Mode Transport Login Best for
HTTP + OAuth 2.1 Streamable HTTP Real iFood OTP (e‑mail / SMS / WhatsApp) on a hosted login page Multi‑user deploys, remote MCP, sharing with friends
stdio Standard input / output Tokens pasted from browser DevTools into a .env file Local single‑user setup, fastest to wire up

You can run either mode independently; the same tool definitions back both.

Prerequisites

  • Node.js ≥ 20
  • An active iFood account (any region in Brazil)
  • For HTTP+OAuth mode: nothing else — the login UI handles everything
  • For stdio mode: a recent JWT extracted from browser DevTools (see below)

Check your install with node -v and npm -v.

Installation

1. Clone and build

git clone https://github.com/AriOliv/ifood-mcp.git
cd ifood-mcp
npm install
npm run build

2. Pick a mode

# Generate a JWT signing secret (≥32 chars)
echo "MCP_JWT_SECRET=$(openssl rand -hex 32)" >> .env
echo "PORT=3001" >> .env

# Run with auto-reload
npm run dev

Then register the server with your client.

Claude Code
claude mcp add --transport http ifood http://localhost:3001/mcp

Run /mcp inside Claude Code → click ifood → it’ll open the browser at the OTP login page. Authenticate with your iFood e‑mail and the 6‑digit code that arrives via WhatsApp/SMS/Email.

Cursor

Add to ~/.cursor/mcp.json:

{
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ifood": { "type": "http", "url": "http://localhost:3001/mcp" } } }