Kube MCP
Enables management of Kubernetes cluster resources including deployments, pods, services, configmaps, secrets, namespaces, metrics, and events. Supports operations like scaling, restarting, log retrieval, and resource monitoring with safety features for destructive actions.
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., "@Kube MCPlist all pods in the default 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.
Kube MCP
A Model Context Protocol (MCP) server for Kubernetes cluster management. Enables AI assistants to interact with Kubernetes resources.
Quick Start
npx @icy-r/kube-mcpRelated MCP server: Kubernetes MCP Server
MCP Configuration
Add to your MCP client (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": ["-y", "@icy-r/kube-mcp"],
"env": {
"KUBEMCP_DEFAULT_NAMESPACE": "default"
}
}
}
}Custom kubeconfig:
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": ["-y", "@icy-r/kube-mcp"],
"env": {
"KUBEMCP_CONFIG_SOURCE": "custom",
"KUBEMCP_KUBECONFIG_PATH": "/path/to/kubeconfig"
}
}
}
}Environment Variables
Variable | Description | Default |
|
|
|
| Custom kubeconfig path | - |
| Default namespace |
|
|
|
|
Tools
Tool | Actions |
| list, get, scale, restart, get_status, get_metrics |
| list, get, delete, get_logs, summarize_logs, get_status |
| list, get, get_endpoints |
| list, get, create, update, delete |
| list, get, create, update, delete |
| list, get, create, delete |
| get_pod_metrics, get_node_metrics |
| list, get_resource_events, get_recent_events |
| get_config, configure, get_session_log, clear_session_log |
Safety Features
Destructive actions require explicit confirmation:
{ "action": "delete", "name": "my-pod", "confirm": true }Preview changes with dry-run:
{ "action": "scale", "name": "my-deployment", "replicas": 5, "dryRun": true }Development
git clone https://github.com/icy-r/kubemcp.git
cd kubemcp
pnpm install
pnpm build
pnpm testLicense
MIT
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
- Alicense-qualityDmaintenanceEnables advanced management of Kubernetes clusters through natural language interactions. Supports querying, managing, and monitoring pods, deployments, nodes, and logs across multiple contexts and namespaces.10MIT
- FlicenseBqualityDmaintenanceEnables managing Kubernetes clusters through natural language by providing tools to list resources, view logs, port-forward services, scale deployments, and execute kubectl operations via AI assistants.81
- Alicense-qualityDmaintenanceEnables 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.15,818MIT
- Flicense-qualityCmaintenanceEnables interaction with Kubernetes clusters through 32 specialized tools for managing resources, deployments, and services. Provides both CLI and web interfaces for real-time Kubernetes operations powered by Google Gemini.5
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
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/icy-r/kubemcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server