K8s Port Forward MCP
Discover Kubernetes services and start one or more kubectl port-forward sessions through MCP.
Install K8s Port Forward MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"k8s-port-forward-mcp": {
"command": "npx",
"args": [
"-y",
"k8s-port-forward-mcp@latest"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y k8s-port-forward-mcp@latestProcess exited before answering initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Discover available Kubernetes services before connecting locally
- Start several service port-forwards with one agent request
- Map remote Kubernetes ports to chosen local ports
- Open live logs in separate terminal windows while forwarding
Key features
- Kubernetes service discovery
- Namespace and environment inference
- Multiple port-forwards per request
- Structured local and remote port configuration
- Optional per-service log windows
- kubectl-based execution
Tools12
What K8s Port Forward MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 16d ago via OSV.dev · k8s-port-forward-mcp@latest (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How K8s Port Forward MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about K8s Port Forward MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/k8s-port-forward-mcp)<a href="https://allmcps.com/mcp/k8s-port-forward-mcp"><img src="https://allmcps.com/api/badge/k8s-port-forward-mcp?style=directory" alt="K8s Port Forward MCP on AllMCPs" /></a>