MCP Kubernetes Server
@MCP-Mirror
About MCP Kubernetes Server
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"abhijeetka_mcp-k8s-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@abhijeetka/mcp-k8s-server",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Kubernetes Server?
MCP Kubernetes Server is an MCP (Model Context Protocol) server that provides control over Kubernetes clusters through interactions with LLMs. It wraps kubectl commands to offer a simple interface for managing Kubernetes resources, enabling seamless interaction between language models and Kubernetes operations.
How to use MCP Kubernetes Server?
Install via Smithery or configure the MCP server in your Claude Desktop config (e.g., using uv to run kubernetes.py). The server exposes tools that LLMs can call using natural language prompts such as "Create a new nginx deployment with 3 replicas."
Key features of MCP Kubernetes Server
- Wraps kubectl commands for common Kubernetes operations.
- Supports create, scale, update, delete, and inspect resources.
- Includes port-forward, expose, label, and annotation management.
- Provides context switching and namespace-aware operations.
- Designed for natural language interaction through LLMs.
Use cases of MCP Kubernetes Server
- Manage deployments, pods, services, and other resources via conversational prompts.
- Automate cluster operations without memorizing kubectl syntax.
- Enable LLMs to maintain context across multi-step Kubernetes tasks.
- Validate and execute resource changes with reduced command complexity.
FAQ from MCP Kubernetes Server
What do I need to run the server?
You need Python 3.x, the MCP framework, and Kubernetes cluster access configured via kubectl.
How does the server interact with LLMs?
Each tool function is decorated with @mcp.tool(), making them accessible to LLMs through the Model Context Protocol.
Can I use it with Claude Desktop?
Yes. Add a JSON entry to your Claude Desktop config with the appropriate command (e.g., uv run kubernetes.py).
What if I want to install it automatically?
Run npx -y @smithery/cli install @abhijeetka/mcp-k8s-server --client claude via Smithery.
Are there any security considerations?
Yes. Ensure proper access controls on your cluster, run the MCP server in a secure environment, and authenticate/authorize API access.
More Cloud & Infrastructure MCP servers
Cloudflare MCP Server
cloudflareFirebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
Defang
DefangLabsDefang CLI. Develop Once, Deploy Anywhere. Take your app from Docker Compose to a secure and scalable deployment on your favorite cloud in minutes.
Kubernetes MCP Server
reza-gholizadeManage Your Kubernetes Cluster with k8s mcp-server
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Comments