Error storing credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH

I had the same issue when I tried to install mcp servers using the new mcp toolkit. This solution from stackoverflow helped me:
Go to ~/.docker/config.json and change credsStore to credStore. Then try docker login again.