Places off limits to carry in Montana are governed by Montana Code 45-8-328 which says:
(1) A person commits the offense of carrying a concealed weapon in a prohibited place if the person purposely or knowingly carries a concealed weapon in:
(a) portions of a building used for state or local government offices and related areas in the building that have been restricted;
(b) a bank, credit union, savings and loan institution, or similar institution during the institution's normal business hours. It is not an offense under this section to carry a concealed weapon while:
(i) using an institution's drive-up window, automatic teller machine, or unstaffed night depository; or
(ii) at or near a branch office of an institution in a mall, grocery store, or other place unless the person is inside the enclosure used for the institution's financial services or is using the institution's financial services.
(c) a room in which alcoholic beverages are sold, dispensed, and consumed under a license issued under Title 16 for the sale of alcoholic beverages for consumption on the premises.
Notice it says CONCEALED carry is banned in these locations. Open carry is allowed. Bear in mind Montana's preemption statute Montana Code 45-8-351:
(1) Except as provided in subsection (2), no county, city, town, consolidated local government, or other local government unit may prohibit, register, tax, license, or regulate the purchase, sale or other transfer (including delay in purchase, sale, or other transfer), ownership, possession, transportation, use, or unconcealed carrying of any weapon, including a rifle, shotgun, handgun, or concealed handgun.
(2) (a) For public safety purposes, a city or town may regulate the discharge of rifles, shotguns, and handguns. A county, city, town, consolidated local government, or other local government unit has power to prevent and suppress the carrying of concealed or unconcealed weapons to a public assembly, publicly owned building, park under its jurisdiction, or school, and the possession of firearms by convicted felons, adjudicated mental incompetents, illegal aliens, and minors.
(b) Nothing contained herein shall allow any government to prohibit the legitimate display of firearms at shows or other public occasions by collectors and others, nor shall anything contained herein prohibit the legitimate transportation of firearms through any jurisdiction, whether in airports or otherwise.
Montana cities can govern carry in locally owned parks, buildings, schools, and public assemblies.
Outside city limits, you can carry however you want w/ no permit required. If inside city limits, you need a permit to carry concealed, which Montana defines as "wholly or partially covered by clothing" per MC 45-8-315. Carrying in a glove box, console, encased, or on your person and not covered by clothing all do not meet the definition of concealed.
Hope this helps