MCP Installation

Install

brew install kubeshark

Or download from GitHub Releases.


Connect an AI Agent

Claude Code:

claude mcp add kubeshark -- kubeshark mcp

Cursor / VS Code: Add to your MCP configuration:

{
  "mcpServers": {
    "kubeshark": {
      "command": "kubeshark",
      "args": ["mcp"]
    }
  }
}

Without kubectl access (connect directly to an existing deployment):

claude mcp add kubeshark -- kubeshark mcp --url https://kubeshark.example.com

CLI Options

OptionDescription
--urlConnect directly to Kubeshark URL (no kubectl required)
--kubeconfigPath to kubeconfig file
--allow-destructiveEnable start/stop Kubeshark operations
--list-toolsList available MCP tools and exit

What’s Next