XML 78 R49.htm IDEA: XBRL DOCUMENT
v3.25.3

Significant Accounting Policies (Details) | 12 Months Ended |
--- | --- | ---
Jun. 30, 2025 USD ($) | Jun. 30, 2024 USD ($) | Jun. 30, 2023 USD ($) | Dec. 11, 2023 VND (₫)
Significant Accounting Policies [Line Items] |  |  |  |
Bank deposits | $ 87,842 |  |  |
Estimated useful life |  |  |  | 5 years
Prepayment for land | 4,115,337 | $ 4,001,282 |  |
Reclassification of VAT | 356,870 |  |  |
Right of use asset, net (in Dong) | $ 3,177,674 | 3,474,737 |  |
Net profit reserve fund percentage | 10.00% |  |  |
Registered capital percentage | 50.00% |  |  |
Contributions percentage | 5.00% |  |  |
Relevant income | $ 3,851 |  |  |
Defined contribution plan | $ 1,007,806 | $ 2,011,534 | $ 1,205,697 |
Value added tax rate | 13.00% |  |  |
Reportable segment | 1 |  |  |
Huizhou Yimeinuo Industry Co., Ltd. [Member] |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |
Term lease |  |  |  | 35 years
Land use Rights [Member] |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |
Prepayment for land | $ 3,758,467 |  |  |
Maximum [Member] |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |
Term lease |  |  |  | 50 years
Other Noncurrent Assets [Member] |  |  |  |
Significant Accounting Policies [Line Items] |  |  |  |
Right of use asset, net (in Dong) | ₫ |  |  |  | ₫ 102,476,000,000
Contract for right to use of land (in Dong) | ₫ |  |  |  | ₫ 102,469,851,440

X
- Definition Amount of contract for the right to use of land. + References No definition available. + Details
Name: | mgih_ContractForRightToUseOfLand
Namespace Prefix: | mgih_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of net profit to the reserve fund. + References No definition available. + Details
Name: | mgih_NetProfitReserveFundPercentage
Namespace Prefix: | mgih_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prepayment for land. + References No definition available. + Details
Name: | mgih_PrepaymentForLand
Namespace Prefix: | mgih_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The reclassification of VAT permanent account. + References No definition available. + Details
Name: | mgih_ReclassifiedOfVATToPermanentAccount
Namespace Prefix: | mgih_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of registered capital. + References No definition available. + Details
Name: | mgih_RegisteredCapitalPercentage
Namespace Prefix: | mgih_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of right-of-use assets net. + References No definition available. + Details
Name: | mgih_RightofuseAssetsROUNet
Namespace Prefix: | mgih_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The percentage of value added tax rate. + References No definition available. + Details
Name: | mgih_ValueAddedTaxRate
Namespace Prefix: | mgih_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of interest-bearing funds deposited into another Federal Home Loan Banks (FHLBanks). + References No definition available. + Details
Name: | us-gaap_DepositsWithOtherFederalHomeLoanBanks
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Remaining lease term of finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-7A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeFinanceLeaseRemainingLeaseTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 47 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-47 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 54 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-54 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of revenue and income classified as other. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-14 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-11 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(Footnote 6)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(1)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_OtherIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477908/944-505-50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477908/944-505-50-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477908/944-505-50-5 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477908/944-505-50-3 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477908/944-505-50-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(23)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_StatutoryAccountingPracticesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=mgih_HuizhouYimeinuoIndustryCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandAndLandImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |