Skip to content

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.

Property Modifier Type
prompts readonly McpPromptsClient
resources readonly McpResourcesClient
get(endpointId): Promise<McpEndpoint>;
Parameter Type
endpointId string

Promise<McpEndpoint>

GET /v1/mcp/endpoints/{endpointId} — see @kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints~1{endpointId}/get.


list(filter?): Promise<Page<McpEndpoint>>;

Paginated list of registered endpoints.

Parameter Type
filter? McpEndpointFilter

Promise<Page<McpEndpoint>>

GET /v1/mcp/endpoints — see @kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints/get.


register(input, options?): Promise<{
endpointId: string;
}>;

Register an outbound MCP endpoint.

Parameter Type
input RegisterMcpEndpointInput
options? { idempotencyKey?: string; }
options.idempotencyKey? string

Promise<{ endpointId: string; }>

POST /v1/mcp/endpoints — see @kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints/post.


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.

Parameter Type
endpointId string
options? { idempotencyKey?: string; }
options.idempotencyKey? string

Promise<void>

POST /v1/mcp/endpoints/{endpointId}/unregister — see @kindgi/api/openapi.json#/paths/~1v1~1mcp~1endpoints~1{endpointId}~1unregister/post.