Skip to content
Agentmart
Submit a tool

Kubefwd

Kubernetes port forwarding for local development with automatic /etc/hosts entries.

Connector by txn2 · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)★ 4,177
Write a review

Install

Works with Claude Desktop. Read the repository before you give any tool access to your data.

Download the bundle

MCP bundle (.mcpb): open it with Claude Desktop.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Kubernetes port forwarding for local development with automatic /etc/hosts entries.

Use cases: containers-kubernetes, debugging

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
20 read · 3 write · 2 delete · 3 not yet classified
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Downloaded binary

Tools by what they do 28

Read from the source code; the running server may list different tools.

Read 20 · Look things up without changing anything.

  • find_services
  • get_analysis
  • get_connection_info
  • get_endpoints
  • get_events
  • get_health
  • get_history
  • get_http_traffic
  • get_logs
  • get_metrics
  • get_pod
  • get_pod_logs
Show 8 more tools
  • get_quick_status
  • get_service
  • list_contexts
  • list_hostnames
  • list_k8s_namespaces
  • list_k8s_services
  • list_pods
  • list_services

Write 3 · Create, change, send or run things.

  • add_namespace
  • add_service
  • sync_service

Delete 2 · Delete, drop, revoke or wipe things.

  • remove_namespace
  • remove_service

Not yet classified 3 · We could not tell from the name and description.

  • diagnose_errors
  • reconnect_all_errors
  • reconnect_service

Network hosts it talks to 1

  • github.com · found in install command

Tools (28)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • add_namespace

    Forward all services in a namespace to localhost. Adds /etc/hosts entries for each service. Returns list of discovered services with connection info.

  • add_service

    Forward a single service to localhost. Returns local IP, hostnames (added to /etc/hosts), and mapped ports. Requires namespace and service_name.

  • diagnose_errors

    Diagnose current errors with root cause analysis. Returns error types, affected pods, and specific fix suggestions.

  • find_services

    Search forwarded services by name pattern, port number, or namespace. Returns matching services with connection info.

  • get_analysis

    Full analysis with issues, priorities, and recommended actions. Returns classified errors and specific tool calls to fix them. Best starting point for troubleshooting.

  • get_connection_info

    Get connection details for a forwarded service: IP address, hostnames, ports, and environment variables. Use after add_service to get ready-to-use connection strings. Requires service_name.

  • get_endpoints

    Get endpoints for a Kubernetes service. Shows which pods are backing the service and their ready state. Useful for debugging service-to-pod routing.

  • get_events

    Get Kubernetes events for debugging. Shows scheduling, pulling, starting, killing events. Filter by resource kind (Pod, Service) and name. Critical for diagnosing startup failures.

  • get_health

    Get kubefwd health: status (healthy/degraded/unhealthy), version, uptime, and service/error counts.

  • get_history

    Access event, error, or reconnection history. Filter by type and service key. Analyze patterns over time. Requires type ('events', 'errors', or 'reconnections').

  • get_http_traffic

    View HTTP requests through a forward: method, path, status code, response time. Debug API calls and verify connectivity. Requires service_key (e.g., 'myservice.namespace.context') or forward_key.

  • get_logs

    Get kubefwd log entries. Filter by level (debug/info/warn/error) or search text. Returns timestamped messages.

  • get_metrics

    Get bandwidth metrics: total bytes in/out, transfer rates, per-service breakdown. Shows network activity.

  • get_pod

    Get detailed pod information including containers, status, conditions, resources, and events. Use to diagnose pod issues. Requires namespace and pod_name.

  • get_pod_logs

    Get logs from a Kubernetes pod. Useful for debugging services. Returns recent log lines from the pod's container. Requires namespace and pod_name. Get pod names from list_pods or get_service output.

Show 13 more tools
  • get_quick_status

    Fast health check returning ok/issues/error with message. Use as first check before taking action.

  • get_service

    Get detailed service info: all port forwards, pods, hostnames, traffic bytes/rates, and error state. Requires key (e.g., 'servicename.namespace.context').

  • list_contexts

    List Kubernetes contexts from kubeconfig with current context marked. Use to discover clusters before forwarding.

  • list_hostnames

    List all /etc/hosts entries created by kubefwd. Shows hostname-to-IP mappings for each forwarded service.

  • list_k8s_namespaces

    List available Kubernetes namespaces with forwarding status. Use to discover what can be forwarded.

  • list_k8s_services

    List services in a namespace with type, ports, and forwarding status. Use to discover what can be forwarded. Requires namespace.

  • list_pods

    List Kubernetes pods with status, ready state, restarts, and age. Filter by label selector or service name. Essential for finding which pods back a service. Requires namespace.

  • list_services

    List all forwarded services with status. Returns service names, namespaces, contexts, forward counts, and error states.

  • reconnect_all_errors

    Reconnect all errored services at once. Returns count of services triggered.

  • reconnect_service

    Reconnect a service to its pods. Use when service is in error state. Forces immediate reconnection attempt. Requires key (e.g., 'servicename.namespace.context').

  • remove_namespace

    Stop all service forwards in a namespace. Removes /etc/hosts entries and cleans up network interfaces.

  • remove_service

    Stop forwarding a service. Removes /etc/hosts entries and releases the allocated IP. Requires key (e.g., 'servicename.namespace.context').

  • sync_service

    Re-sync pods for a service. Discovers pod changes and updates forwards. Use after deployments or pod restarts. Requires key (e.g., 'servicename.namespace.context').

Compare and alternatives

    Featured in

    Signals

    Stars
    4,177
    Forks
    240
    Open issues
    1
    Contributors
    51
    Last commit
    Oct 17, 2026 (11 days ago)
    Last release
    Oct 16, 2026 (12 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    Registry name
    io.github.txn2/kubefwd
    Version
    1.25.18
    Auth
    No auth
    License
    Apache-2.0
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from txn2

    Cite this page

    Kubefwd MCP server. Agent Mart. https://agentmart.dev/connectors/txn2-kubefwd (last updated 2026-10-24)