Логотип Coros Mcp Login Gateway

Coros Mcp Login Gateway

Організація
coroslab
coros_mcp_login_gateway

Connect or refresh COROS MCP through the global gateway, configure OpenClaw, and discover and call COROS tools for private activity and health queries, training plans, workout templates, and scheduled workouts.

Огляд

Видавецьcoroslab
РепозиторійCOROS-MCP
Назва навичкиcoros_mcp_login_gateway
Зірки
80
Форки
2
Файли в пакеті
2
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: coroslab. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Coros Mcp Login Gateway у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/coroslab/COROS-MCP/tree/main/skill/coros_mcp_login_gateway
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/coroslab/COROS-MCP.git /tmp/COROS-MCP
mkdir -p .claude/skills
cp -r /tmp/COROS-MCP/skill/coros_mcp_login_gateway .claude/skills/coros_mcp_login_gateway
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Coros Mcp Login Gateway в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Coros Mcp Login Gateway, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Coros Mcp Login Gateway не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

COROS MCP Login (Gateway)

Use this skill to connect through mcp.coros.com, keep the gateway-selected CN, EU, or US cluster, and handle the user's COROS data or training requests through the helper's dynamically discovered tools.

What to do

  1. Work from this skill directory, which contains scripts/coros_mcp_login.py.
  2. Prefer the resilient two-step flow when the browser might open on another machine, or when the CLI process may not stay alive the whole time:
bash
python3 scripts/coros_mcp_login.py login-start
python3 scripts/coros_mcp_login.py login-finish
python3 scripts/coros_mcp_login.py apply-openclaw --server-name coros
  1. For a single-machine or quick refresh flow, use the one-shot helper:
bash
python3 scripts/coros_mcp_login.py apply-openclaw --server-name coros
  1. The helper defaults to https://mcp.coros.com, reads the gateway-selected issuer from discovery, and then pins login, token refresh, MCP calls, and local cache files to that concrete regional issuer.

  2. If there is no local token cache yet, the helper will print a browser login link. Tell the user to open that link on their phone or computer browser and complete the COROS login there.

  3. If you used login-start, the helper saves the pending login locally on that same machine. After the user finishes the browser login, run login-finish on the original machine to complete the token save.

  4. To discover what this COROS MCP server currently supports, list tools dynamically. This command reuses a short-lived local cache first, so repeated requests stay fast:

bash
python3 scripts/coros_mcp_login.py list-tools

Use --refresh only when you specifically want to force a live re-fetch from /mcp:

bash
python3 scripts/coros_mcp_login.py list-tools --refresh
  1. Before calling an unfamiliar tool, inspect its schema:
bash
python3 scripts/coros_mcp_login.py describe-tool --tool queryUserInfo
  1. To call a tool directly through this helper, pass a JSON object for the tool arguments:
bash
python3 scripts/coros_mcp_login.py call-tool --tool queryUserInfo --arguments-json '{}'
  1. After the OpenClaw setup command succeeds, verify the saved MCP entry exists:
bash
openclaw mcp show coros
  1. Tell the user plainly whether:
  • the saved COROS MCP entry was created or refreshed
  • a fresh login was needed or cached login was reused
  • the gateway resolved to CN, EU, or US if that matters for the request
  • the helper was able to initialize /mcp and discover/call the requested tool
  • any manual next step is still needed

Training requests

Read this section when the user wants to create, modify, save or schedule training. These actions change the user's COROS account; a request for advice or a draft alone is not permission to save it.

Refresh list-tools --refresh if newly documented tools are missing, then use the actual tool names and schemas returned by the connected server. Before each unfamiliar write tool, use describe-tool to inspect its full description and nested arguments. Do not guess fields from the examples below or assume that all regions have the same deployed version.

User intentTool routeImportant distinction
View my training plansqueryTrainingPlanLibrary → queryTrainingPlanDetails when detail is neededA plan library is not the day-by-day schedule.
Create a multi-week planqueryTrainingPlanLibrary → createTrainingPlanCheck existing plans first; explain overlapping in-progress plans and obtain confirmation before creation.
Modify an existing planqueryTrainingPlanLibrary → queryTrainingPlanDetails → updateTrainingPlanUse only an in-progress execution record with recordRole=execution and editable=true.
Browse reusable workoutsqueryWorkoutLibrary → queryWorkoutDetails when neededThese are templates in the user's own library.
Save a reusable templatecreateSingleWorkoutSaves only to the library, without a date.
Modify a library templatequeryWorkoutDetails → updateWorkoutDetailsDoes not alter copies already placed on the schedule.
Create a brand-new workout on a datecreateScheduledWorkoutSaves directly to that date, not to the library; do not create a template just to schedule it.
Put an existing library workout on a datequeryWorkoutLibrary → scheduleWorkoutCopies the existing template, leaving the original unchanged.
View or modify a standalone workout on a datequeryTrainingSchedule → queryScheduledWorkoutDetails → updateScheduledWorkout only when an edit is requestedUse the returned date and idInPlan; plan workouts instead use updateTrainingPlan.

Preserve the correct training content

  • Obtain all identifiers from actual results. Pass plan, library-workout and scheduled-copy identifiers as full decimal strings where the live schema requires them; never interchange them or display internal IDs to the user.
  • Always read the corresponding details before editing. For a library workout or standalone scheduled workout, start from the returned course JSON, change only what the user requested and submit the complete course. Preserve unchanged sections, intensity metrics and values, free-mode targets and unset-intensity fields.
  • Plan updates are incremental by day, not by individual workout: omitted days stay unchanged, but each submitted day replaces all workouts on that day. Include every workout that must remain that day. A rest entry clears the whole day. A day with any completed workout is skipped; report these skips honestly.
  • New plans cover 4–16 natural Monday–Sunday weeks and start between today and 14 days from today. The first week may be partial; the final week must contain a workout. Changing the total length requires the complete matching phase table, and shortening can remove workouts after the new end date.
  • New structured workouts support running, cycling and trail running. Training-course sport codes are 1/2/5 (4 for a plan rest day), not activity-record codes such as 100/200. Existing library strength or swimming workouts may be scheduled even though creating or editing them is unsupported.
  • createScheduledWorkout and scheduleWorkout accept a single date from today through today + 90 days, inclusive, using the COROS account timezone. Read the live description for date, target, intensity and course-size constraints. Keep names and descriptions in natural athlete-facing language.
  • Multiple existing workouts on one date do not block adding another, but tell the user about other workouts returned by the server. Scheduling the same library workout on the same date does not add another copy; do not assume direct workout creation has the same duplicate protection.
  • Library templates and scheduled copies are independent. After updating a scheduled workout, use the saved idInPlan returned by that update for further changes, as it may differ.
  • Do not use creation as a workaround for a modification request, bypass editable=false, or clear all days to simulate quitting a plan. Moving or removing standalone scheduled workouts and quitting or deleting plans require the COROS App.

Verify writes and handle uncertain outcomes

  • A successful helper process does not by itself mean the requested training change succeeded: inspect isError and the returned content for rejection reasons, skipped days and actual saved results.
  • On a timeout, interrupted connection or incomplete response from a write, do not blindly repeat the call. Query the relevant library, plan or date first to determine whether the change was saved; if still uncertain, ask the user to verify in the COROS App before another write.
  • If a tool is absent after a live refresh, explain that the current connection does not expose it. Never claim a change was saved when only a proposed plan was produced.

Example routing

  • "Add a new 30-minute easy run for tomorrow": inspect createScheduledWorkout, resolve tomorrow's date, design the course and save directly to the schedule.
  • "Shorten tomorrow's run": query the schedule, identify whether it is a plan workout or a standalone copy, read the appropriate details, then update that object while preserving other content.
  • "Save this as a reusable workout": use createSingleWorkout; do not schedule it unless the user also requests a date.

Notes

  • Use apply-openclaw for setup or refresh. It will reuse saved login when possible and otherwise start the browser-based login flow.
  • Use login-start + login-finish when the browser may be on a different computer, or when the original terminal might be interrupted before the login completes.
  • Use login-status to check whether the original machine still has a saved pending login and to reprint the browser link.
  • Gateway mode keeps separate local state under ~/.coros-mcp-skill-gateway/<region>/, so CN, EU, and US tokens do not overwrite each other.
  • If you must force a specific cluster, pass --issuer https://mcpcn.coros.com, --issuer https://mcpeu.coros.com, or --issuer https://mcpus.coros.com.
  • list-tools, describe-tool, and call-tool automatically reuse the local token cache and refresh the token before MCP requests when it is near expiry.
  • list-tools and describe-tool reuse a short-lived local tool catalog cache by default. Use --refresh when you want the latest live tool list immediately.
  • MCP runtime calls use the current stateless /mcp flow; do not require Mcp-Session-Id and do not send notifications/initialized.
  • For natural-language requests, first run cached list-tools, choose the best matching tool from the current server response, inspect it with describe-tool only when the arguments are not obvious, then run call-tool.
  • If the selected tool needs required arguments that are still missing, ask the user only for those missing fields instead of dumping the full schema back to them.
  • If the user explicitly asks to keep using the old password-based flow, run the helper with --legacy and pass --username. The password will be prompted interactively.
  • Use logout only if the user explicitly asks to clear saved local login state.
  • Do not invent a second config path; always use the helper in this skill's scripts/ directory.
  • This is the hardened version. Token values are never printed to stdout. Error messages are sanitized to prevent sensitive data leakage.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Coros Mcp Login Gateway?

Connect or refresh COROS MCP through the global gateway, configure OpenClaw, and discover and call COROS tools for private activity and health queries, training plans, workout templates, and scheduled workouts.

Навіщо використовувати Coros Mcp Login Gateway у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Coros Mcp Login Gateway — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Coros Mcp Login Gateway у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/coroslab/COROS-MCP/tree/main/skill/coros_mcp_login_gateway. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Coros Mcp Login Gateway?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Coros Mcp Login Gateway?

Зі скількома забажаєте. У TypingMind ви можете використовувати Coros Mcp Login Gateway із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Coros Mcp Login Gateway?

На GitHub цю навичку публікує coroslab. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇