Skip to main content
Glama
davidmosiah

ifood-mcp

非官方。 与 iFood 无关联,未获得 iFood 的认可或支持。并非 merchant-api Partners 门户。消费者网页界面可能随时更改,恕不另行通知。

默认绝不支付。 除非启用了 IFOOD_ALLOW_MUTATIONS 并且 explicit_user_intent 为 true,否则 ifood_checkout 不会执行任何操作。

WAF: 从 Node 访问 www.ifood.com.br/site-api 会被 Cloudflare 拦截。即使家用浏览器的 JWT 可用,搜索/首页/GraphQL 请求在数据中心 IP 上仍可能收到 Akamai 的 Access Denied(访问被拒绝)。这些路由并未作为 401 已验证路由提供。

60 秒完成设置

npx -y ifood-mcp-unofficial setup
npx -y ifood-mcp-unofficial auth start --email you@email.com
npx -y ifood-mcp-unofficial auth complete --code 123456 --email you@email.com
npx -y ifood-mcp-unofficial doctor

备用方案(无 OTP):以登录状态打开 ifood.com.br → DevTools → Network → 任一个 marketplace.ifood.com.br 请求 → 复制 Authorization,然后:

npx -y ifood-mcp-unofficial auth --from-header "Bearer eyJ…"

Stdio 代码片段。这里不要设置 IFOOD_ALLOW_MUTATIONS

{
  "mcpServers": {
    "ifood": {
      "command": "npx",
      "args": ["-y", "ifood-mcp-unofficial"]
    }
  }
}

Related MCP server: ParcelPilot MCP Server

工具

类型

工具

读取 · 我的

ifood_customer_me, ifood_list_addresses, ifood_contact_methods, ifood_list_payment_methods, ifood_loyalty_cards, ifood_benefits

读取 · 订单

ifood_list_orders, ifood_get_order, ifood_previous_items, ifood_get_cart

读取 · 浏览

ifood_search, ifood_home, ifood_categories, ifood_merchant_info, ifood_filter_options, ifood_reviews, ifood_merchant_payment_methods

元信息

ifood_connection_status, ifood_capabilities, ifood_privacy_audit

受控购物车

ifood_create_cart, ifood_set_delivery_method, ifood_set_payment_method

受控支付

ifood_checkout

仅意图

ifood_logout

HTTP(可选,回环)

npx -y ifood-mcp-unofficial --http

绑定 127.0.0.1 并检查 Origin。这是 DNS 重绑定缓解措施,并非公共服务器。

测试

npm test

无需真实登录 iFood。

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to retrieve customer, order, ticket, policy, and agreement information, and to prepare or execute state-changing support actions like escalations and follow-ups with confirmation and access control.
  • A
    license
    C
    quality
    A
    maintenance
    Lets users search nearby stores and products, inspect their Rappi cart, manage saved addresses, and track orders locally, with payment and checkout actions disabled by default unless explicitly enabled and confirmed. It uses an undocumented Rappi API and protects privacy through redaction and local token storage.
    40
    953
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI agents to get 99Pop and 99Moto fare estimates, ride history, and live tracking while keeping credentials local and ride requests fail-closed by default.
    11
    113
    MIT

View all related MCP servers

Related MCP Connectors

  • Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.

  • Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.

  • Let AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.

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/davidmosiah/ifood-mcp'

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