K8s MCP Server

Kubernetes cluster management through LLM-driven kubectl command execution.

Data last scanned yesterday · Reviewed last month

Overview

The K8s MCP Server enables AI models to interact with Kubernetes clusters by wrapping kubectl commands into standardized tools. It supports a wide range of administrative operations, including scaling deployments, managing pods, retrieving logs, and editing resource labels or annotations. The server allows users to issue natural language instructions for cluster maintenance tasks, such as switching contexts, listing namespaces, or performing port-forwarding operations. Future updates are planned to add support for managing cluster roles, namespaces, and service accounts.

Our verdict

With a security score of 15/100, this tool carries a high level of risk. The project has not been updated in over 484 days and lacks a defined open-source license, creating significant legal and maintenance uncertainty. Given its status as a community-maintained project rather than an official Kubernetes vendor release, it should only be used in non-critical development environments where auditing its operations is feasible.

  • Zero direct dependencies reduce potential supply-chain vulnerability surfaces
  • Provides comprehensive documentation for supported Kubernetes resource operations
  • No open-source license detected for the repository
  • Inactive development with no commits for over 484 days
  • Community-maintained project lacking official Kubernetes vendor oversight

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

What are the prerequisites for running this server?

You must have Python 3.x installed, access to a Kubernetes cluster configured via kubectl, and the MCP framework set up.

How does the server interact with Kubernetes?

The server wraps standard kubectl commands and exposes them as MCP tools, allowing LLMs to execute cluster operations.

Are there specific security considerations for this server?

Because this server grants an LLM control over your cluster, you should ensure proper access controls are in place, the server is running in a secure environment, and API access is authenticated.

Can I use this server with Claude Desktop?

Yes, you can configure the server in your Claude Desktop settings using the provided JSON block or install it automatically via Smithery.

Alternatives

Badge

K8s MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.