Skip to content
VS Code

TrainBud for VS Code

io.github.zsadigzade/trainbud

Talk to your own fitness data. Findings computed in code against your own 28-day baselines.

client:VS Code transport:stdio runtime:npm

Install TrainBud in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "garmin-email",
      "description": "GARMIN_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garmin-password",
      "description": "GARMIN_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "trainbud": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "trainbud"
      ],
      "env": {
        "GARMIN_EMAIL": "${input:garmin-email}",
        "GARMIN_PASSWORD": "${input:garmin-password}",
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}"
      }
    }
  }
}

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

TrainBud in other clients