Loading...
Loading...
Execute mcloud organizations commands to list or get Cloud organizations. Use when discovering organizations, resolving organization IDs by name, or retrieving organization details including members and subscription.
npx skill4agent add medusajs/medusa-agent-skills mcloud-organizationsmcloud organizationsorganizations listMCLOUD_TOKENmcloud whoami --jsonmcloud organizations list --json--jsonmcloud organizations get <organization-id> --jsonorganization-o/--organization <id>--json| Field | Description |
|---|---|
| Organization ID |
| Organization display name |
| Billing contact email |
| |
| Array of member objects with |
| Current plan, period, and |
| Billing account holder details |
# List all organizations
mcloud organizations list --json
# Set context to first organization
ORGANIZATION_ID=$(
mcloud organizations list --json \
| jq -r '.[0].id'
)
mcloud use --organization "$ORGANIZATION_ID"
# Find organization ID by name
ORGANIZATION_ID=$(
mcloud organizations list --json \
| jq -r '.[] | select(.name == "My Organization") | .id'
)
# Get organization details (subscription, members)
mcloud organizations get org_123 --json
# List member emails
mcloud organizations get org_123 --json \
| jq -r '.members[].user.email'
# Check subscription plan
mcloud organizations get org_123 --json \
| jq '{plan: .subscription.plan.name, status: .subscription.is_active}'