The MPSA56G is manufactured in a plastic TO-92 case. When looking at the flat side with the leads pointed downward, the three leads emerging from the transistor are, from left to right, the emitter, base, and collector leads. Here is an image showing the pin diagram of this transistor.
Complementary NPN transistor
The complementary NPN transistor to the MPSA56G is the MPSA06G.
SMD Version of MPSA56G transistor
The 2SA1202-Y (SOT-89), 2SA1368-E (SOT-89), 2SA1620-Y (SOT-23), KTA1662Y (SOT-89), MMBTA56 (SOT-23), PMBTA56 (SOT-23), PZTA56 (SOT-223) and SMBTA56 (SOT-23) is the SMD version of the MPSA56G transistor. These transistors are of the same type, have similar parameters and are designed for surface mounting.