Skip to main content
The resources/read method returns the full content of a resource. The URI must match one returned by resources/list.

MCP Endpoint

Request

string
required
Must be "2.0".
integer | string
required
Arbitrary request identifier echoed back unchanged in the response.
string
required
Must be "resources/read".
string
required
The URI of the resource to read (e.g. "docs://api-overview"). Must match a URI returned by resources/list.

Response

array
Array containing a single content object with:
  • uri — The resource URI echoed back
  • mimeType — Content type of the resource
  • text — The full resource content as a string

Request Parameters

string
required
The URI of the resource to read. Must exactly match a URI from resources/list.
For wp_query and url data source types, the content is fetched fresh on each resources/read call. For static resources, the content is returned directly from the stored value.