The 22-year-old former Celtic player had agreed a pre-contract deal to move in the summer but has now linked up with Tommy Wright's side.
McCart has also previously played for St Mirren and Alloa Athletic – both on loan – and was capped by Scotland at U21 level.