Is Cyprus a country in the middle east?

This depends on who is defining the Middle East, but generally, Cyprus is considered part of Europe. However, there is a minority opinion that because Cyprus is due south of Turkey that it is in "Asian space" and, therefore, physically part of the Middle East.

No, Cyprus is in the eastern Mediterranean.