(Repeats with no change to text)

* Obama's 2008 opponent may be key to White House success

* Draws praise from Democrats, fire from right-wingers

* 76-year-old maverick "back in his groove"

By Thomas Ferraro

WASHINGTON, Aug 2 (Reuters) - Republican U.S. Senator John McCain accidentally walked in on President Barack Obama this week when he was addressing a Democrats-only meeting of senators.

"Come on in, John," Obama shouted.

A red-faced McCain turned around and headed out to chuckles and then applause from the Democrats. "My mistake," McCain said.

To the far-right in the Republican Party, there is no mistake about it. In a party that generally brooks no compromise with Obama, McCain is the compromiser-in-chief. He's negotiating with the White House.

And he's in-their-face about it, having recently described as "wacko birds" two of the right's most uncompromising heroes, Senators Ted Cruz and Rand Paul.

A recent article in the conservative National Review described McCain as "Obama's secret weapon" and a "lethal threat" to a Republican victory in the budget battles this fall.

If Obama somehow wins an upcoming fiscal showdown with Republicans, the president may have McCain to thank.

The 2008 Republican presidential nominee, the man Obama beat, is now engaged in talks with a half-dozen fellow Senate Republicans and the White House aimed at trying to craft a bargain on critical fiscal issues to avoid a nasty standoff in the fall that could lead to a government shutdown or a government default, or both.

Obama already owes McCain for brokering the deal last month that allowed the president to overcome Republican objections and fill seven top administration jobs.

And McCain joined four Democrats and three Republicans in drafting the Senate's landmark bill to overhaul U.S. immigration laws, a top Obama priority.

So popular has the Arizona Republican become among Democrats that Senate Majority Leader Harry Reid - who in 2008 said, "I can't stand John McCain" - now describes him as a "great senator," right up there with the late Ted Kennedy, the Democratic "lion of the Senate" who became a bridge between parties after his own presidential ambitions were crushed.

"He's become our go-to guy," a senior Democratic aide said of the 76-year-old white-haired senator.

That's an exaggeration. McCain remains a critic of Obama's handling of the deadly attack on a U.S. diplomatic mission in Benghazi, Libya, last September and of what he considers the "disgrace" of Obama's non-intervention in Syria.

But on domestic issues, McCain has emerged as one of the top deal makers in Washington, a Republican Obama can do business with.


MOVING TOWARD THE MIDDLE

McCain said in an interview that he has been able to work more with Obama in part because the president has moved toward the middle in his second term and become more willing to negotiate.

McCain has also moved toward the middle after having veered toward the right in 2010 when he survived a Republican primary challenge and won election back home in Arizona to a fifth, six-year Senate term.

Two unrelated events have helped as well: McCain's new friendship with Charles Schumer, the third-ranking Senate Democrat who worked with McCain on the immigration bill, and Obama's choice of a McCain friend, Denis McDonough, as White House chief of staff.

The three have clicked.

At a time when the top congressional Republicans, Senate Minority Leader Mitch McConnell and House of Representatives Speaker John Boehner, rarely communicate with the White House, McCain does.

He said he and McDonough talked three times a day during the negotiations over Obama's stalled nominations.

"With all due respect to his predecessors, Denis knows how the Senate works," McCain said of McDonough, whom he knows from McDonough's days as a senior aide to former Democratic Senator Tom Daschle.

"I will continue to pound him (Obama) on Syria. I will continue to pound him on Benghazi," McCain said. "I will continue to pound him on a number of things, particularly on national security.

"But at the same time, I can find common ground with the president on certain issues," McCain said.

"The president won't owe me anything, but he may have a sense of satisfaction from being able to achieve some of the things that we ostensibly came here to do," McCain said.

At the same time he is helping Obama, McCain may be helping himself.

He likes attention as much as any other politician in Washington - and more than many - and there's no better way to get it than to talk about wacko birds.

In a city that rarely makes a deal, his recent feats of deal making have put him at the center of the action in Washington, enhancing his value as one of television's favorite political guests.

"I think John has more job satisfaction now than any time in his career," said Republican Senator Lindsey Graham, one of McCain's closest friends.

"He wanted to be president, but it didn't work out," Graham said. "It takes a while to get over it. Right now, John realizes that the country is in trouble and believes he can help."

"He's back in his groove," Graham said.

(Reporting by Thomas Ferraro; Editing by Fred Barbash and Eric Beech)

Also on HuffPost:

Loading Slideshow...
  • "Bad Day" (Daniel Powter)

    <a href="http://www.huffingtonpost.com/2010/12/18/john-mccain-dadt-repeal-_n_798726.html" target="_hplink"><strong>(Dec. 18, 2010) -- </strong></a> In an interview with ABC News, McCain labeled the end of "Don't Ask, Don't Tell" a "very sad day" (Photo by Chip Somodevilla/Getty Images)

  • "Get Crazy" (LMFAO)

    <a href="http://www.huffingtonpost.com/2011/05/17/john-mccain-twitter_n_863253.html" target="_hplink"><strong>(May 17, 2011) --</strong></a> McCain draws upon "Jersey Shore" star Snooki to make a point about Twitter. While acknowledging the positives of the social media platform, the senator added that there are "dangerous aspects," pointing to his tweet about her tanning bed tax getting more attention than hard-news issues like the START treaty.

  • "No Way" (The Naked And Famous)

    <a href="http://www.huffingtonpost.com/2011/05/29/john-mccain-sarah-palin-c_n_868562.html" target="_hplink"><strong>(May 29, 2011) --</strong></a> In an appearance on Fox News Sunday, McCain was asked whether his former VP nominee, Sarah Palin, could defeat President Barack Obama head-to-head. "Of course she can," McCain said, adding that he was unsure if Palin would take on a 2012 run. She ended up not doing so. (ROBYN BECK/AFP/Getty Images)

  • "I Made A Mistake" (Bob Marley & The Wailers)

    <a href="http://www.huffingtonpost.com/2012/01/05/john-mccain-obama-slip-up_n_1187504.html" target="_hplink"><strong>(Jan. 5, 2012) --</strong></a> At a campaign event for GOP presidential hopeful Mitt Romney, McCain had a forgettable slip of the tongue. "I am confident, with the leadership and the backing of the American people, President Obama will turn this country around," he said. (Photo by Win McNamee/Getty Images)

  • "Still The One" (Orleans)

    <a href="http://www.huffingtonpost.com/2012/01/10/mccain-palin-best-decision_n_1197772.html" target="_hplink"><strong>(Jan. 10, 2012) --</strong></a> Four years after a failed White House run, McCain stood by his vice presidential pick, calling Sarah Palin the "best decision" he's "ever made." (Photo by Darren Hauck/Getty Images)

  • "Sweet Dreams (Are Made Of This)" (Eurythmics)

    <a href="http://www.huffingtonpost.com/2012/04/17/john-mccain-2008-election_n_1431032.html" target="_hplink"><strong>(April 17, 2012) --</strong></a> While stumping for Ohio GOP Senate candidate Josh Mandel, McCain cracked a joke about his 2008 presidential election loss. "After I lost, my friends, I slept like a baby -- sleep two hours, wake up and cry," he said. (Photo by Eric Thayer/Getty Images)

  • "Imaginary" (Evanescence)

    <a href="http://www.huffingtonpost.com/2012/04/26/john-mccain-war-on-women_n_1455591.html" target="_hplink"><strong>(April 26, 2012) --</strong></a> While delivering a floor speech in favor of the Violence Against Women Act, McCain slammed Democrats over claims that the GOP is running a "war on women." "I don't believe the ludicrous, partisan posturing that has conjured up this imaginary war does," McCain said. (Photo by Justin Sullivan/Getty Images)

  • "You're A Jerk" (New Boyz)

    <a href="http://www.huffingtonpost.com/2012/05/29/john-mccain-heckled-memorial-day_n_1552400.html " target="_hplink"><strong>(May 29, 2012) --</strong></a> While delivering a speech in California, McCain lashed out at a spectator in the crowd, calling the heckler a "jerk" for interrupting his remarks. (TIM SLOAN/AFP/Getty Images)

  • "Zombie" (The Cranberries)

    <a href="http://www.huffingtonpost.com/2012/06/05/john-mccain-zombie-apocalypse-meghan-mccain_n_1572084.html" target="_hplink"><strong>(June 5, 2012) --</strong></a> In the midst of a summer of <a href="http://www.huffingtonpost.com/news/zombie-apocalypse/" target="_hplink">odd cannibalistic attacks</a>, McCain joked that his daughter, Meghan, believes he is a zombie. "She does, in fact," he said. "But she thinks I'm a nice zombie."

  • "Bold As Love" (Jimi Hendrix)

    <a href="http://www.huffingtonpost.com/2012/08/12/john-mccain-mitt-romney-vp-sarah-palin_n_1770856.html" target="_hplink"><strong>(Aug. 12, 2012) --</strong></a> Days after Romney selected Paul Ryan as his vice presidential nominee, McCain took a stroll down memory lane, drawing some comparisons to his 2008 decision. He vowed that the Ryan pick was "also a bold choice" like his move to pair with Palin. (Photo by Chip Somodevilla/Getty Images)