/kubescape:kubescape-mcpfrom kubescape
Starts the Kubescape MCP server so Claude can query cluster vulnerability manifests, configuration scan data, and run scoped security scans via MCP tools. Useful for Kubernetes security auditing.
Ships in kubescape. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This repository ships kubescape mcpserver (see cmd/mcpserver and docs/mcp-server.md). The plugin bundles it via .mcp.json as a stdio MCP server running kubescape mcpserver.
# Default: stdio transport (MCP clients)
kubescape mcpserver
# Restrict local/IaC scans to a project root (also: KUBESCAPE_WORKSPACE_DIR)
kubescape mcpserver --workspace /path/to/project
# HTTP SSE on loopback only (default port 8080)
kubescape mcpserver --transport sse --port 8080 --workspace /path/to/project
Flags: --transport / -t (stdio or sse), --port / -p (SSE), --workspace.
Cluster query tools read Custom Resources from the Kubescape operator (vulnerability and configuration scanning). Install/enable per docs/mcp-server.md (Helm chart kubescape/kubescape-operator with vulnerability and configuration scan capabilities). Confirm data exists before expecting rich answers:
kubectl -n kubescape get vulnerabilitymanifests
kubectl get workloadconfigurationscansummaries -A
Full configuration scan manifests need continuous scanning enabled on the operator.
run_framework_security_scan, run_rbac_security_scan, run_network_security_scan, scan_controls, scan_workload, scan_local_iac, scan_local_iac_controls, scan_manifest), follow pagination: use scan_id + next_offset with get_scan_results in the same MCP session until next_offset is absent. Snapshots expire (~10 minutes) and are process-local. If a scan exceeds the retention budget, the server returns the first page and pagination_warning without next_offset — report the incomplete result and narrow the scan scope; do not treat that page as complete.--workspace set, local paths must stay inside that root; ../ or escaping symlinks return INVALID_ARGUMENT.kubescape scan / kubescape fix skills for offline manifest work.docs/mcp-server.md..mcp.json runs:
{
"mcpServers": {
"kubescape": {
"command": "kubescape",
"args": ["mcpserver"]
}
}
}
Add --workspace (or set KUBESCAPE_WORKSPACE_DIR) in the client config when local IaC scans should be contained.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/kubescape-fixRemediate Kubescape posture findings with kubescape fix against a prior JSON scan report. Use to preview or apply in-place manifest fixes, write copies/patches/Kustomize overlays, narrow by control ID, and optionally verify remediations./kubescape-scanRun Kubescape CLI scans on Kubernetes clusters, YAML/JSON manifests, Helm charts, Kustomize dirs, git URLs, and container images. Use for NSA/MITRE/CIS and other frameworks, controls, severity gates, and report formats (json, sarif, junit, html, etc.).npx claudepluginhub kubescape/kubescape --plugin kubescapeOther plugins' skills for the same job