Skip to content
Skillpedia
βœ“ Official Β· Kubeshark● Free and open sourceπŸ’» LocalπŸ”“ No API keyCloud and servers

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

A Kubernetes cluster with Kubeshark installed (Helm or Homebrew) and the kubeshark CLI, which runs the MCP server with kubeshark mcp.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

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.