Click on the MetaMask logo then click on expand view.
Click on the Ethereum Mainnet tab to add the Moonbeam network. Scroll down until you find Custom RPC