XML 111 R82.htm IDEA: XBRL DOCUMENT
v3.25.3

Risks and Uncertainties - Schedule of Customer Concentration Risk (Details) - USD ($) | 12 Months Ended
--- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2023
Customer Concentration Risk [Member] | Customer A [Member] | Total Revenues [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount | $ 5,163,870 |  |
Concentration risk, percentage | 20.40% |  |
Customer Concentration Risk [Member] | Customer A [Member] | Accounts Receivable [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount | $ 1,751,895 | $ 1,155,901 |
Concentration risk, percentage | 30.80% | 15.60% |
Customer Concentration Risk [Member] | Customer B [Member] | Total Revenues [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount |  | $ 7,257,128 | $ 6,334,447
Concentration risk, percentage |  | 18.80% | 13.90%
Customer Concentration Risk [Member] | Customer B [Member] | Accounts Receivable [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount |  | $ 813,403 |
Concentration risk, percentage |  | 10.90% |
Customer Concentration Risk [Member] | Customer C [Member] | Accounts Receivable [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount | $ 684,830 | $ 818,835 |
Concentration risk, percentage | 12.00% | 11.00% |
Customer Concentration Risk [Member] | Customer D [Member] | Accounts Receivable [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount | $ 587,190 |  |
Concentration risk, percentage | 10.30% |  |
Supplier Concentration Risk [Member] | Supplier A [Member] | Total Purchases [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount |  | $ 2,963,186 | $ 4,390,127
Concentration risk, percentage |  | 19.70% | 21.50%
Supplier Concentration Risk [Member] | Supplier B [Member] | Total Purchases [Member] |  |  |
Schedule of Customer Concentration Risk [Line Items] |  |  |
Concentration risk, amount |  | $ 2,009,756 | $ 2,070,918
Concentration risk, percentage |  | 13.30% | 10.10%

X
- Definition The amount of concentration risk. + References No definition available. + Details
Name: | mgih_ConcentrationRiskAmount
Namespace Prefix: | mgih_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-42 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 275 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-18 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 275 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-18 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 275 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 20 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-20 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 275 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-18 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 275 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-18 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 275 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482861/275-10-50-18 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mgih_CustomerAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_SalesRevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_AccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mgih_CustomerBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mgih_CustomerCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=mgih_CustomerDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_SupplierConcentrationRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis=mgih_SupplierAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=mgih_TotalPurchasesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis=mgih_SupplierBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |