This pulls runtime logs from your Cloud environments using the mcloud CLI. You can fetch backend or storefront logs, filter by time range, search for specific strings, or scope to a deployment ID. The JSON output mode works well for piping through jq when you're hunting down errors or analyzing patterns, though you'll need to use bounded time windows since JSON and live streaming don't mix. Default behavior grabs the last 500 lines from the past 15 minutes, which is usually enough for a quick check. The metadata filters are handy for zeroing in on HTTP status codes or other structured fields without regex wrangling.
npx skills add https://github.com/medusajs/medusa-agent-skills --skill mcloud-logs