McCain was released this year after signing a three-year, $5.25 million contract a year ago.
McCain started four of 16 games last season and had 25 tackles and one interception last season.
McCain played collegiately at Utah.
For his career, McCain has 124 tackles and five interceptions.
Follow me on Twitter: @RavensInsider
Aaron Wilson covers the Ravens for The Baltimore Sun