The Cleveland Browns have agreed to a two-year deal with Jason McCourty, who will provide much-needed depth at cornerback.

The deal is worth up to $6 million, a source told ESPN's Adam Schefter.

McCourty played for the Tennessee Titans the past eight seasons, but became a free agent after he was released on April 18.