The MGF is famous for head gasket problems.
The K series had issues.
See
https://www.dmgrs.co.uk/pages/choosing-the-correct-k-series-head-gasket-kit
Most should have been fixed by now.
Get it done by an MG specialist.
There are also cooling upgrades for the car.
Filling with coolant is a specialist job as well.
These cars need care from an MG specialist.