Skip to content

client.mcp.endpoints.resources

client.mcp.endpoints.resources — the mcp.endpoints.resources operations.

On AsyncKindgi every method is the same, awaited.

list(*, timeout: float | None = None) -> MCPResourceCollection

List 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.

read(*, timeout: float | None = None) -> MCPResourceContent

Read 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).