Kubernetes MCP Server
Provides real-time observability and debugging capabilities for Kubernetes clusters, including access to pods, services, nodes, events, and deployments with built-in health monitoring and connectivity analysis tools.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kubernetes MCP Servercheck pod status in the production namespace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kubernetes MCP Server - Production Ready
A production-ready Model Context Protocol (MCP) server for Kubernetes observability and debugging.
🚀 What This Provides
MCP Server: Standardized interface for Kubernetes cluster access
Real-time Data: Live access to pods, services, nodes, and events
Debugging Tools: Built-in tools for cluster health and issue analysis
Production Ready: Clean, tested code ready for production use
Related MCP server: MCP Server Kubernetes
📋 Prerequisites
Kubernetes cluster (local or remote)
kubectl configured and working
Python 3.11+
pip package manager
🛠️ Quick Setup
1. Clone the Repository
git clone https://github.com/vivekbala/mcp.git
cd mcp2. Install Dependencies
python3.11 -m pip install -r requirements.txt3. Verify Setup
python3.11 verify_setup.py🔧 MCP Server Features
Resources Available
k8s://pods- All pods with status and detailsk8s://services- Services with endpoints and connectivity infok8s://nodes- Node health and capacity infok8s://events- Recent cluster events for troubleshootingk8s://deployments- Deployment status and replica info
Tools Available
cluster_health_check- Comprehensive health analysischeck_pod_status- Pod status and issue identificationanalyze_service_connectivity- Service endpoint analysisget_pod_logs- Log retrieval and analysis
📱 Usage Examples
Basic Demo
python3.11 demo_script.pyDebugging Demo
python3.11 debug_demo.pyRun MCP Server
python3.11 mcp_server.py🔗 Integration Options
Claude Desktop
{
"mcpServers": {
"kubernetes-observability": {
"command": "python3.11",
"args": ["/path/to/mcp_server.py"],
"env": {
"KUBECONFIG": "/path/to/kubeconfig"
}
}
}
}Custom Clients
Use the MCP client libraries
Build custom debugging interfaces
Integrate with existing monitoring tools
📚 Learning Resources
🤝 Contributing
Feel free to submit issues, feature requests, or pull requests to improve this MCP server.
📄 License
This project is open source and available under the MIT License.
Ready to debug Kubernetes like a pro? 🚀
Clone this repo and start debugging your cluster issues today!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProvides MCP multi-cluster Kubernetes management and operations, featuring a management interface, logging, and nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.871MIT
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive Kubernetes cluster management through kubectl operations, Helm chart deployments, pod troubleshooting, and node management. Supports both read-only and full cluster administration capabilities with built-in safety features.12,374MIT
- FlicenseNot gradedqualityDmaintenanceEnables interactive Kubernetes cluster monitoring and troubleshooting through natural language queries. Users can diagnose pod issues, check service status, and investigate cluster problems using conversational AI.
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to interact with Kubernetes clusters by translating natural language into kubectl and Helm operations. It allows users to query, manage, and diagnose Kubernetes resources and cluster states through a seamless integration.20Apache 2.0
Related MCP Connectors
Free MCP tools: the only MCP linter, health checks, cost estimation, and trust evaluation.
Remote MCP for Copilot CLI switch gate MCP, structured receipts, audit logs, and reviewer-ready evid
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vivekbala/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server