Final assessment on MCP
Time: 10 minutes
This is a knowledge check covering all four modules. Work through each question, commit to an answer in your head, then reveal the model answer to compare. There is no scoring — the point is to surface anything you want to revisit before the capstone.
MCP foundations
1. What problem does MCP solve for developers?
2. Name the two key MCP message types and describe what each does.
Server primitives
3. What Python decorator defines a tool on an MCP server, and what does the SDK auto-generate from it?
4. What is the difference between a direct resource and a templated resource?
5. How does the MCP client determine how to parse a resource response?
6. Why are server-defined prompts preferable to user-written prompts?
Choosing the right primitive
7. Match each MCP primitive to who controls it: Tools, Resources, Prompts.
8. When should you use a resource instead of a tool to provide data to Claude?
You've demonstrated your understanding of MCP — from architecture to implementation to choosing the right primitive for the job.