This page is auto-generated by scripts/generate-schema-docs.ts. Do not edit manually.
- Kind:
MCPPrompt
- API Group:
kubemcp.io
- Version:
v1alpha1
- apiVersion:
kubemcp.io/v1alpha1
- Reference Slug:
/reference/mcpprompt/
| Field | Type | Required | Description | Default |
|---|
spec | object | Yes | — | — |
status | object | No | — | — |
| Field | Type | Required | Description | Default |
|---|
name | string | Yes | MCP prompt name (must be unique within server) | — |
description | string | No | Human-readable description of the prompt | — |
template | string | Yes | Prompt template with {{variable}} placeholders | — |
variables | array<object> | No | List of variables used in the template | — |
ingressPath | string | No | Optional path to expose prompt via HTTP GET | — |
| Field | Type | Required | Description | Default |
|---|
name | string | Yes | Variable name (alphanumeric and underscore only) | — |
description | string | No | Description of the variable | — |
required | boolean | No | Whether this variable is required | false |
default | string | No | Default value for the variable | — |
| Field | Type | Required | Description | Default |
|---|
validated | boolean | No | Whether template and variables are valid | — |
lastValidationTime | string [date-time] | No | Last time validation was performed | — |
conditions | array<object> | No | — | — |
| Field | Type | Required | Description | Default |
|---|
type | string | Yes | — | — |
status | string ("True", "False", "Unknown") | Yes | — | — |
lastTransitionTime | string [date-time] | No | — | — |
reason | string | No | — | — |
message | string | No | — | — |
# Example MCPPrompt - greeting template
apiVersion: kubemcp.io/v1alpha1
description: A friendly greeting template
Welcome to the MCP Echo Server. Today is {{date}}.
How can I help you with {{topic}}?
description: The name of the person to greet
description: Today's date
description: The topic of discussion
| Condition | Reason | Status | Description |
|---|
Validated | TemplateValid | True | All {{variable}} placeholders are declared in spec.variables |
Validated | UndeclaredVariables | False | Template references variables not listed in spec.variables |
Validated | UnusedVariables | False | spec.variables declares names not referenced in the template |
See the Observability guide for diagnostic patterns using these conditions.