If you insist on doing it yourself then make sure you read and understand the instructions fully. Examples of a MF junction box are the likes of this:
www.screwfix.com
But only when used with certain matching terminals, which appear to be these range:
www.screwfix.com
But you must read and follow the instructions fully. They might also specify a cable tie around the box to meet MF ratings, and you have to be competent and have the tools to strip the wire without damaging the conductor to the length specified for the terminals (sometimes they have a length indicator on the side of the terminal itself to help).
Also you will need some spare cable length to put that type in as it is not of the in-line style. Other folk might know of something that is easier to use, but without seeing the situation, etc, it is hard to tell.
Wago 41A Junction Box 39 x 108 x 44mm Grey - Screwfix
Order online at Screwfix.com. Multipurpose electrical junction enclosure with integrated, adjustable cable clamps. Designed for use with Wago 222 and 773 series connectors (both sold separately). Supports up to 6 cables. Fits through a 60mm dia. downlighter hole. FREE next day delivery...
Wago 222 Series 32A 2-Way Lever Connector 50 Pack - Screwfix
Order online at Screwfix.com. Simple and reusable, 2-way lever-operated connector for solid, stranded or flexible conductors. FREE next day delivery available, free collection in 1 minute.
Also you will need some spare cable length to put that type in as it is not of the in-line style. Other folk might know of something that is easier to use, but without seeing the situation, etc, it is hard to tell.