Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyzes Kubernetes pod traffic via Kubeshark: L4/L7 inspection, TLS decryption, pcap export, flow analysis, and service mapping.
32% 100%+68 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 7 of 22 without it.
Which environment variable must be set to point an MCP client to a locally port-forwarded Kubeshark instance running on port 8898?
Specifies KUBESHARK_MCP_URL set to http://localhost:8898/mcp.
3 of 3 safety checks passed
| Property | Value |
|---|---|
| Source | kubeshark/kubeshark — MCP docs |
| Transport | Remote HTTP (JSON-RPC 2.0, default port 8898) |
| Language | Go (built into Kubeshark Hub) |
| Tools | 6 (capture, export pcap, snapshot, filter, L4 flows, flow summary) |
| Auth | None (cluster-internal); requires kubectl port-forward for remote access |
| Requires | Kubernetes cluster with Kubeshark installed via Helm |
# Install Kubeshark with MCP enabled
helm install kubeshark kubeshark/kubeshark \
--set mcp.enabled=true \
--set mcp.port=8898
# Port-forward for local access (if not in-cluster)
kubectl port-forward svc/kubeshark-hub 8898:8898
# MCP endpoint is now available at:
# http://localhost:8898/mcp
| Variable | Required | Example | Description |
|---|---|---|---|
KUBESHARK_MCP_URL | Yes | http://localhost:8898/mcp | Kubeshark MCP endpoint URL |
KUBESHARK_MCP_PORT | No | 8898 | MCP server port (default: 8898) |
| Tool | Parameters | What It Does |
|---|---|---|
capture_traffic | filter?, duration? | Start targeted packet capture across cluster pods |
Next to this one in the catalogue, plus more from the same author.