MCPMCP Python SDK 2.2 · Python 3.10+
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
24 small wins to finish your pathNext lesson

Running it quiz

Question 1 of 5

shop.py calls mcp.run() at the bottom without the if __name__ == "__main__" guard. What breaks?

Getting one wrong here is cheaper than getting it wrong in your own code.