Hello @a a
On-premises MFA Server is already deprecated by Microsoft to encourage use of Azure MFA. To protect On-prem resources with Azure MFA, NPS extension and ADFS 2016 or later versions can be used. However, if you want to have the MFA Server/Service hosted on-premises, you can choose to go with a 3rd party MFA solution.
-----------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.