Kubernetes Port Forward — MCP Server: port-forward Kubernetes services with terminal integration
Kubernetes Port Forward — MCP Server: port-forward Kubernetes services with terminal integration
A Model Context Protocol (MCP) server that provides tools for discovering Kubernetes services and running kubectl port-forward sessions (optionally with separate log windows). It is designed for MCP clients/LLMs that translate natural language into structured tool calls.
kubectl installed and configured with access to your cluster - VS Code, Cursor, Windsurf, Claude Desktop, Cline, or any other MCP clientCompare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| list_k8s_namespaces | Title: List namespaces |
| Parameters | None |
| Read-only | false |
| list_k8s_services | Title: List services |
| Parameters: | services (array, required): List of service configs. |
| start_k8s_port_forward | Title: Start port-forward |
| serviceName | string, required): Short name of the service. (Call list_k8s_services first.) |
| localPort | number, required): Local port to bind (1-65535). |
| namespace | string, optional): Namespace to target. |
| remotePort | number, optional): Remote (cluster) port. |
| environment | string, optional): dev | qa | stg | prod. |
| includeLogs | boolean, optional): Whether to open logs in a separate window (default: true). |
| stop_k8s_port_forward | Title: Stop port-forward |
{
"mcpServers": {
"k8s-port-forward": {
"command": "npx",
"args": [
"-y",
"k8s-port-forward-mcp@latest"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
kubectl installed and configured with access to your cluster - VS Code, Cursor, Windsurf, Claude Desktop, Cline, or any other MCP clientStop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
kubectl with a conversational interface — inspect pods, read logs, diagnose clusters and manage workloads.