Skip to content
VS Code

FatSecret for VS Code

io.github.kondratjev/fatsecret-mcp-go

Full-coverage FatSecret MCP server: 56 tools for food, diary, weight and exercise.

client:VS Code transport:stdio runtime:oci

Install FatSecret in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "fatsecret-client-id",
      "description": "FATSECRET_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fatsecret-client-secret",
      "description": "FATSECRET_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fatsecret-consumer-secret",
      "description": "FATSECRET_CONSUMER_SECRET",
      "password": true
    }
  ],
  "servers": {
    "fatsecret-mcp-go": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kondratjev/fatsecret-mcp-go:0.2.0"
      ],
      "env": {
        "FATSECRET_CLIENT_ID": "${input:fatsecret-client-id}",
        "FATSECRET_CLIENT_SECRET": "${input:fatsecret-client-secret}",
        "FATSECRET_CONSUMER_SECRET": "${input:fatsecret-consumer-secret}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

FatSecret in other clients