medusajs avatar

Mcloud Logs

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.

skills.sh installs
1.5K
GitHub stars
236
last updated
Aug 21, 2026

Install

$ npx -y skills add medusajs/medusa-agent-skills --skill mcloud-logs --agent claude-code

Installs into .claude/skills of the current project.

Files

Cloud CLI: Logs Command

Execute mcloud logs to fetch runtime logs for a Cloud environment's backend or storefront.

Constraints

  • --follow and --json are incompatible. For programmatic log analysis, use bounded time windows with --from/--to and --json.
  • --follow streams until interrupted with Ctrl+C — do not use in scripts or pipelines.
  • Default retrieves the last 500 log lines from the past 15 minutes.

Command

mcloud logs \
  --organization <org-id> \
  --project <project-id-or-handle> \
  --environment <environment-handle> \
  [options]

Options

Sponsors

Details

Repository
github.com/medusajs/medusa-agent-skills
Categories
Backend & APIs, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from medusajs/medusa-agent-skills

All 15
1nexscope-ai avataretsy-seonexscope-ai/ecommerce-skillsEtsy SEO analyzer and optimizer. Improve search visibility with title optimization, tag analysis, description scoring, and keyword research. Includes SEO scorin1.5Kskills.sh installs
2callicrate avatarmake-documentationcallicrate/skillsUse when writing READMEs, architecture, changelogs, release notes, runbooks, notebook docs, install docs, or security articles; produces docs. Do not trigger fo1.5Kskills.sh installs
3forcedotcom avatarreviewing-lwc-mobile-offlineforcedotcom/sf-skillsReview a Lightning Web Component for **mobile offline** compatibility — the Komaci offline static analyzer that pre-primes the data graph for Salesforce Mobile 1.5Kskills.sh installs
4nvidia avatartilegym-converting-cutile-to-julianvidia/skillsConverts cuTile Python GPU kernels (@ct.kernel) to cuTile.jl Julia equivalents. Handles kernel syntax translation, 0-indexed to 1-indexed conversion, broadcasti1.5Kskills.sh installs
5affaan-m avatarito-market-intelligenceaffaan-m/eccResearch prediction-market events, venues, underliers, liquidity, and news context for Itô basket workflows. Use for read-only market intelligence, API-gated It1.5Kskills.sh installs
6mindrally avatarreact-querymindrally/skillsGuidelines for using React Query for data fetching, caching, and server state synchronization in React applications1.5Kskills.sh installs