This idiom is used to show strong agreement with what another person has said. It means the same, but is more formal then: You can say that again.
“This kind of bigotry cannot be tolerated at our company,” asserted the manager.
“I couldn’t agree more,” I added.