Skip to content
VS Code

yazio mcp for VS Code

io.github.fliptheweb/yazio-mcp

MCP server for accessing Yazio user & nutrition data (unofficial)

client:VS Code transport:stdio runtime:npm

Install yazio mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yazio-username",
      "description": "YAZIO_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yazio-password",
      "description": "YAZIO_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "yazio-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yazio-mcp"
      ],
      "env": {
        "YAZIO_USERNAME": "${input:yazio-username}",
        "YAZIO_PASSWORD": "${input:yazio-password}"
      }
    }
  }
}

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

yazio mcp in other clients