Skip to content

client.mcp.endpoints.prompts

client.mcp.endpoints.prompts — the mcp.endpoints.prompts operations.

On AsyncKindgi every method is the same, awaited.

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

List prompts at a remote MCP endpoint. GET /v1/mcp/endpoints/{endpointId}/prompts

Bootstraps a per-request MCP client against the endpoint, calls prompts/list, and returns the descriptors verbatim.

get(*, timeout: float | None = None, **fields: Any) -> GetMCPPromptResult

Resolve a prompt template at a remote MCP endpoint. POST /v1/mcp/endpoints/{endpointId}/prompts/{name}

Body carries { arguments?: Record<string, string> }. Returns the ordered message list the endpoint produced.