TODAY: Miami has announced the signing of McGehee.

YESTERDAY, 4:38pm: McGehee is actually still on release waivers until tomorrow, MLB.com’s Joe Frisaro tweets. Once he clears, the Marlins are expected to make “a strong push” to sign him. McGehee is represented by Meister Sports Management.

4:12pm: The Marlins have agreed to terms with infielder Casey McGehee, Andy Slater of 940 AM-WINZ tweets. Slater notes that McGehee should join the team on Friday.

The Giants released McGehee yesterday, according to MLB.com’s transactions page. They had previously designated him for assignment after an awful .213/.275/.299 performance in 138 plate appearances. The Giants will still be on the hook for most of the remainder of McGehee’s $4.8MM salary.

With Martin Prado on the disabled list with a shoulder issue, the Marlins have lately gone with Derek Dietrich and Miguel Rojas at third base, the position McGehee has played almost exclusively in the big leagues since last season. Both Dietrich and Rojas have performed well at the Triple-A level this year, and Dietrich is also off to a good start in the big leagues, hitting .259/.333/.481 in 60 plate appearances.

Dietrich is, however, left-handed, as is primary first baseman Justin Bour. One would think the right-handed McGehee would still be able to play first base, so the he could potentially fill for one or the other against left-handed pitching. The Marlins already have righty first base options in Michael Morse and Jeff Baker, although Morse is in the midst of a very poor season and Baker is currently dealing with an oblique injury. McGehee has struggled this season too, of course, although the fact that he performed well with the Marlins in 2014 (after which they traded him to San Francisco) might earn him more chances in Miami than he might receive elsewhere. The corresponding move the Marlins make when they officially add McGehee to their roster will likely help explain how they plan to use him.