skills/network-rca/references/setup.md
Homebrew (macOS):
brew install kubeshark
Linux:
sh <(curl -Ls https://kubeshark.com/install)
From source:
git clone https://github.com/kubeshark/kubeshark
cd kubeshark && make
Claude Desktop / Cowork (claude_desktop_config.json):
{
"mcpServers": {
"kubeshark": {
"command": "kubeshark",
"args": ["mcp"]
}
}
}
Claude Code (CLI):
claude mcp add kubeshark -- kubeshark mcp
Without kubectl access (direct URL mode):
{
"mcpServers": {
"kubeshark": {
"command": "kubeshark",
"args": ["mcp", "--url", "https://kubeshark.example.com"]
}
}
}
# Claude Code equivalent:
claude mcp add kubeshark -- kubeshark mcp --url https://kubeshark.example.com
/mcp to check connection statuskubeshark mcp --list-toolskubectl get pods -l app=kubeshark-hubkubeshark tapget_dissection_status and enable_dissectionget_data_boundaries — the requested window may
fall outside available data