It won't chemically react with the Metoprolol, if that's the concern.
However, most people have some reaction to coffee, in terms of heart rate or arrhythmia. If you have arrhythmia or heart rate problems, or very recently had your OHS, regular coffee is not a good bet for you. If you're taking the Metoprolol just for blood pressure, maybe not so bad.
It can be noted that not everyone does react that way to caffeine, and not to the same extent. Yet there's no question that for some people, the coffee could undo the value of the metoprolol as an anti-arrhythmic.
So, you should ask your doctor. That's the smart thing to do.
If he or she is not absolutely against it, try a few sips of half-decaf, and see what happens over the next hour. Many of us do drink some coffee despite the debatable risk (I take my BP meds with coffee most ayems). I did start out on half-decaf after surgery, though.
Again, if you have had arrhythmia issues or heart rate issues, or if there is an unrecognized tendency toward them, there is a risk of starting them up by getting your morning cuppa java. The smart thing is to ask your doctor first, because he or she knows your heart history.
Best wishes,