Why it matters
Resources are what turn MCP into a data integration standard. Files, DBs, APIs all become uniform. Understanding shapes design.
Advertisement
The architecture
list_resources: server returns list with URI, name, description.
get_resource: client requests specific URI; server returns content.
Advertisement
How it works end to end
URI schemes: server-defined. Common: file://, db://, custom.
Content types: text (parsed as UTF-8), blob (base64-encoded binary), structured.
Templates: URI templates like 'file://{path}' with parameters. Client fills in.
Subscriptions: subscribe to resource updates. Server notifies on change.