A method and system for automated repair of a machine component is provided. According to the proposed method, a first geometry of the component, including a damaged portion of the component, is digitalized. A trough is then machined over the damaged portion of the component. The machining is numerically controlled using digitalized geometrical data of the first geometry of the component. A second geometry of the component is then digitalized subsequent to the machining, the second geometry including the trough. Subsequently, a material is deposited over the trough. The deposition of the material is numerically controlled digitalized geometrical data of the second geometry of the component.