client.mcp.endpoints.resources
client.mcp.endpoints.resources — the mcp.endpoints.resources operations.
On AsyncKindgi every method is the same, awaited.
client.mcp.endpoints.resources.list()
Section titled “client.mcp.endpoints.resources.list()”list(*, timeout: float | None = None) -> MCPResourceCollectionList resources at a remote MCP endpoint. GET /v1/mcp/endpoints/{endpointId}/resources
Bootstraps a per-request MCP client against the endpoint, calls resources/list, and returns the descriptors verbatim.
client.mcp.endpoints.resources.read()
Section titled “client.mcp.endpoints.resources.read()”read(*, timeout: float | None = None) -> MCPResourceContentRead a single resource at a remote MCP endpoint. GET /v1/mcp/endpoints/{endpointId}/resources/{uri}
URI path segment is URL-encoded — decoded server-side before dispatch to the endpoint. Returns exactly one content payload (text XOR blob per MCP spec).