Skip to content
VS Code

bodylog for VS Code

io.github.abhaymettu/bodylog

Agent-first workout and food log: sets and meals from chat, USDA and Open Food Facts macros, cards.

client:VS Code transport:stdio runtime:pypi

Install bodylog in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "bodylog-db",
      "description": "BODYLOG_DB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bodylog-cards",
      "description": "BODYLOG_CARDS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fdc-api-key",
      "description": "FDC_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bodylog-offline",
      "description": "BODYLOG_OFFLINE",
      "password": true
    }
  ],
  "servers": {
    "bodylog": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "bodylog"
      ],
      "env": {
        "BODYLOG_DB": "${input:bodylog-db}",
        "BODYLOG_CARDS": "${input:bodylog-cards}",
        "FDC_API_KEY": "${input:fdc-api-key}",
        "BODYLOG_OFFLINE": "${input:bodylog-offline}"
      }
    }
  }
}

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

bodylog in other clients