About Kubescape Mcp
Kubescape Mcp exposes four Kubescape CLI commands to MCP clients for Kubernetes security scanning. It is intended for users who want to run Kubescape checks through an MCP-compatible assistant.
Key features
- 01Four Kubescape CLI tools
- 02Image scanning
- 03Kubescape security checks
Use cases
- 01Scan a public container image
- 02Run Kubescape checks from an AI assistant
MCP support
The MCP server exposes four tools that invoke Kubescape CLI commands. Clients can configure it to run with uv.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPre requisties is to install kubescape cli https://kubescape.io/docs/getting-started/
-> Install uv and add below json config file to claude desktop or cursor.
{ "mcpServers": {
"kubescapeserver": {"command":"uv",
"args": ["--directory", "/Users/haji/mcp-servers/kubescapeserver", "run", "server.py"]}
} }
It exposes 4 tools which are CLI commands from kubescape.
-> Prompt to scan image test:
-> As there is no image test , Model suggested to try public image scan.
-> Prompting to scan nginx image
-> AI suggestions after image is scanned for other specific frameworks (like NSA, MITRE ATT&CK,etc)
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.