A system and method for constructing a modular frame structure is provided. The system includes brackets to which structural members can be fastened to form a building frame. Each bracket has between three and six attachment elements positioned at right angles to an adjacent attachment element. A structural member, such as a beam or post, can be fastened to each attachment element to form a moment resisting connection. The brackets are manufactured in standard sizes and configurations so that a set of brackets can be used to construct a modular frame structure of a desired size and configuration.