MCPサーバー

Garmin Connect (treinos)

io.github.mcp-dir/garmin-mcp
IoT・ハードウェア 公開・接続可能 MCP 2025-11-25

このMCPでできること

Manages structured Garmin Connect workouts, including creation, retrieval, editing, deletion, scheduling, and unscheduling.

authenticate
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'token': {'type': 'string'}}}
connect
Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
garmin_delete_workout
Delete a workout template from Garmin Connect by workout_id. Bulk support: accepts workout_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workout_id'], 'properties': {'account': {'type': 'string'}, 'workout_id': {'type': 'string'}, 'workout_ids': {'type': 'array', 'items': {'type': 'string'}}}}
garmin_edit_workout
Replace a workout: uploads a new workout from payload, then deletes workout_id (no native PUT). Returns new workout_id and previous_workout_id. Bulk support: accepts workout_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workout_id', 'workout'], 'properties': {'account': {'type': 'string'}, 'workout': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'workout_id': {'type': 'string'}, 'workout_ids': {'type': 'array', 'items': {'type': 'string'}}}}
garmin_get_scheduled_workout
Get one scheduled workout entry by scheduled_workout_id. Bulk support: accepts scheduled_workout_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['scheduled_workout_id'], 'properties': {'account': {'type': 'string'}, 'scheduled_workout_id': {'type': 'string'}, 'scheduled_workout_ids': {'type': 'array', 'items': {'type': 'string'}}}}
garmin_get_workout
Get one workout template by workout_id (full structure: segments, steps, targets). Includes raw_data JSON string. Bulk support: accepts workout_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workout_id'], 'properties': {'account': {'type': 'string'}, 'workout_id': {'type': 'string'}, 'workout_ids': {'type': 'array', 'items': {'type': 'string'}}}}
garmin_list_accounts
List all Garmin logins linked to this install (id, email, label, created_at).
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
garmin_list_scheduled_workouts
List calendar scheduled workouts for a given month/year from Garmin calendar-service.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['year', 'month'], 'properties': {'year': {'type': 'number'}, 'month': {'type': 'number'}, 'account': {'type': 'string'}}}
garmin_list_workouts
List saved workouts from Garmin Connect (workout-service). Returns summaries plus raw_data (full JSON string from Garmin).
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'default': 20}, 'start': {'type': 'number', 'default': 0}, 'account': {'type': 'string'}}}
garmin_schedule_workout
Schedule an existing workout onto the calendar. date must be YYYY-MM-DD (or ISO-8601 date prefix). Returns Garmin schedule response as raw_data. Bulk support: accepts workout_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workout_id', 'date'], 'properties': {'date': {'type': 'string'}, 'account': {'type': 'string'}, 'workout_id': {'type': 'string'}, 'workout_ids': {'type': 'array', 'items': {'type': 'string'}}}}
garmin_submit_workout
Create a new structured workout on Garmin Connect. Body must match Garmin API (workoutName, sportType, workoutSegments with ExecutableStepDTO / RepeatGroupDTO). You may omit displayOrder/displayable everywhere and the endCondition on RepeatGroupDTO — the server normalizes them automatically (see workout.description). Multi-sport: sportTypeKey multi_sport (typically sportTypeId 5) with one segment per discipline. Returns workout_id and raw_data.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['workout'], 'properties': {'account': {'type': 'string'}, 'workout': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
garmin_unschedule_workout
Remove workout from calendar by scheduled_workout_id (does not delete the workout template). Bulk support: accepts scheduled_workout_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['scheduled_workout_id'], 'properties': {'account': {'type': 'string'}, 'scheduled_workout_id': {'type': 'string'}, 'scheduled_workout_ids': {'type': 'array', 'items': {'type': 'string'}}}}
marketplace
The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
外部アクセスあり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'default': 10}, 'query': {'type': 'string', 'default': ''}, 'action': {'enum': ['search', 'describe', 'install', 'uninstall', 'subscribe', 'cancel', 'resume', 'report_bug', 'request_mcp', 'list_tools', 'invoke', 'search_prompts', 'get_prompt', 'publish_prompt'], 'type': 'string', 'default': 'search'}, 'mcp_id': {'type': 'string', 'default': ''}, 'message': {'type': 'string', 'default': ''}, 'tool_id': {'type': 'string', 'default': ''}, 'arguments': {'type': 'string', 'default': '{}'}, 'immediate': {'type': 'boolean', 'default': False}, 'tier_slug': {'type': 'string', 'default': ''}, 'prompt_body': {'type': 'string', 'default': ''}, 'prompt_slug': {'type': 'string', 'default': ''}, 'prompt_tool': {'type': 'string', 'default': ''}, 'prompt_vars': {'type': 'string', 'default': '{}'}, 'conversation': {'type': 'string', 'default': '[]'}, 'prompt_title': {'type': 'string', 'default': ''}, 'request_name': {'type': 'string', 'default': ''}, 'cancel_reason': {'enum': ['too_expensive', 'missing_features', 'switched_service', 'unused', 'customer_service', 'too_complex', 'low_quality', 'other'], 'type': 'string'}, 'cancel_comment': {'type': 'string', 'default': ''}, 'prompt_targets': {'type': 'array', 'items': {'enum': ['claude', 'chatgpt', 'cursor', 'lovable'], 'type': 'string'}, 'default': []}, 'report_context': {'type': 'string', 'default': ''}, 'prompt_category': {'type': 'string', 'default': ''}, 'request_details': {'type': 'string', 'default': ''}, 'prompt_description': {'type': 'string', 'default': ''}}}
report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['message'], 'properties': {'context': {'type': 'string', 'default': ''}, 'message': {'type': 'string'}, 'conversation': {'type': 'string', 'default': '[]'}}}
show_version
Show the current MCP platform and adapter versions.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
toolkit_info
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
追加
authenticate
2026年9月17日12:44
追加
marketplace
2026年9月17日12:44
追加
toolkit_info
2026年9月17日12:44
追加
connect
2026年9月17日12:44
追加
report_bug
2026年9月17日12:44
追加
show_version
2026年9月17日12:44
追加
garmin_unschedule_workout
2026年9月17日12:44
追加
garmin_get_scheduled_workout
2026年9月17日12:44
追加
garmin_list_scheduled_workouts
2026年9月17日12:44
追加
garmin_schedule_workout
2026年9月17日12:44
追加
garmin_delete_workout
2026年9月17日12:44
追加
garmin_edit_workout
2026年9月17日12:44
追加
garmin_submit_workout
2026年9月17日12:44
追加
garmin_get_workout
2026年9月17日12:44
追加
garmin_list_workouts
2026年9月17日12:44
追加
garmin_list_accounts
2026年9月17日12:44