1 oz of sweet vermouth
1/2 oz of rye
2 tsp of Maraschino liqueur (or cherry liqueur)
1 rinse of espresso (or coffee)
1 dash of bitters
Stir well all in vessel containing espresso foam (make the shot(s) in something other than a demitasse) then shake on ice and strain in vessel of choice.