Skip to content

Kubefwd

Untested

Kubernetes bulk port forwarding with service discovery, /etc/hosts management, traffic monitoring, and pod log streaming

by txn2 4,066 Apache-2.0 Go Advanced stdio

Install

No auto-install command available for this server.

Check the GitHub repository for setup instructions

Safety Report

100% Untested
Scanned yesterday
7 passed
Security
Authentication
details

Uses existing kubectl configuration and kubeconfig for cluster authentication. Requires root/sudo for network interface and /etc/hosts modifications.

Pass
CORS Policy
details

Local CLI tool with MCP integration. CORS not applicable.

N/A
Rate Limiting
details

No rate limiting needed; operates locally against Kubernetes cluster.

N/A
Known CVEs
details

No known CVEs. Strong supply chain security posture with SLSA 3 compliance.

Pass
Code Quality
Dependency Audit
details

Achieves SLSA Level 3 supply chain security. Maintains OpenSSF Scorecard certification and OpenSSF Best Practices badge.

Pass
Dangerous Patterns
details

No dangerous code patterns detected

Pass
License
details

Apache License 2.0.

Pass
Code Source
details

Open source on GitHub (txn2/kubefwd). Apache 2.0 licensed.

Pass
Community
Maintenance Status
details

Actively maintained. Available via Homebrew, winget, scoop, and Linux package managers. Regular releases.

Pass

Learn about our security methodology →

Compatibility

Claude CodeDocumented integration with Claude Code via MCP. Requires kubefwd running as a daemon with MCP endpoint enabled.
Not Tested
CursorDocumented integration with Cursor via MCP configuration.
Not Tested
VS CodeShould work with VS Code MCP extensions. Not explicitly documented.
Partial
WindsurfStandard MCP transport should be compatible. Not explicitly documented.
Partial
Claude DesktopShould work via standard MCP JSON config. Not explicitly documented.
Partial

Tools Provided (28)

list_k8s_namespaces

Query and list available Kubernetes namespaces in the current cluster context.

list_k8s_services

List Kubernetes services available in a namespace.

list_contexts

List available kubectl contexts from kubeconfig.

add_namespace

Start forwarding all services in a Kubernetes namespace to localhost.

remove_namespace

Stop forwarding all services in a previously added namespace.

add_service

Forward a specific Kubernetes service to a local port.

remove_service

Stop forwarding a specific Kubernetes service.

list_services

List all services currently being port-forwarded by kubefwd.

get_service

Get details about a specific forwarded service including its local hostname and port.

find_services

Search for Kubernetes services matching a name or label pattern.

get_connection_info

Retrieve connection details for a forwarded service.

list_hostnames

List all local hostname mappings created by kubefwd in /etc/hosts.

list_pods

List pods associated with a service or namespace.

get_pod

Get detailed information about a specific pod.

get_pod_logs

Stream or retrieve logs from a specific pod.

get_events

Retrieve Kubernetes cluster events for diagnostics.

get_endpoints

Get endpoint information for a Kubernetes service.

get_health

Check the health status of kubefwd and its active forwards.

get_quick_status

Get a quick summary of kubefwd status and active connections.

get_metrics

Retrieve performance metrics for active port forwards.

get_analysis

Analyze kubefwd state and provide diagnostic recommendations.

diagnose_errors

Identify and explain errors in active service forwards.

get_http_traffic

Monitor HTTP traffic passing through forwarded services.

get_history

Retrieve history of forwarding actions and connection events.

get_logs

Retrieve kubefwd application logs for troubleshooting.

reconnect_service

Reconnect a dropped or errored service forward.

reconnect_all_errors

Attempt to reconnect all services currently in an error state.

sync_service

Sync a service forward with the latest Kubernetes state.

Frequently Asked Questions

What is Kubefwd?

Kubernetes bulk port forwarding with service discovery, /etc/hosts management, traffic monitoring, and pod log streaming

What tools does Kubefwd provide?

Kubefwd provides 28 tools including list_k8s_namespaces, list_k8s_services, list_contexts, add_namespace. Each tool can be called by AI agents to perform specific operations.

Is Kubefwd safe to use?

Kubefwd has not yet been security scanned. We recommend reviewing the source code and safety report before use.

What are alternatives to Kubefwd?

Similar MCP servers include Awslabs MCP Server, MCP Server Cloudflare, Azure MCP Server. Each serves a similar purpose but may differ in features, language, and compatibility.

Similar MCP Servers