The Garmin Workouts MCP Server authenticates with Garmin Connect using garth [https://github.com/matin/garth]. There are two primary ways to provide your Garmin credentials:
1. Using Environment Variables
You can set your Garmin Connect email and password as environment variables before starting the MCP server.
Alternatively, you can log in to Garmin Connect once using the garth library directly and save your authentication tokens to a directory, which the MCP server will then use for subsequent sessions. This method is useful if you prefer not to store your credentials as environment variables or as part of your MCP client configuration.
To log in out-of-band:
Install garth:
pip install garth
Run the following Python script in your terminal:
import garth
from getpass import getpass
email = input("Enter email address: ")
password = getpass("Enter password: ")
# If there's MFA, you'll be prompted during the login
garth.login(email, password)
garth.save("~/.garth")
Follow the prompts to enter your Garmin Connect email and password. Upon successful login, garth will save your authentication tokens to ~/.garth.
The MCP server will automatically look for these saved tokens. If you wish to store them in a custom location, you can set the GARTH_HOME environment variable.
Usage
This server provides the following MCP tools that can be used through any MCP-compatible client:
Generate Workout Data Prompt
Use the generate_workout_data_prompt tool to create a prompt for an LLM to generate structured workout data:
generate_workout_data_prompt("10 min warmup, 5x(1km at 4:30 pace, 2min recovery), 10 min cooldown")
Upload Workout
Use the upload_workout tool to upload structured workout data to Garmin Connect:
upload_workout(workout_data_json)
Schedule Workout
Use the schedule_workout tool to schedule a workout on a specific date:
schedule_workout("workout_id_here", "2024-01-15")
Delete Workout
Use the delete_workout tool to remove a workout from Garmin Connect:
delete_workout("workout_id_here")
List Workouts
list_workouts()
Get Workout Details
get_workout("workout_id_here")
List Activities
Use the list_activities tool to view completed activities (runs, rides, swims, etc.) from Garmin Connect:
list_activities()
Optional parameters:
limit: Number of activities to return (default: 20)
start: Starting position for pagination (default: 0)
activityType: Filter by activity type (e.g., "running", "cycling", "swimming")
search: Search for activities containing specific text
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
सवाल
Garmin Workouts कैसे इंस्टॉल करें?
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
क्या Garmin Workouts के लिए API key चाहिए?
इस रिकॉर्ड में कोई ज़रूरी एनवायरनमेंट वेरिएबल दर्ज नहीं है।
Garmin Workouts कौन सा ट्रांसपोर्ट इस्तेमाल करता है?
Garmin Workouts stdio पर लोकल चलता है।
Garmin Workouts की पिछली जाँच कब हुई थी?
पिछली जाँच 2026-10-28 को हुई। MCP server with tools to manage workouts on Garmin Connect