I have a MBP 15" 2011 model and has is the burned magsafe port (leftmost pin melted) which i noticed today.
The connector gets too hot sometimes ( but remains ok when I charge in sleep mode). Sometimes the charging will stop and LED will become green and then I reconnect it to get it in charging mode.
The Frayed cable: very light cut at connector side

and heavily frayed at brick as shown.

So what should I do now and how much would it cost to repair this? Should I buy a new charger?
Also I live at a place where there is no Apple Service Center (nearest one is 300 km away). So, can I use these things as they are for 2 weeks i.e. by charging in sleep mode or when the port doesn't get hot while charging.
