# Can I plan meals with GitHub Copilot in VS Code?

https://getsaucepan.com/zh-hans/answers/copilot-vs-code-meal-planning

Yes. Add Saucepan as an MCP server in VS Code at https://getsaucepan.com/mcp, sign in, and ask Copilot in agent mode: "Plan three dinners from my saved recipes and add the ingredients to my groceries." It works on Copilot Free. A prompt file turns your weekly plan into one slash command. Business and Enterprise seats need an admin policy on.

更新于 2026 年 11 月 16 日

You’re already in VS Code at 5pm. Copilot can sort dinner without another tab.

## 1. Add Saucepan

For every workspace, run **MCP: Add Server** from the Command Palette, choose **HTTP**, enter `https://getsaucepan.com/mcp`, name it `saucepan`, and pick **Global**. Or use the [one-click install link](vscode:mcp/install?%7B%22name%22%3A%22saucepan%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fgetsaucepan.com%2Fmcp%22%7D).

For one repo, `.vscode/mcp.json`:

`{ "servers": { "saucepan": { "type": "http", "url": "https://getsaucepan.com/mcp" } } }`

## 2. Sign in

Start the server when asked. VS Code opens a Saucepan page in your browser. Sign in with Apple, Google or an email code and tap **Allow**. The connector is part of Saucepan+.

## 3. Ask in agent mode

- “我这周的膳食计划里有什么？”
- “Find three vegetarian dinners in my saved recipes, under 30 minutes, and put them on Monday, Wednesday and Friday.”
- “我能用家里的存货做什么菜？”
- “Add the ingredients for Wednesday’s dinner to my groceries.”
- “将此保存到 Saucepan：[https://…](null)” 附带菜谱链接。

VS Code asks before each tool call. Approve them, or allow Saucepan’s tools for the session.

## 4. Make it a command

Save this as `.github/prompts/plan-week.prompt.md`, then type `/plan-week` in chat:

`--- description: Plan this week's dinners with Saucepan --- Read my Saucepan meal plan for this week. Fill empty weeknight dinners from my saved recipes: under 40 minutes, no repeats from last week, reuse ingredients. Prefer what my pantry already has. Add each to the plan, then add the ingredients to my groceries. End with a short list of what you added.`

## Cards

Turn on `chat.mcp.apps.enabled` to see recipe cards inline. It’s experimental. Without it, you get text.

## 限制

Copilot can add to your plan and groceries but can’t delete or move anything. Do that in the Saucepan app. On Copilot Business or Enterprise, your admin turns on the **MCP servers in Copilot** policy first.

Using Claude Code instead? See [the same idea as a slash command](https://getsaucepan.com/zh-hans/answers/claude-code-meal-plan-slash-command).

## 问题

### Which tools does Copilot get?

search_saucepan_recipes, get_recipe, what_can_i_make, save_saucepan_recipe, save_recipe_from_link, save_recipe_from_chat, search_my_recipes, list_collections, add_to_groceries, get_groceries, get_pantry, get_meal_plan and add_to_meal_plan. None of them delete anything.

### Does it work with the Copilot coding agent on github.com?

No. GitHub's cloud agent doesn't support remote servers that need an OAuth sign-in. Use VS Code.

### Can I share the setup with my team?

Commit .vscode/mcp.json. It shares the server, not an account: each person signs in to their own Saucepan.

## 相关

- [Connect Saucepan to Copilot](https://getsaucepan.com/zh-hans/connect/copilot)
- [将 Saucepan 连接到 Claude Code](https://getsaucepan.com/zh-hans/connect/claude-code)
- [Meal plan slash command](https://getsaucepan.com/zh-hans/answers/claude-code-meal-plan-slash-command)
- [What is an MCP cooking app?](https://getsaucepan.com/zh-hans/answers/what-is-an-mcp-cooking-app)
- [Meal plan with Copilot](https://getsaucepan.com/zh-hans/answers/copilot-meal-plan)
