Skip to content
VS Code

nutrients mcp for VS Code

io.github.ericblair1903/nutrients-mcp

Analyze food photos or text for calories, macros, vitamins, minerals, and allergens.

client:VS Code transport:stdio runtime:npm

Install nutrients mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tastyapi-key",
      "description": "TASTYAPI_KEY",
      "password": true
    }
  ],
  "servers": {
    "nutrients-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nutrients-mcp"
      ],
      "env": {
        "TASTYAPI_KEY": "${input:tastyapi-key}"
      }
    }
  }
}

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

nutrients mcp in other clients