McpResourcesClient
Methods
Section titled “Methods”list()
Section titled “list()”list(endpointId): Promise<{ data: readonly unknown[];}>;Signature
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
endpointId |
string |
Returns
Section titled “Returns”Promise<{
data: readonly unknown[];
}>
GET /v1/mcp/endpoints/:endpointId/resources
read()
Section titled “read()”read(endpointId, uri): Promise<unknown>;Signature
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
endpointId |
string |
uri |
string |
Returns
Section titled “Returns”Promise<unknown>
GET /v1/mcp/endpoints/:endpointId/resources/:uri