# client.mcp.endpoints.prompts

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

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

On `AsyncKindgi` every method is the same, awaited.

## `client.mcp.endpoints.prompts.list()`

```python signature
list(endpoint_id: str | UUID, /, *, 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.

## `client.mcp.endpoints.prompts.get()`

```python signature
get(
    endpoint_id: str | UUID,
    name: str,
    body: GetMCPPromptBody | Mapping[str, Any] | None = None,
    /,
    *,
    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.
