MCP Resource
Definition
A resource is passive data a server exposes for reading. Each resource has a URI. Clients list resources via resources/list and read them via resources/read with the URI. Content is returned with a MIME type.
Resource vs Tool
Resources model data (read-only). Tools model actions (may mutate). A version-control server might expose branches as resources and commit operations as tools.