Kubescape Mcp

by mohdhaji87

207 downloads
Not rated
GitHub

Description

Pre 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"…

About

Pre 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…

Details

Author
mohdhaji87
Downloads
207
Categories
Other, Security

- Exposes 4 tools that map to kubescape CLI commands.
- Scans container images for vulnerabilities.
- Provides AI-generated security suggestions.
- Supports security frameworks like NSA and MITRE ATT&CK.
- Works with both local and public container images.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Kubescape Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

First, install the kubescape CLI and uv. Then add the following JSON configuration to your MCP settings in Claude Desktop or Cursor, adjusting the directory path to point to your local copy of the server:

{
"mcpServers": {
"kubescapeserver": {
"command": "uv",
"args": ["--directory", "/Users/haji/mcp-servers/kubescapeserver", "run", "server.py"]
}
}
}

After configuration, the server’s tools become available and can be invoked via prompts (e.g., “scan image nginx”).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "kubescape mcp": {
            "kubescapeserver": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/Users/haji/mcp-servers/kubescapeserver",
                    "run",
                    "server.py"
                ]
            }
        }
    }
}

McpServers

{
    "kubescapeserver": {
        "command": "uv",
        "args": [
            "--directory",
            "/Users/haji/mcp-servers/kubescapeserver",
            "run",
            "server.py"
        ]
    }
}

Pre 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.

image



-> Prompt to scan image test:

image


-> As there is no image test , Model suggested to try public image scan.
image




-> Prompting to scan nginx image


image


-> AI suggestions after image is scanned for other specific frameworks (like NSA, MITRE ATT&CK,etc)

image

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.