GO:0004977: melanocortin receptor activity
Combining with melanocortin to initiate a change in cell activity.