The problem of preparing hot beverages on Shabbat revolves around the temperature of the water.
Using a Kos sheini is acceptable because when the liquid is poured (Erui kos sheini) some of the heat is transferred into the atmosphere, and therefore the liquid loses some heat.