Esta página se muestra en inglés. Una traducción al español está en curso.
MCP ConfigsMay 14, 2026·2 min de lectura

k8s-mcp-server — Kubernetes + Helm MCP Tools

Build k8s-mcp-server in Go to expose Kubernetes tools over MCP with stdio/SSE/streamable-http modes and an optional read-only flag.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Native · 94/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Mcp
Instalación
Go
Confianza
Confianza: Established
Entrada
go build -o k8s-mcp-server main.go
Comando CLI universal
npx tokrepo install b87b1414-f0f9-5a34-ab79-86c0f3965d3a
Introducción

Use k8s-mcp-server to connect an MCP-capable assistant to Kubernetes and Helm operations with a clear, flag-driven runtime mode.

Build k8s-mcp-server in Go to expose Kubernetes tools over MCP with stdio/SSE/streamable-http modes and an optional read-only flag.

Best for: platform engineers who want MCP-based Kubernetes tooling with explicit run modes for CLI and web integrations

Works with: Go, kubeconfig or env-based cluster auth, MCP clients (stdio) or web transports (SSE/streamable-http)

Setup time: ~10–20 minutes (clone + go build + first config)

Key facts (verified)

  • GitHub: 155 stars · 37 forks · pushed 2026-05-11.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • Entrypoint (README-backed): go build -o k8s-mcp-server main.go.

Main

  • Prefer --read-only for first runs; only enable write operations after you validate namespace scoping and auth paths.
  • Use stdio mode for desktop clients and SSE/HTTP modes for web deployments; keep configs separate per environment.
  • Keep kubeconfig and tokens out of agent prompts; pass them via env vars and mount paths as documented.

README excerpt (source)

# Kubernetes MCP Server

A Kubernetes Model Context Protocol (MCP) server that provides tools for interacting with Kubernetes clusters through a standardized interface.

## Hosted deployment

A hosted deployment is available on [Fronteir AI](https://fronteir.ai/mcp/reza-gholizade-k8s-mcp-server).

## Features

- **API Resource Discovery**: Get all available API resources in your Kubernetes cluster.
- **Resource Listing**: List resources of any type with optional namespace and label filtering.
- **Resource Details**: Get detailed information about specific Kubernetes resources.
- **Resource Description**: Get comprehensive descriptions of Kubernetes resources, similar to `kubectl describe`.
- **Pod Logs**: Retrieve logs from specific pods (optionally from a specific container, or all containers if unspecified).
- **Node Metrics**: Get resource usage metrics for specific nodes.
- **Pod Metrics**: Get CPU and Memory metrics for specific pods.
- **Event Listing**: List events within a namespace or for a specific resource.
- **Resource Creation/Updating**: Create new Kubernetes resources or update existing ones from a YAML or JSON manifest.

FAQ

Q: What modes are supported? A: The README documents stdio, SSE, and streamable-http modes with flags and env vars.

Q: Can I keep it read-only? A: Yes—use the --read-only flag as shown in the docs/config examples.

Q: How should I authenticate? A: Start with kubeconfig via env or mounted paths; avoid pasting tokens into chats.

🙏

Fuente y agradecimientos

Source: https://github.com/reza-gholizade/k8s-mcp-server > License: MIT > GitHub: 155 stars · 37 forks · pushed 2026-05-11

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados