After tweeting in February that she wasn't asked to return to the series, McCarthy announced on Friday's episode of "The Ellen DeGeneres Show" that her character will indeed come back to Stars Hollow, the fictional Connecticut city where the series is set.
"There has been something that I've been asked about so, so many times, and it hasn't worked out. They're making four new movies of the 'Gilmore Girls,' which is a show that was near and dear to my heart ... and we could not get those schedules to work," McCarthy, 45, said.
"There was a whole thing and then I was going to be out of the country, and literally about an hour and a half ago, we figured out that I'm going to go back and do it, and I am so excited!" she continued
"The Boss" actress said she's really excited to reunite with Lorelai and Rory Gilmore.
"They're going to be amazing! Amy Sherman-Palladino is going to squeeze me in to do it," McCarthy said, referencing the series' creator. "And I'm very happy to go back to Stars Hollow. It just happened. I got asked a lot about it."
Previously, Sherman-Palladino said that she'd be happy to write McCarthy into a scene.
"Melissa was one of us," Sherman-Palladino told TV Line. "If she has a spare moment to run over [to the set] -- even if for just a cameo -- we would be totally game. And if it's a last-minute thing, I would write her in and we would figure it out."
There's no word on a premiere date just yet for the Netflix revival.