John McPhee has signed with Racing Team Germany for the 2013 Moto3 season, where he will replace the Moto2-bound Louis Rossi.
McPhee has made wild-card grand prix appearances since 2010 and is currently seeing out the final rounds of this year's Moto3 championship, riding a KRP-Honda for Caretta Technology in place of the injured Alexis Masbou.
Racing Steps Foundation (RSF) - which has backed the 18-year-old Scot since leaving the British 125GP series in 2010 - has signed a one-year deal with Racing Team Germany.
"Naturally I'm delighted that the RSF has secured this ride for me to continue in the World Championship next year," said McPhee. "Racing Team Germany is a competitive team which has taken Rossi to his maiden Moto3 GP win and into the top half of the rider standings.
"So this is a fantastic opportunity for me for which I'm extremely grateful.
"It will be a tough year, for certain" he added. "I'm under no illusions about that. But standing in for Masbou at Caretta, along with the wildcard rides I did earlier in the season, has given me a pretty good idea of what to expect and how to handle it.
"To say I've learned an enormous amount in a short space of time with Caretta is a massive understatement. They've given me a valuable leg up and I'd like to thank them and the RSF for providing me with the chance to ride with the team.
"Hopefully I can do that by producing a strong result for them at the season finale at Valencia this weekend."
Racing Team Germany, which runs FTR Hondas, is yet to announce its second rider.
"We're pleased the RSF and John are signing to race with us in 2013," said team boss Dirk Heidolf. "It will be a strong combination, I feel.
"We've watched John for some time and been impressed with his approach and attention to detail. He's disciplined and does a very good job of dialling himself and his bike in over race weekends.
"Obviously he's been on a steep learning curve over the last few weeks and hasn't had the best of luck. This, of course, is reflected in his results. But he showed very convincingly that he has the ability to make the most of his chances when he took himself to the front in the wet at Brno.
"As a wild-card entry with only a little Ggand prix experience, that impressed me a lot.