Massachusetts took a step toward preparing for increasingly severe storms Thursday, passing a bill that would make the state evaluate the practical effects flooding and sea-level change could have on Boston and the coastline.

The Senate passed legislation that would mandate that the state come up with a comprehensive plan to measure and prepare endangered assets — like utilities, public buildings and lands as well as private holdings — that would be threatened by super storms and flooding. This comprehensive adaptation plan would then be considered as part of all future permitting and project planning the state takes on.

"We have to ensure there's comprehensive management plan that's in place," Taunton Sen. Marc Pacheco, the sponsor of the bill told WGBH News after the unanimous vote. "That people will be working to prevent the worst effects of climate change."

Some backers of the bill say that Massachusetts has been a leader in fighting to mitigate climate change through clean energy policies, but hasn't done a good enough job preparing for the more immediate devastations sea level rise can have on a coastal state.

The Senate also added a provision to the bill to expand solar energy development.

The adaptation bill will have to pass the House and be approved by Gov. Charlie Baker before it becomes law.