McpEndpointsClient
Outbound MCP endpoint registry — the set of external MCP servers the
tenant has told the OS about. Wire shape at
@kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints.
Properties
Section titled “Properties”| Property | Modifier | Type |
|---|---|---|
prompts |
readonly |
McpPromptsClient |
resources |
readonly |
McpResourcesClient |
Methods
Section titled “Methods”get(endpointId): Promise<McpEndpoint>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
endpointId |
string |
Returns
Section titled “Returns”Promise<McpEndpoint>
GET /v1/mcp/endpoints/{endpointId} — see
@kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints~1{endpointId}/get.
list()
Section titled “list()”list(filter?): Promise<Page<McpEndpoint>>;Paginated list of registered endpoints.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
filter? |
McpEndpointFilter |
Returns
Section titled “Returns”Promise<Page<McpEndpoint>>
GET /v1/mcp/endpoints — see
@kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints/get.
register()
Section titled “register()”register(input, options?): Promise<{ endpointId: string;}>;Register an outbound MCP endpoint.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
RegisterMcpEndpointInput |
options? |
{ idempotencyKey?: string; } |
options.idempotencyKey? |
string |
Returns
Section titled “Returns”Promise<{
endpointId: string;
}>
POST /v1/mcp/endpoints — see
@kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints/post.
unregister()
Section titled “unregister()”unregister(endpointId, options?): Promise<void>;Unregister an endpoint. Unknown ids fail with
404 mcp-endpoint-not-found; the SDK discards the
{ endpointId, unregistered: true } body.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
endpointId |
string |
options? |
{ idempotencyKey?: string; } |
options.idempotencyKey? |
string |
Returns
Section titled “Returns”Promise<void>
POST /v1/mcp/endpoints/{endpointId}/unregister — see
@kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints~1{endpointId}~1unregister/post.