call_kubectl
Execute kubectl commands
How to use it
Project documentation lists call_kubectl for the MCP Kubernetes MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install MCP Kubernetes
npx @modelcontextprotocol/inspector <path of binary 'mcp-kubernetes'>Other tools in MCP Kubernetes (3)
The full kubectl command to execute including 'kubectl' prefix (e.g., "kubectl get pods -n default", "kubectl apply -f deployment.yaml")
The operation to perform (get, describe, create, delete, apply, patch, replace, cordon, uncordon, drain, taint)
The resource type (e.g., pods, deployments, services, nodes) or empty for file-based operations