Preheat the oven to 425F.
Using a spoon, press out a small circle in the bread for the egg. Be sure not to rip through the bottom of the bread.
Crack the egg into the hole. Top with diced tomatoes, cheese, red pepper flakes and salt.
Repeat with second slice of bread.
Bake the toasts at 425F, uncovered, until egg is cooked through (about 12-15 minutes). Check the eggs around 10 minutes to make sure they are not going to overcook.
Garnish with fresh basil to serve.