k8s-interactive-mcp

run_kubectl_command

Execute kubectl commands on a Kubernetes cluster using a specified kubeconfig file with the MCP server k8s-interactive-mcp for cluster management.

Instructions

Run a kubectl command against the cluster pointed to by the current kubeconfig

Input Schema

NameRequiredDescriptionDefault
commandYesThe kubectl command to run. It should also include the 'kubectl' prefix.
kubeconfigYesPath to the kubeconfig file

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The kubectl command to run. It should also include the 'kubectl' prefix.", "type": "string" }, "kubeconfig": { "description": "Path to the kubeconfig file", "type": "string" } }, "required": [ "kubeconfig", "command" ], "type": "object" }

You must be authenticated.

Other Tools from k8s-interactive-mcp

Related Tools

ID: gwvs0s78be