在 VS Code 里安装 ChefBear

一条命令把 ChefBear 的 MCP 服务器加进 VS Code,给 GitHub Copilot 用。用 Apple 或 Google 登录一次。之后发一张菜单照片,问它点什么:ChefBear 帮你挑菜、记住你的口味、给每道菜配图,还会翻译菜单。

code --add-mcp '{"name":"chefbear","type":"http","url":"https://chef-bear.com/api/menu-sharing/mcp"}'

步骤

  1. 在终端里运行上面的命令,或者点“添加到 VS Code”,在 VS Code 里确认安装。两种方式都会把 ChefBear 加到你的 VS Code 配置里。
  2. 打开 Copilot Chat。VS Code 启动 chefbear 服务器时会请你允许登录:点允许,然后在 ChefBear 的页面用 Apple 或 Google 登录。
  3. 装了 ChefBear iPhone App(4.4 或更高版本)?也可以在 App 里确认:用 iPhone 扫登录页上的二维码,点“允许”。先核对 3 位配对码是否一致。

也可以从菜单添加

打开命令面板,运行 Chat: Open Customizations,进入 MCP Servers › Add Server › HTTP,粘贴服务器地址,名称填 chefbear。

https://chef-bear.com/api/menu-sharing/mcp

确认能用

  • 在 Agent 模式下让 Copilot 调用 ChefBear 的 connection_status,再展开聊天里的工具调用查看结果。
  • 然后发一张菜单照片,问“这家店点什么好?”

遇到问题?请看安装问题排查。菜品信息来自餐厅菜单;过敏和饮食限制请向店员确认,ChefBear 不构成医疗建议。

不要这样做

  • ChefBear 没有 npm、pip 或 Homebrew 包,电脑上也没有要下载或运行的东西。不要安装叫 chefbear 的包,也不要用 mas install。
  • iPhone App(App Store ID 6759192929)是另一个独立的 App,在 VS Code 里用 ChefBear 不需要它。
  • 不需要设置 API key、请求头或环境变量。任何时候都不要把密码、验证码或 token 粘贴到聊天里。
  • 只添加一个 chefbear 服务器。已经添加过的话,直接登录,不要再加一个。