Agent Skill · COROS

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.

Provider: COROS Path in repo: coros_mcp_login_gateway/SKILL.md

Skill body

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:
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:
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:

python3 scripts/coros_mcp_login.py list-tools

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

python3 scripts/coros_mcp_login.py list-tools --refresh
  1. Before calling an unfamiliar tool, inspect its schema:
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:
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:
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 intent Tool route Important distinction
View my training plans queryTrainingPlanLibrary → queryTrainingPlanDetails when detail is needed A plan library is not the day-by-day schedule.
Create a multi-week plan queryTrainingPlanLibrary → createTrainingPlan Check existing plans first; explain overlapping in-progress plans and obtain confirmation before creation.
Modify an existing plan queryTrainingPlanLibrary → queryTrainingPlanDetails → updateTrainingPlan Use only an in-progress execution record with recordRole=execution and editable=true.
Browse reusable workouts queryWorkoutLibrary → queryWorkoutDetails when needed These are templates in the user’s own library.
Save a reusable template createSingleWorkout Saves only to the library, without a date.
Modify a library template queryWorkoutDetails → updateWorkoutDetails Does not alter copies already placed on the schedule.
Create a brand-new workout on a date createScheduledWorkout Saves directly to that date, not to the library; do not create a template just to schedule it.
Put an existing library workout on a date queryWorkoutLibrary → scheduleWorkout Copies the existing template, leaving the original unchanged.
View or modify a standalone workout on a date queryTrainingSchedule → queryScheduledWorkoutDetails → updateScheduledWorkout only when an edit is requested Use the returned date and idInPlan; plan workouts instead use updateTrainingPlan.

Preserve the correct training content

Verify writes and handle uncertain outcomes

Example routing

Notes

Skill frontmatter

metadata: {"openclaw" => {"requires" => {"bins" => ["python3", "openclaw"]}}}

Work with this as data

Every skill here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for agent skills

4 MCP tools reach this
  • find_skillsBrowse and filter every skill in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This skill
curl "https://apis.io/api/v1/skills/coros-mcp-login-gateway"
All agent skills
curl "https://apis.io/api/v1/skills?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.