resource
The resource type (e.g., pods, deployments, services, nodes) or empty for file-based operations
How to use it
resource is exposed by the MCP Kubernetes MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the resource tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Kubernetes
npx @modelcontextprotocol/inspector <path of binary 'mcp-kubernetes'>Other tools in MCP Kubernetes (3)
Additional arguments like resource names, namespaces, and flags
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)