Documentation
¶
Overview ¶
Package kube builds the mcp-server execution bundle using direct Kubernetes access via kubeconfig. This is the mode the MCP server has shipped with since v0.1.x — talks to the cluster's TinyModule, TinyProject, TinyFlow, TinyNode, TinySignal, TinyScenario CRDs directly, and reaches the in-cluster otel-collector by port-forward.
All construction logic that used to live inline in cmd/serve.go is now here so platform mode can be added without disturbing the existing path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
KubeconfigPath string
Context string
Namespace string
OtelService string
OtelPort int
// NATS service location for SignalSender. Defaults applied below
// when zero — namespace "nats", service "nats-nats", port 4222
// match the platform's standard install. Override only if your
// cluster runs NATS elsewhere.
NatsNamespace string
NatsService string
NatsPort int
}
Options carries everything the kube backend needs at construction. SolutionSearcher and PublicModuleCatalog are NOT here — they hit the public REST API and are mode-agnostic, so serve.go constructs them once and assigns them onto the returned bundle regardless of mode.