Connect Garmin to Antigravity
Set up garmlink in
Google Antigravity reaches garmlink as a remote MCP server. One entry in its MCP configuration, then a sign-in that ends with a code to paste back into Antigravity — after that, its agents answer from your real, synced Garmin history.
Before you start You need a garmlink account with your Garmin connected (do that on the Connection screen), and Google Antigravity installed.
Connect your Garmin account
On the Connection screen, sign in to Garmin Connect with your email and password (used once, never stored), complete the verification code if Garmin asks for one, and wait for the status to turn Connected. garmlink starts syncing your activities, sleep, HRV and training metrics right away.Add garmlink to Antigravity
In Antigravity, open Customizations, then MCP Servers, and the raw configuration — usually
~/.gemini/config/mcp_config.json— and add garmlink:{ "mcpServers": { "garmlink": { "serverUrl": "https://api.garmlink.ai/mcp" } } }The key is serverUrl: Antigravity ignores httpUrl, the key the Gemini CLI uses.
Sign in to garmlink
Next to garmlink, click Authenticate. Sign in to garmlink in the browser and press Authorize: the page that follows shows a code. Copy it, paste it in Antigravity's Enter authorization code field, and click Submit.Ask your first question
Then ask in plain language, in the tool's chat or agent panel:- “How did I sleep this week?”
- “Summarize my last five runs.”
- “Is my training load trending up or down this month?”
Troubleshooting
- Nothing happens after Authenticate. Remove garmlink from the list, add it again, and click Authenticate once more: an earlier attempt that failed can stay stuck.
- It asks for an API key or a token. garmlink needs none: leave every key, header and client secret field empty. You sign in through your browser, with your garmlink account.
- Data looks empty or stale. Check where the sync stands on the Connection screen.
Using another assistant? See all the setup guides. Curious what garmlink can read? Browse the tools reference. Want to see real answers first? Read twelve examples from a real account.