Resources, Tools, and Prompts: The Three Core MCP Primitives
MCP exposes three distinct primitives: Resources (read-only file/database data), Tools (executable functions with side effects), and Prompts (reusable prompt templates).
Requests tool execution via JSON-RPC protocol.
Transports encrypted payload with zero schema loss.
Validates Pydantic types & executes business logic.
Returns authenticated result to host context.