Skills101
← All practice quizzes

Quiz: Model Context Protocol (MCP)

5 questions · new set on every retakeNo time limitPass: 60%+10 XP on first pass

MCP is an open standard that lets any AI app use tools and data from any server that speaks it. Learn hosts, clients and servers, the JSON-RPC messages underneath, tools vs resources vs prompts, how to write a small server in Python, and the security rules.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    What problem does MCP mainly solve?

  2. Question 2

    In MCP, what is a "host"?

  3. Question 3

    Which primitive is usually chosen by the model itself during a conversation?

  4. Question 4

    What format do MCP messages use?

  5. Question 5

    What does this print?

    import json
    reply = json.loads('{"jsonrpc": "2.0", "id": 7, "result": {"content": [{"type": "text", "text": "68"}], "isError": false}}')
    print(reply["id"], reply["result"]["isError"], reply["result"]["content"][0]["text"])
    
🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →