Skip to main content
MCP server CX Codex

Netra — Claude Code MCP server: what it does, how to install

Netra is an MCP server for Claude Code that connects an agent to Linux and Kubernetes network diagnostics and emergency controls. Its tools can inspect traffic and apply temporary deny rules.

no license ★ 6 updated 2026-10-24

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env NETRA_URL=<NETRA_URL> --env NETRA_API_KEY=<NETRA_API_KEY> --env NETRA_MCP_ALLOW_MUTATIONS=<NETRA_MCP_ALLOW_MUTATIONS> --env NETRA_MCP_ACTOR=<NETRA_MCP_ACTOR> --transport stdio netra -- docker run -i --rm -e NETRA_URL -e NETRA_API_KEY -e NETRA_MCP_ALLOW_MUTATIONS -e NETRA_MCP_ACTOR ghcr.io/zyvorai/netra-mcp:0.32.0
Open on GitHub

What Netra does

Netra exposes network observability and emergency controls for Linux and Kubernetes through 190 MCP tools. An agent can investigate kernel packet drops, inspect network paths and capture filtered traffic. Deny rules have a lease and return to observation automatically when it expires.

The container runs as ghcr.io/zyvorai/netra-mcp:0.32.0. Setup requires Docker, a Netra server address in NETRA_URL, an API key in NETRA_API_KEY, and values for NETRA_MCP_ALLOW_MUTATIONS and NETRA_MCP_ACTOR. The mutation setting gates changes. Netra works without Cilium; Cilium and Hubble integrations are optional.

What it helps with

  • trace why the kernel dropped packets
  • investigate network path delays and congestion
  • capture filtered traffic from a node
  • apply a temporary deny rule that later returns to observation

Example prompts for the agent

  • Find the cause of packet drops on this Linux node.
  • Investigate network delays in this Kubernetes cluster and show the related flows.
  • Block connections to this address for a limited time.

How to install Netra

Platform CLI

claude mcp add --env NETRA_URL=<NETRA_URL> --env NETRA_API_KEY=<NETRA_API_KEY> --env NETRA_MCP_ALLOW_MUTATIONS=<NETRA_MCP_ALLOW_MUTATIONS> --env NETRA_MCP_ACTOR=<NETRA_MCP_ACTOR> --transport stdio netra -- docker run -i --rm -e NETRA_URL -e NETRA_API_KEY -e NETRA_MCP_ALLOW_MUTATIONS -e NETRA_MCP_ACTOR ghcr.io/zyvorai/netra-mcp:0.32.0

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Netra

How do I install Netra in Claude Code?

Set NETRA_URL, NETRA_API_KEY, NETRA_MCP_ALLOW_MUTATIONS, and NETRA_MCP_ACTOR, then run `claude mcp add --env NETRA_URL=<NETRA_URL> --env NETRA_API_KEY=<NETRA_API_KEY> --env NETRA_MCP_ALLOW_MUTATIONS=<NETRA_MCP_ALLOW_MUTATIONS> --env NETRA_MCP_ACTOR=<NETRA_MCP_ACTOR> --transport stdio netra -- docker run -i --rm -e NETRA_URL -e NETRA_API_KEY -e NETRA_MCP_ALLOW_MUTATIONS -e NETRA_MCP_ACTOR ghcr.io/zyvorai/netra-mcp:0.32.0`.

What does Netra do?

Netra gives an agent tools to inspect Linux and Kubernetes networking, trace packet drops, and capture traffic. It can also manage temporary deny rules.

What does Netra need to run?

It requires Docker, a server address in NETRA_URL, and an API key in NETRA_API_KEY. Configure NETRA_MCP_ALLOW_MUTATIONS and NETRA_MCP_ACTOR as well.

Similar MCP servers

All MCP servers for DevOps and infrastructure →

Project sponsors

Companies that keep this analytics open