McCann made 30 appearances for Ayr last season, scoring four goals
Stockport County have signed midfielders Ryan McCann and Euan Holden, and forward Sam Sheridan.
McCann, 29, is a former Celtic trainee who was released from Ayr Utd at the end of last season.
Holden, 23, is the younger brother of Bolton midfielder Stuart Holden and has had a recent spell in Denmark playing for Vejle BK and FC Hjørring.
Sheridan, 21, is a former Ireland Under-19 international who has come through the youth system at Bolton.