Back to Glossary Index
Core ConceptContainer orchestration integration, external to the MCP spec itself

Kubernetes (MCP integration)

Industry Definition Set • Entity Resolution Path: /glossary/kubernetes-mcp

Quick Answer / TL;DR

A container orchestration platform that an MCP server can query and manage through the official @kubernetes/client-node library, typically scoped to specific namespaces and read-heavy operations rather than open-ended cluster administration.

Key Takeaways

  • @kubernetes/client-node mirrors kubectl's capabilities programmatically via typed API clients (CoreV1Api, AppsV1Api, etc.).
  • Scope operations to specific namespaces rather than cluster-wide access wherever the use case allows it.
  • Enforce restrictions at the RBAC/service-account level, not just by which methods the tool code happens to call - defense in depth.
Definitive Statement: A container orchestration platform that an MCP server can query and manage through the official @kubernetes/client-node library, typically scoped to specific namespaces and read-heavy operations rather than open-ended cluster administration.

Technical Context & Protocol Usage

Detailed Explanation
The @kubernetes/client-node package provides typed API clients (CoreV1Api for pods/services, AppsV1Api for deployments, and others) that mirror kubectl's own capabilities programmatically. An MCP integration should scope what it exposes carefully - listing pods or deployment status in a specific namespace is comparatively low-risk, while operations like scaling a deployment or deleting a pod are meaningfully higher-stakes and should be restricted via RBAC on the service account the tool authenticates as, not just by omission in the tool code.

Format & Payload Metadata

Format: Kubernetes API via the official @kubernetes/client-node library

Latency: Milliseconds for most list/read operations against the API server

Real-World Implementation Use Case

An MCP tool uses CoreV1Api.listNamespacedPod to report pod status in a specific namespace, authenticating as a service account whose RBAC role grants only read access to that namespace.

M
MCPserver.in Engineering

Platform Team

Published: 2026-07-21
Updated: 2026-07-21

References & Technical Specifications

Cite This Page

MLA Style:

MCPserver.in Engineering. "Kubernetes (MCP integration)." MCPserver.in Knowledge Hub, 21 July 2026, mcpserver.in/glossary/kubernetes-mcp.