With #1374 => #1404 => #1423, it's no longer possible to stand up the server for most sane use cases without a config file. This is sometimes painful: e.g. in a cluster environment, you now have to create a separate object (ConfigMap/Secret) and mount it.
In many CLIs, flags that take a file path will accept - to mean "stdin". Currently we don't do that, but it would be pretty easy, and would assuage the above pain point, allowing syntax like:
cat <<EOF | ./kubernetes-mcp-server --config -
port = 8080
# Production-safe configuration
read_only = true
EOF
or (terser but less readable):
./kubernetes-mcp-server --config - <<<$(printf 'port = 8080\n# Production-safe configuration\nread_only = true')
With #1374 => #1404 => #1423, it's no longer possible to stand up the server for most sane use cases without a config file. This is sometimes painful: e.g. in a cluster environment, you now have to create a separate object (ConfigMap/Secret) and mount it.
In many CLIs, flags that take a file path will accept
-to mean "stdin". Currently we don't do that, but it would be pretty easy, and would assuage the above pain point, allowing syntax like:or (terser but less readable):