MCPVault

labelSelector

MCP tool from K8s MCP Server by reza-gholizade

(string, optional): Filter resources by label selector (e.g., "app=nginx,env=prod").

How to use it

labelSelector is exposed by the K8s MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the labelSelector tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install K8s MCP Server

$docker run -p 8080:8080 -v ~/.kube/config:/home/appuser/.kube/config:ro ginnux/k8s-mcp-server:latest
FULL K8S MCP SERVER LISTING