
arioliv/ifood-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
IFood 용 Unofficial Model Context Protocol 서버 — AI를 통해 검색, 검색, 카트 및 주문 음식. 2개의 수송 (stdio + HTTP/OAuth 2.1) 진짜 iFood OTP 로그인으로.
개요
IFood 용 Unofficial Model Context Protocol 서버 — 브라질 최대의 음식 배달 플랫폼. 레스토랑 검색, 음식 검색, 카트 관리 및 MCP를 말하는 모든 AI 보조를 통해 주문. iFood와 제휴하지 않습니다. 개인용 웹 API를 포장합니다. 이 MCP 서버는 AI 조수 (Claude Code, Claude Desktop, Cursor, Codex 등) 귀하의 iFood 계정에 액세스합니다. AI를 할 수있는 25 가지 도구를 노출합니다. - 🇨🇳 인근 레스토랑 및 음식 품목 검색 - 堺 Browse Merchants, 전체 카탈로그, 항목 세부 사항 및 고객 리뷰 - 상품, 배송 방법 및 결제와 함께 카트 구축 - 저장 된 지불 방법 및 주소 목록 - 과거 주문 목록, 주문 세부 사항 및 주문 - ► 체크 충성 카드, 지갑 혜택 및 쿠폰 - ✨ 홈 피드, 카테고리 및 curated 검색 페이지 탐색 당신은 독립적으로 모드를 실행할 수 있습니다; 같은 도구 정의 모두. - 노드.
개요(AI 번역)
IFood 용 Unofficial Model Context Protocol 서버 — 브라질 최대의 음식 배달 플랫폼. 레스토랑 검색, 음식 검색, 카트 관리 및 MCP를 말하는 모든 AI 보조를 통해 주문.
iFood와 제휴하지 않습니다. 개인용 웹 API를 포장합니다.
이 MCP 서버는
이 MCP 서버는 AI 조수 (Claude Code, Claude Desktop, Cursor, Codex 등) 귀하의 iFood 계정에 액세스합니다. AI를 할 수있는 25 가지 도구를 노출합니다.
- 🇨🇳 인근 레스토랑 및 음식 품목 검색
- B Browse 상인, 전체 카탈로그, 항목 세부 사항 및 고객 리뷰
- 상품, 배달 방법 및 지불 카트 구축
- 저장 된 지불 방법 및 주소 목록
- 과거 주문 목록, 주문 세부 사항 및 주문 확인
- ► 충성도 카드, 지갑 혜택 및 쿠폰 확인
- ✨ 홈 피드, 카테고리 및 curated 검색 페이지 탐색
2 인증 모드
| 모드 | 교통 | 로그인 | 베스트 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |HTTP+OAuth 2.1 | Streamable HTTP | Real iFood OTP (이메일/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
Option A — HTTP + OAuth 2.1 (recommended)
# 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:
{
설치
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"
}
}
}