> One-click install Forkmate in VS Code or VS Code Insiders for GitHub Copilot agent mode. Log meals from your editor; mcp.json fallback included.

Source: https://forkmate.ai/connect/vscode/

# Use Forkmate in VS Code

VS Code can install an MCP server from a link. Click below, approve the install, sign in once, and Copilot Chat in agent mode can log your meals.

[Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22forkmate%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.forkmate.ai%2F%22%7D) [Install in VS Code Insiders](vscode-insiders:mcp/install?%7B%22name%22%3A%22forkmate%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.forkmate.ai%2F%22%7D)

Opens VS Code and adds Forkmate. You still sign in once to approve access.

No Forkmate account yet? [Create one free](https://app.forkmate.ai/) first. It takes under a minute, and VS Code sends you there on first connect anyway.

## Or set it up by hand

`https://mcp.forkmate.ai/`

Forkmate’s server URL. Streamable HTTP, OAuth sign-in, no API key.

1. Add the server

Open the Command Palette and run MCP: Add Server, choose HTTP, and enter the URL. Or add the mcp.json below.
2. Start it and sign in

VS Code asks to authenticate with Forkmate. Allow it and sign in once in your browser.
3. Log your first meal

In Copilot Chat in agent mode, say “I had two eggs and toast for breakfast.” It logs the meal with calories and macros to your Forkmate diary.

.vscode/mcp.json

```
{
  "servers": {
    "forkmate": {
      "type": "http",
      "url": "https://mcp.forkmate.ai/"
    }
  }
}
```

## What you need

- A free Forkmate account ([sign up](https://app.forkmate.ai/)). There is no paid plan.
- GitHub Copilot in VS Code, in agent mode.
- On Copilot Business or Enterprise, your organization must enable the “MCP servers in Copilot” policy (it’s off by default).

Checked September 30, 2026 against these sources: [VS Code docs: MCP servers](https://code.visualstudio.com/docs/copilot/customization/mcp-servers), [GitHub docs: MCP in Copilot](https://docs.github.com/en/copilot/concepts/context/mcp). VS Code changes its menus often; if yours looks different, trust what it shows.

## What to say first

Once it’s connected, talk to VS Code the way you’d tell a friend:

> I had two eggs and toast for breakfast.

It logs the meal with calories, protein, carbs and fat to your diary at app.forkmate.ai. Then try:

- How many calories have I had today?
- Make the toast two slices.
- What did I eat this week?

Something not working? See [troubleshooting](https://forkmate.ai/connect/#troubleshooting), or [pick a different assistant](https://forkmate.ai/connect/). The same URL works in all of them.

## Start logging from VS Code

Create your free account, connect once, and your next meal is one sentence away. No card, no paid plan.

[Open the app](https://app.forkmate.ai/) [All assistants](https://forkmate.ai/connect/)
