(CNN) -- Democratic presidential candidate Barack Obama is in Afghanistan on a multistop overseas trip for meetings with international leaders but with an eye on the U.S. presidential race back home.

Sen. Barack Obama is expected to visit several world leaders over the next few weeks.

Obama's trip, which includes visits to Iraq, Jordan, Israel, Germany, France and the United Kingdom, is intended to bolster his foreign policy credentials before U.S. voters.

"This is the campaign trail via satellite -- pictures for the rhetoric back home," CNN's Candy Crowley said, adding that the trip was intended to demonstrate that Obama was up to the job of taking a lead role on the international stage.

A video released by the McCain campaign also accused Obama of "flip-flopping" over his plans to withdraw troops from Iraq. The campaign also aired its first negative advertisement of the season, hitting Obama on foreign policy issues.

A diplomatic source told Time magazine that King Abdullah II of Jordan would urge Obama, if elected, to make Arab-Israeli peace talks a higher priority than has been the case under President Bush.

Obama can expect a friendly reception in Europe, where he will meet Thursday with German Chancellor Angela Merkel.

CNN European political editor Robin Oakley said Obama's campaign has captured the public imagination there -- though he will be keen to avoid the sort of suggestions that he is "too European" that dogged 2004 Democratic presidential nominee John Kerry.

"I was talking to a former British foreign secretary this week, and he said, 'It's like JFK [John F. Kennedy].' He said it may not be justified, it may not be sensible, but that is the feeling," Oakley said.

But the trip would also offer a more critical opportunity to gauge Obama's suitability for statesmanship, Oakley said: "People have been saying to me, 'Look, this guy has only been in national politics for three years, let alone international politics.' We don't really know exactly what he is going to do."

In addition to Merkel, Obama is slated to meet with British Prime Minister Gordon Brown and Conservative Party Leader David Cameron as well as French President Nicolas Sarkozy.