Kubeshark MCP
Lets your AI agent look at Kubernetes network traffic to investigate API calls and find the root cause of incidents.
12k stars on GitHubby KubesharkLicense Apache-2.0Updated 22 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Download the .mcpb file and open it with Claude Desktop.
Download the .mcpb file βReady! Now test it
Restart the app and paste one of these requests in the chat:
Why did checkout fail at 2:15 PM?
Which services have error rates above 1%?
What it is
Kubeshark indexes network traffic across a Kubernetes cluster using eBPF, including HTTP, gRPC, Redis, Kafka and DNS, with Kubernetes details attached. Through MCP, an agent can query traffic, investigate API calls and run root cause analysis in plain language.
What it can do
- Query cluster network traffic with KFL filters
- Investigate API calls
- Download retrospective PCAPs
- See TLS traffic in plain text
- Network RCA skill for root cause analysis
- KFL skill to write and debug traffic filters
When to use
- βΊWhen a service failed at a given time and you want to know why.
- βΊWhen you want to find services with high error rates.
- βΊWhen you need a packet capture for Wireshark.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
network-rcaHelps your agent investigate a past network incident in a Kubernetes cluster by studying saved traffic snapshots.analyzing-network-traffic-with-wiresharkHelps your agent capture and analyze network packets to find malicious traffic. It's useful for troubleshooting and investigating security incidents.wireshark-analysisTeaches your agent to capture and analyze network traffic in Wireshark, filter packets and follow conversations for troubleshooting or investigation.Frequently asked questions
Is it free and open source?
The readme shows an Apache-2.0 license.
How do I connect an agent?
Install with brew install kubeshark, then run claude mcp add kubeshark -- kubeshark mcp.
Does it decrypt TLS?
Yes, it decrypts TLS and mTLS traffic using eBPF, with no key management or sidecars.
Can it run offline?
The readme says it is 100% on-premises with air-gapped support and no external dependencies.
Which clients work?
Claude Code, Cursor and any MCP-compatible AI.
Where can I keep captures?
Snapshots can be stored in S3, Azure Blob or GCS.
If it does not work
- βΊCheck that Kubeshark is installed in your cluster and port-forward to kubeshark-front works.
- βΊMake sure the kubeshark CLI is installed (for example with brew install kubeshark).
- βΊFor production, use an ingress controller instead of port-forward.
5 new skills a week. 1 minute to read.