MCP & Protocol Testing / Quiz
Resources, Templates, Prompts
@mcp.resource URIs, {placeholder} templates that map to function parameters, @mcp.prompt, and the tool-vs-resource judgment call.
- Difficulty
- Easy
- Format
- Quiz
- Points
- 100
- Estimate
- 8 min
// MISSION BRIEF
Your Mission
Tools get the headlines, but MCP servers ship two more primitives: resources (URI-addressed data) and prompts (reusable message templates). FastMCP wraps both in decorators, and choosing the right primitive is an API-design decision testers should be able to defend.
Six questions. Speed bonus active.
// FIRST CONTACT
Battle teaser
@mcp.resource('config://app') registers:
- AA cron job that runs on a schedule
- BA REST endpoint at /config/app
- CA write handler for the app's config file
- DRead-only data addressed by a URI, computed by the function when a client reads that resource, not invoked as an action like a tool
Answers, scoring, hints, and the full battle stay sealed.
// SKILL TAGS
fastmcpresourcespromptsmcp