Skip to content
VS Code

Garmin Connect (unofficial) for VS Code

io.github.sasha-sup/garmin-mcp

Unofficial read-only Garmin Connect data: sleep, HRV, heart rate, stress, recovery analysis.

client:VS Code transport:stdio runtime:oci

Install Garmin Connect (unofficial) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "garmin-api-key",
      "description": "GARMIN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garmin-tz",
      "description": "GARMIN_TZ",
      "password": true
    }
  ],
  "servers": {
    "garmin-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sasha-sup/garmin-mcp:0.1.1"
      ],
      "env": {
        "GARMIN_API_KEY": "${input:garmin-api-key}",
        "GARMIN_TZ": "${input:garmin-tz}"
      }
    }
  }
}

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

Garmin Connect (unofficial) in other clients