The owner of short-term rental property is required to register each property through Mass Tax Connect. The operator, or intermediary engaged by the operator, is responsible for collecting and paying both local and state taxes.
More information can be found on the Room Occupancy Excise Tax page on Mass.gov.