You are using staging server - a separate instance of the ESP Component Registry that allows you to try distribution tools and processes without affecting the real registry.
2.3.1
idf.py add-dependency "espressif/mdns^2.3.1"