Fill a cocktail shaker with ice cubes.
Pour in crème de menthe, crème de cacao, and heavy cream.
Shake well until the mixture is chilled and frothy.
Strain into a chilled cocktail glass.
Garnish with chocolate shavings or mint leaves if desired.
Serve immediately and enjoy!