Skip to content
VS Code

garminmcp for VS Code

io.github.davidmosiah/garminmcp

Privacy-first unofficial Garmin Connect MCP for AI health, sleep, activity & recovery agents.

client:VS Code transport:stdio runtime:npm

Install garminmcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "garmin-token-path",
      "description": "GARMIN_TOKEN_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garmin-privacy-mode",
      "description": "GARMIN_PRIVACY_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garmin-cache",
      "description": "GARMIN_CACHE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garmin-cache-path",
      "description": "GARMIN_CACHE_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garmin-domain",
      "description": "GARMIN_DOMAIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "garmin-no-cache",
      "description": "GARMIN_NO_CACHE",
      "password": true
    }
  ],
  "servers": {
    "garminmcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "garmin-mcp-unofficial"
      ],
      "env": {
        "GARMIN_TOKEN_PATH": "${input:garmin-token-path}",
        "GARMIN_PRIVACY_MODE": "${input:garmin-privacy-mode}",
        "GARMIN_CACHE": "${input:garmin-cache}",
        "GARMIN_CACHE_PATH": "${input:garmin-cache-path}",
        "GARMIN_DOMAIN": "${input:garmin-domain}",
        "GARMIN_NO_CACHE": "${input:garmin-no-cache}"
      }
    }
  }
}

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

garminmcp in other clients