Skip to content
MCP server

Kubefwd

Kubernetes bulk port forwarding with local service names, controllable by AI assistants

Runs locallyActively maintained

The repository was last updated 7 days ago and is published under Apache-2.0.

Kubefwd is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
GitHub stars
4.2K
Last commit
Language
Go

Similar MCP servers

Install

In Claude Desktop → Settings → Extensions

https://github.com/txn2/kubefwd/releases/download/v1.25.18/kubefwd-1.25.18-darwin-arm64.mcpb

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

Claude Desktop setup guide

Using several servers? Build one config file with the MCP config generator.

About Kubefwd

Kubefwd replaces one kubectl port-forward per service with a single command that forwards every service in a namespace. It gives each service its own 127.x.x.x loopback address and writes the service names into /etc/hosts, so a local app can keep using connection strings such as db:5432 or http://api-gateway:8080 unchanged.

The README lists an interactive terminal UI with traffic metrics and pod log streaming, automatic reconnection when pods restart, label and multi-namespace filters, and a REST API. It needs kubectl access to a cluster and root or sudo for the hosts file and network interfaces. The registry entry distributes the MCP integration as mcpb bundles for macOS (arm64 and amd64) and Windows, and the docs have a dedicated MCP page for Claude Code and Cursor.

The project is Apache 2.0 licensed, and the README compares it with kubectl port-forward, Telepresence and mirrord.

What it does

Bulk forwarding
Forward every service in one or more namespaces with one command.
Unique loopback IPs
Each service gets its own address, avoiding port conflicts.
Hosts file entries
Service names resolve locally through /etc/hosts.
Auto-reconnect
Re-establishes forwards when pods restart.
Interactive TUI
Shows live traffic, HTTP activity and pod logs.
REST API
Control forwards over HTTP.

Good for

  • Run a local API against databases and caches in a dev cluster
  • Let an AI assistant start or inspect forwards
  • Keep production-style connection strings working on a laptop
  • Monitor traffic to forwarded services

Pricing

Open source

Prices change. Check kubefwd.com before you buy.

Kubefwd FAQ

Do I need root?

Yes. The README requires root or sudo for /etc/hosts and network interfaces.

How does Kubefwd differ from kubectl port-forward?

It forwards all services in a namespace, gives each a unique IP and resolves names automatically.

How do I install Kubefwd?

brew install kubefwd on macOS, winget or scoop on Windows, packages from releases on Linux, or Docker.

What licence is Kubefwd?

Apache License 2.0.

Is Kubefwd free?

Yes. Kubefwd is open source, so you can use and self-host it for free.

What are the best alternatives to Kubefwd?

The closest alternatives to Kubefwd are REA, Codebase Memory, Serena MCP: the IDE for your agent, XERJ and Context7.

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers