
st3v/garmin-workouts-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP 서버는 Garmin Connect에서 워크아웃을 관리합니다
개요
MCP 서버는 MCP 호환 클라이언트를 통해 자연 언어 설명을 사용하여 Garmin Connect workout을 만들 수 있습니다. - : AI를 사용하는 자연적인 언어 묘사에서 구조화된 Garmin 운동 -: Garmin Connect의 모든 기존 운동을 전망하십시오 -: 특정 운동에 대한 상세한 정보를 검색하십시오 -: Garmin Connect의 특정 날짜에 일정 운동 -: Garmin Connect의 운동을 제거하십시오 -: 목록, 전망 및 완료된 활동을 위한 날씨 자료를 얻으십시오 -: 운동과 활동을 가진 달력 자료 보기 -: 어떤 MCP-compatible 클라이언트 (Claude Desktop, etc.)에 일하십시오. 2. MCP 클라이언트(예: Claude Desktop)에 구성: Garmin Workouts MCP Server는 Garmin Connect와 garth [https://github.com/matin/garth].를 사용하여 인증합니다. Garmin 자격 증명을 제공하는 두 가지 주요 방법이 있습니다. Garmin Connect 이메일 및 암호를 MCP 서버 시작 전에 환경 변수로 설정할 수 있습니다.
개요(AI 번역)
MCP 서버는 MCP 호환 클라이언트를 통해 자연 언어 설명을 사용하여 Garmin Connect workout을 만들 수 있습니다.
특징
- ** 운동 **: AI를 이용한 자연적인 언어 묘사에서 구조화된 Garmin 운동 -List 운동: Garmin Connect의 모든 기존 운동 보기
- ** 운동 세부사항을 얻으십시오 **: 특정 운동에 대한 자세한 정보를 검색
- ** 일정 **: Garmin Connect의 특정 날짜에 일정 운동
- **Delete 운동 **: Garmin Connect에서 운동 제거
- Activity 관리: 목록,보기, 및 완료된 활동에 대한 날씨 데이터를 얻을
- Calendar 통합: 연습 및 활동으로 캘린더 데이터보기
- MCP 통합: 모든 MCP 호환 클라이언트(Claude Desktop 등)
설치
-
uvx를 사용하여 설치하고 실행하십시오:
-
MCP 클라이언트(예: Claude Desktop)에 구성:
MCP 클라이언트 구성에 추가:
인증
Garmin Workouts MCP Server는 Garmin Connect를 사용하여 인증합니다. garth [https://github.com/matin/garth].] Garmin 자격 증명을 제공하는 두 가지 주요 방법이 있습니다.
##1. 환경 변수 사용
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Garmin Workouts MCP Server
An MCP server that allows you to create, list, and manage Garmin Connect workouts using natural language descriptions through MCP-compatible clients.
Features
- Create workouts: Generate structured Garmin workouts from natural language descriptions using AI
- List workouts: View all your existing workouts on Garmin Connect
- Get workout details: Retrieve detailed information about specific workouts
- Schedule workouts: Schedule workouts on specific dates in Garmin Connect
- Delete workouts: Remove workouts from Garmin Connect
- Activity management: List, view, and get weather data for completed activities
- Calendar integration: View calendar data with workouts and activities
- MCP Integration: Works with any MCP-compatible client (Claude Desktop, etc.)
Setup
- Install and run using uvx:
uvx garmin-workouts-mcp
- Configure in your MCP client (e.g., Claude Desktop):
Add to your MCP client configuration:
{
"mcpServers": {
"garmin-workouts": {
"command": "uvx",
"args": ["garmin-workouts-mcp"],
"env": { # See Authentication section for details
"GARMIN_EMAIL": "[email protected]",
"GARMIN_PASSWORD": "your_password"
}
}
}
}
Authentication
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.
GARMIN_EMAIL: Your Garmin Connect email address.GARMIN_PASSWORD: Your Garmin Connect password.
Example:
export GARMIN_EMAIL="[email protected]"
export GARMIN_PASSWORD="your_password"
uvx garmin-workouts-mcp
2. Out-of-Band Authentication with garth
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")
설치
uvx garmin-workouts-mcp설정
{
"mcpServers": {
"garmin-workouts": {
"command": "uvx",
"args": ["garmin-workouts-mcp"],
"env": { # See Authentication section for details
"GARMIN_EMAIL": "[email protected]",
"GARMIN_PASSWORD": "your_password"
}
}
}
}