Provides seamless Kubernetes cluster management through Model Context Protocol, enabling natural language interactions with LLMs to perform deployments, scaling, monitoring, and resource control via type-safe, context-aware commands.
Unlock the full potential of MCP Kubernetes Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
This is an MCP (Model Context Protocol) server for Kubernetes that provides control over Kubernetes clusters through interactions with LLMs.
This client allows you to perform common Kubernetes operations through MCP tools. It wraps kubectl
commands to provide a simple interface for managing Kubernetes resources. The Model Context Protocol (MCP) enables seamless interaction between language models and Kubernetes operations.
Model Context Protocol (MCP) is a framework that enables Language Models to interact with external tools and services in a structured way. It provides:
This MCP client is designed to work seamlessly with Large Language Models (LLMs). The functions are decorated with @mcp.tool()
, making them accessible to LLMs through the Model Context Protocol framework.
LLMs can interact with your Kubernetes cluster using natural language. Here are some example prompts:
The LLM will interpret these natural language requests and call the appropriate MCP functions with the correct parameters.
kubectl
When using this client with LLMs, ensure that:
{
"mcpServers": {
"Kubernetes": {
"command": "uv",
"args": [
"--directory",
"~/mcp/mcp-k8s-server",
"run",
"kubernetes.py"
]
}
}
}
We welcome contributions to the MCP Kubernetes Server! If you'd like to contribute:
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)For major changes, please open an issue first to discuss what you would like to change.
To install Kubernetes Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @abhijeetka/mcp-k8s-server --client claude
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!