-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy pathtoolhive.stacklok.dev_virtualmcpservers.yaml
More file actions
930 lines (930 loc) · 44.2 KB
/
toolhive.stacklok.dev_virtualmcpservers.yaml
File metadata and controls
930 lines (930 loc) · 44.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.3
name: virtualmcpservers.toolhive.stacklok.dev
spec:
group: toolhive.stacklok.dev
names:
kind: VirtualMCPServer
listKind: VirtualMCPServerList
plural: virtualmcpservers
shortNames:
- vmcp
- virtualmcp
singular: virtualmcpserver
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: The phase of the VirtualMCPServer
jsonPath: .status.phase
name: Phase
type: string
- description: Virtual MCP server URL
jsonPath: .status.url
name: URL
type: string
- description: Discovered backends count
jsonPath: .status.backendCount
name: Backends
type: integer
- description: Age
jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: |-
VirtualMCPServer is the Schema for the virtualmcpservers API
VirtualMCPServer aggregates multiple backend MCPServers into a unified endpoint
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: VirtualMCPServerSpec defines the desired state of VirtualMCPServer
properties:
aggregation:
description: Aggregation defines tool aggregation and conflict resolution
strategies
properties:
conflictResolution:
default: prefix
description: |-
ConflictResolution defines the strategy for resolving tool name conflicts
- prefix: Automatically prefix tool names with workload identifier
- priority: First workload in priority order wins
- manual: Explicitly define overrides for all conflicts
enum:
- prefix
- priority
- manual
type: string
conflictResolutionConfig:
description: ConflictResolutionConfig provides configuration for
the chosen strategy
properties:
prefixFormat:
default: '{workload}_'
description: |-
PrefixFormat defines the prefix format for the "prefix" strategy
Supports placeholders: {workload}, {workload}_, {workload}.
type: string
priorityOrder:
description: PriorityOrder defines the workload priority order
for the "priority" strategy
items:
type: string
type: array
type: object
tools:
description: |-
Tools defines per-workload tool filtering and overrides
References existing MCPToolConfig resources
items:
description: WorkloadToolConfig defines tool filtering and overrides
for a specific workload
properties:
filter:
description: |-
Filter is an inline list of tool names to allow (allow list)
Only used if ToolConfigRef is not specified
items:
type: string
type: array
overrides:
additionalProperties:
description: |-
ToolOverride represents a tool override configuration.
Both Name and Description can be overridden independently, but
they can't be both empty.
properties:
description:
description: Description is the redefined description
of the tool
type: string
name:
description: Name is the redefined name of the tool
type: string
type: object
description: |-
Overrides is an inline map of tool overrides
Only used if ToolConfigRef is not specified
type: object
toolConfigRef:
description: |-
ToolConfigRef references a MCPToolConfig resource for tool filtering and renaming
If specified, Filter and Overrides are ignored
properties:
name:
description: Name is the name of the MCPToolConfig resource
in the same namespace
type: string
required:
- name
type: object
workload:
description: Workload is the name of the backend MCPServer
workload
type: string
required:
- workload
type: object
type: array
type: object
compositeToolRefs:
description: |-
CompositeToolRefs references VirtualMCPCompositeToolDefinition resources
for complex, reusable workflows
items:
description: CompositeToolDefinitionRef references a VirtualMCPCompositeToolDefinition
resource
properties:
name:
description: Name is the name of the VirtualMCPCompositeToolDefinition
resource in the same namespace
type: string
required:
- name
type: object
type: array
compositeTools:
description: |-
CompositeTools defines inline composite tool definitions
For complex workflows, reference VirtualMCPCompositeToolDefinition resources instead
items:
description: |-
CompositeToolSpec defines an inline composite tool
For complex workflows, reference VirtualMCPCompositeToolDefinition resources instead
properties:
description:
description: Description describes the composite tool
type: string
name:
description: Name is the name of the composite tool
type: string
output:
description: |-
Output defines the structured output schema for the composite tool.
Specifies how to construct the final output from workflow step results.
If not specified, the workflow returns the last step's output (backward compatible).
properties:
properties:
additionalProperties:
description: OutputPropertySpec defines a single output
property
properties:
default:
description: Default is the fallback value if template
expansion fails
x-kubernetes-preserve-unknown-fields: true
description:
description: Description is a human-readable description
exposed to clients and models
type: string
properties:
description: Properties defines nested properties
for object types
x-kubernetes-preserve-unknown-fields: true
type:
description: 'Type is the JSON Schema type: "string",
"integer", "number", "boolean", "object", "array"'
enum:
- string
- integer
- number
- boolean
- object
- array
type: string
value:
description: |-
Value is a template string for constructing the runtime value
Supports template syntax: {{.steps.step_id.output.field}}, {{.params.param_name}}
For object types, this can be a JSON string that will be deserialized
type: string
required:
- type
type: object
description: |-
Properties defines the output properties
Map key is the property name, value is the property definition
type: object
required:
description: Required lists property names that must be
present in the output
items:
type: string
type: array
type: object
parameters:
description: |-
Parameters defines the input parameter schema in JSON Schema format.
Should be a JSON Schema object with "type": "object" and "properties".
Per MCP specification, this should follow standard JSON Schema for tool inputSchema.
Example:
{
"type": "object",
"properties": {
"param1": {"type": "string", "default": "value"},
"param2": {"type": "integer"}
},
"required": ["param2"]
}
type: object
x-kubernetes-preserve-unknown-fields: true
steps:
description: Steps defines the workflow steps
items:
description: WorkflowStep defines a step in a composite tool
workflow
properties:
arguments:
additionalProperties:
type: string
description: |-
Arguments is a map of argument templates
Supports Go template syntax with .params and .steps
type: object
condition:
description: Condition is a template expression that determines
if the step should execute
type: string
dependsOn:
description: DependsOn lists step IDs that must complete
before this step
items:
type: string
type: array
id:
description: ID is the unique identifier for this step
type: string
message:
description: |-
Message is the elicitation message
Only used when Type is "elicitation"
type: string
onError:
description: OnError defines error handling behavior
properties:
action:
default: abort
description: Action defines the action to take on
error
enum:
- abort
- continue
- retry
type: string
maxRetries:
description: |-
MaxRetries is the maximum number of retries
Only used when Action is "retry"
type: integer
retryDelay:
description: |-
RetryDelay is the delay between retry attempts
Only used when Action is "retry"
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
type: string
type: object
schema:
description: Schema defines the expected response schema
for elicitation
type: object
x-kubernetes-preserve-unknown-fields: true
timeout:
description: Timeout is the maximum execution time for
this step
type: string
tool:
description: |-
Tool is the tool to call (format: "workload.tool_name")
Only used when Type is "tool"
type: string
type:
default: tool
description: Type is the step type (tool, elicitation,
etc.)
enum:
- tool
- elicitation
type: string
required:
- id
type: object
minItems: 1
type: array
timeout:
default: 30m
description: Timeout is the maximum execution time for the composite
tool
type: string
required:
- description
- name
- steps
type: object
type: array
groupRef:
description: |-
GroupRef references an existing MCPGroup that defines backend workloads
The referenced MCPGroup must exist in the same namespace
properties:
name:
description: Name is the name of the MCPGroup resource in the
same namespace
type: string
required:
- name
type: object
incomingAuth:
description: |-
IncomingAuth configures authentication for clients connecting to the Virtual MCP server
Must be explicitly set - use "anonymous" type when no authentication is required
properties:
authzConfig:
description: |-
AuthzConfig defines authorization policy configuration
Reuses MCPServer authz patterns
properties:
configMap:
description: |-
ConfigMap references a ConfigMap containing authorization configuration
Only used when Type is "configMap"
properties:
key:
default: authz.json
description: Key is the key in the ConfigMap that contains
the authorization configuration
type: string
name:
description: Name is the name of the ConfigMap
type: string
required:
- name
type: object
inline:
description: |-
Inline contains direct authorization configuration
Only used when Type is "inline"
properties:
entitiesJson:
default: '[]'
description: EntitiesJSON is a JSON string representing
Cedar entities
type: string
policies:
description: Policies is a list of Cedar policy strings
items:
type: string
minItems: 1
type: array
required:
- policies
type: object
type:
default: configMap
description: Type is the type of authorization configuration
enum:
- configMap
- inline
type: string
required:
- type
type: object
oidcConfig:
description: |-
OIDCConfig defines OIDC authentication configuration
Reuses MCPServer OIDC patterns
properties:
configMap:
description: |-
ConfigMap references a ConfigMap containing OIDC configuration
Only used when Type is "configmap"
properties:
key:
default: oidc.json
description: Key is the key in the ConfigMap that contains
the OIDC configuration
type: string
name:
description: Name is the name of the ConfigMap
type: string
required:
- name
type: object
inline:
description: |-
Inline contains direct OIDC configuration
Only used when Type is "inline"
properties:
audience:
description: Audience is the expected audience for the
token
type: string
clientId:
description: ClientID is the OIDC client ID
type: string
clientSecret:
description: |-
ClientSecret is the client secret for introspection (optional)
Deprecated: Use ClientSecretRef instead for better security
type: string
clientSecretRef:
description: |-
ClientSecretRef is a reference to a Kubernetes Secret containing the client secret
If both ClientSecret and ClientSecretRef are provided, ClientSecretRef takes precedence
properties:
key:
description: Key is the key within the secret
type: string
name:
description: Name is the name of the secret
type: string
required:
- key
- name
type: object
insecureAllowHTTP:
default: false
description: |-
InsecureAllowHTTP allows HTTP (non-HTTPS) OIDC issuers for development/testing
WARNING: This is insecure and should NEVER be used in production
Only enable for local development, testing, or trusted internal networks
type: boolean
introspectionUrl:
description: IntrospectionURL is the URL for token introspection
endpoint
type: string
issuer:
description: Issuer is the OIDC issuer URL
type: string
jwksAllowPrivateIP:
default: false
description: |-
JWKSAllowPrivateIP allows JWKS/OIDC endpoints on private IP addresses
Use with caution - only enable for trusted internal IDPs
type: boolean
jwksAuthTokenPath:
description: |-
JWKSAuthTokenPath is the path to file containing bearer token for JWKS/OIDC requests
The file must be mounted into the pod (e.g., via Secret volume)
type: string
jwksUrl:
description: JWKSURL is the URL to fetch the JWKS from
type: string
protectedResourceAllowPrivateIP:
default: false
description: |-
ProtectedResourceAllowPrivateIP allows protected resource endpoint on private IP addresses
Use with caution - only enable for trusted internal IDPs or testing
type: boolean
thvCABundlePath:
description: |-
ThvCABundlePath is the path to CA certificate bundle file for HTTPS requests
The file must be mounted into the pod (e.g., via ConfigMap or Secret volume)
type: string
required:
- issuer
type: object
kubernetes:
description: |-
Kubernetes configures OIDC for Kubernetes service account token validation
Only used when Type is "kubernetes"
properties:
audience:
default: toolhive
description: Audience is the expected audience for the
token
type: string
introspectionUrl:
description: |-
IntrospectionURL is the URL for token introspection endpoint
If empty, OIDC discovery will be used to automatically determine the introspection URL
type: string
issuer:
default: https://kubernetes.default.svc
description: Issuer is the OIDC issuer URL
type: string
jwksUrl:
description: |-
JWKSURL is the URL to fetch the JWKS from
If empty, OIDC discovery will be used to automatically determine the JWKS URL
type: string
namespace:
description: |-
Namespace is the namespace of the service account
If empty, uses the MCPServer's namespace
type: string
serviceAccount:
description: |-
ServiceAccount is the name of the service account to validate tokens for
If empty, uses the pod's service account
type: string
useClusterAuth:
description: |-
UseClusterAuth enables using the Kubernetes cluster's CA bundle and service account token
When true, uses /var/run/secrets/kubernetes.io/serviceaccount/ca.crt for TLS verification
and /var/run/secrets/kubernetes.io/serviceaccount/token for bearer token authentication
Defaults to true if not specified
type: boolean
type: object
resourceUrl:
description: |-
ResourceURL is the explicit resource URL for OAuth discovery endpoint (RFC 9728)
If not specified, defaults to the in-cluster Kubernetes service URL
type: string
type:
default: kubernetes
description: Type is the type of OIDC configuration
enum:
- kubernetes
- configMap
- inline
type: string
required:
- type
type: object
type:
description: |-
Type defines the authentication type: anonymous or oidc
When no authentication is required, explicitly set this to "anonymous"
enum:
- anonymous
- oidc
type: string
required:
- type
type: object
operational:
description: Operational defines operational settings like timeouts
and health checks
properties:
failureHandling:
description: FailureHandling configures failure handling behavior
properties:
circuitBreaker:
description: CircuitBreaker configures circuit breaker behavior
properties:
enabled:
default: false
description: Enabled controls whether circuit breaker
is enabled
type: boolean
failureThreshold:
default: 5
description: FailureThreshold is the number of failures
before opening the circuit
type: integer
timeout:
default: 60s
description: Timeout is the duration to wait before attempting
to close the circuit
type: string
type: object
healthCheckInterval:
default: 30s
description: HealthCheckInterval is the interval between health
checks
type: string
partialFailureMode:
default: fail
description: |-
PartialFailureMode defines behavior when some backends are unavailable
- fail: Fail entire request if any backend is unavailable
- best_effort: Continue with available backends
enum:
- fail
- best_effort
type: string
unhealthyThreshold:
default: 3
description: UnhealthyThreshold is the number of consecutive
failures before marking unhealthy
type: integer
type: object
logLevel:
description: |-
LogLevel sets the logging level for the Virtual MCP server.
Set to "debug" to enable debug logging. When not set, defaults to info level.
enum:
- debug
type: string
timeouts:
description: Timeouts configures timeout settings
properties:
default:
default: 30s
description: Default is the default timeout for backend requests
type: string
perWorkload:
additionalProperties:
type: string
description: PerWorkload defines per-workload timeout overrides
type: object
type: object
type: object
outgoingAuth:
description: OutgoingAuth configures authentication from Virtual MCP
to backend MCPServers
properties:
backends:
additionalProperties:
description: BackendAuthConfig defines authentication configuration
for a backend MCPServer
properties:
externalAuthConfigRef:
description: |-
ExternalAuthConfigRef references an MCPExternalAuthConfig resource
Only used when Type is "external_auth_config_ref"
properties:
name:
description: Name is the name of the MCPExternalAuthConfig
resource
type: string
required:
- name
type: object
type:
description: Type defines the authentication type
enum:
- discovered
- external_auth_config_ref
type: string
required:
- type
type: object
description: |-
Backends defines per-backend authentication overrides
Works in all modes (discovered, inline)
type: object
default:
description: Default defines default behavior for backends without
explicit auth config
properties:
externalAuthConfigRef:
description: |-
ExternalAuthConfigRef references an MCPExternalAuthConfig resource
Only used when Type is "external_auth_config_ref"
properties:
name:
description: Name is the name of the MCPExternalAuthConfig
resource
type: string
required:
- name
type: object
type:
description: Type defines the authentication type
enum:
- discovered
- external_auth_config_ref
type: string
required:
- type
type: object
source:
default: discovered
description: |-
Source defines how backend authentication configurations are determined
- discovered: Automatically discover from backend's MCPServer.spec.externalAuthConfigRef
- inline: Explicit per-backend configuration in VirtualMCPServer
enum:
- discovered
- inline
type: string
type: object
podTemplateSpec:
description: |-
PodTemplateSpec defines the pod template to use for the Virtual MCP server
This allows for customizing the pod configuration beyond what is provided by the other fields.
Note that to modify the specific container the Virtual MCP server runs in, you must specify
the 'vmcp' container name in the PodTemplateSpec.
This field accepts a PodTemplateSpec object as JSON/YAML.
type: object
x-kubernetes-preserve-unknown-fields: true
serviceType:
default: ClusterIP
description: ServiceType specifies the Kubernetes service type for
the Virtual MCP server
enum:
- ClusterIP
- NodePort
- LoadBalancer
type: string
telemetry:
description: |-
Telemetry configures OpenTelemetry-based observability for the Virtual MCP server
including distributed tracing, OTLP metrics export, and Prometheus metrics endpoint
properties:
openTelemetry:
description: OpenTelemetry defines OpenTelemetry configuration
properties:
enabled:
default: false
description: Enabled controls whether OpenTelemetry is enabled
type: boolean
endpoint:
description: Endpoint is the OTLP endpoint URL for tracing
and metrics
type: string
headers:
description: |-
Headers contains authentication headers for the OTLP endpoint
Specified as key=value pairs
items:
type: string
type: array
insecure:
default: false
description: Insecure indicates whether to use HTTP instead
of HTTPS for the OTLP endpoint
type: boolean
metrics:
description: Metrics defines OpenTelemetry metrics-specific
configuration
properties:
enabled:
default: false
description: Enabled controls whether OTLP metrics are
sent
type: boolean
type: object
serviceName:
description: |-
ServiceName is the service name for telemetry
If not specified, defaults to the MCPServer name
type: string
tracing:
description: Tracing defines OpenTelemetry tracing configuration
properties:
enabled:
default: false
description: Enabled controls whether OTLP tracing is
sent
type: boolean
samplingRate:
default: "0.05"
description: SamplingRate is the trace sampling rate (0.0-1.0)
type: string
type: object
type: object
prometheus:
description: Prometheus defines Prometheus-specific configuration
properties:
enabled:
default: false
description: Enabled controls whether Prometheus metrics endpoint
is exposed
type: boolean
type: object
type: object
required:
- groupRef
- incomingAuth
type: object
status:
description: VirtualMCPServerStatus defines the observed state of VirtualMCPServer
properties:
backendCount:
description: BackendCount is the number of discovered backends
type: integer
conditions:
description: Conditions represent the latest available observations
of the VirtualMCPServer's state
items:
description: Condition contains details for one aspect of the current
state of this API Resource.
properties:
lastTransitionTime:
description: |-
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
type: string
message:
description: |-
message is a human readable message indicating details about the transition.
This may be an empty string.
maxLength: 32768
type: string
observedGeneration:
description: |-
observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance.
format: int64
minimum: 0
type: integer
reason:
description: |-
reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty.
maxLength: 1024
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
description: status of the condition, one of True, False, Unknown.
enum:
- "True"
- "False"
- Unknown
type: string
type:
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
type: array
discoveredBackends:
description: DiscoveredBackends lists discovered backend configurations
from the MCPGroup
items:
description: DiscoveredBackend represents a discovered backend MCPServer
in the MCPGroup
properties:
authConfigRef:
description: AuthConfigRef is the name of the discovered MCPExternalAuthConfig
(if any)
type: string
authType:
description: AuthType is the type of authentication configured
type: string
lastHealthCheck:
description: LastHealthCheck is the timestamp of the last health
check
format: date-time
type: string
name:
description: Name is the name of the backend MCPServer
type: string
status:
description: Status is the current status of the backend (ready,
degraded, unavailable)
type: string
url:
description: URL is the URL of the backend MCPServer
type: string
required:
- name
type: object
type: array
message:
description: Message provides additional information about the current
phase
type: string
observedGeneration:
description: ObservedGeneration is the most recent generation observed
for this VirtualMCPServer
format: int64
type: integer
phase:
default: Pending
description: Phase is the current phase of the VirtualMCPServer
enum:
- Pending
- Ready
- Degraded
- Failed
type: string
url:
description: URL is the URL where the Virtual MCP server can be accessed
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}