run_kubectl_command
Execute kubectl commands on a Kubernetes cluster by specifying the kubeconfig file and the desired command, enabling direct cluster interaction through the MCP server.
Instructions
Run a kubectl command against the cluster pointed to by the current kubeconfig
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The kubectl command to run. It should also include the 'kubectl' prefix. | |
kubeconfig | Yes | Path to the kubeconfig file |