k8s-interactive-mcp
A MCP server that can run Kubernetes commands with a given kubeconfig path and provide interpretation of the commands.
TaichiHo
Tools
run_kubectl_command
Run a kubectl command against the cluster pointed to by the current kubeconfig
README
k8s-interactive-mcp
A MCP server that can run Kubernetes commands with a given kubeconfig path and provide interpretation of the commands.
<a href="https://glama.ai/mcp/servers/gwvs0s78be"><img width="380" height="200" src="https://glama.ai/mcp/servers/gwvs0s78be/badge" alt="k8s-interactive-mcp MCP server" /></a>
Result
<img src="./demo.png" alt="k8s-interactive demo" />
Features
- Run kubectl commands through MCP tools
- Flexible command line piping
- Automatic kubectl installation check
- Support for custom kubeconfig paths
- Error handling and helpful messages
Usage
- Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"k8s-interactive": {
"command": "/path/to/k8s-interactive/build/index.js"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Recommended Servers
Brev
Run, build, train, and deploy ML models on the cloud.
metoro-mcp-server
Query and interact with kubernetes environments monitored by Metoro. Look at APM, metrics, traces, profiling information with LLMs.
MCP2Lambda
Enables AI models to interact with AWS Lambda functions via the MCP protocol, allowing access to private resources, real-time data, and custom computation in a secure environment.
MCP Server Starter
A production-ready template for creating Model Context Protocol servers with TypeScript, providing tools for efficient testing, development, and deployment.
kubernetes-mcp-server
A powerful and flexible Kubernetes MCP server implementation with support for OpenShift.
MCP-IDB
Integration between Model Context Protocol (MCP) and Facebook's iOS Development Bridge (idb), enabling automated iOS device management and test execution through natural language.
Minecraft Docker MCP
Enables AI interactions with a running Minecraft server inside a Docker container using RCON, allowing models to programmatically create Minecraft builds and manage the server.
Sandbox MCP Server
Provides isolated Docker environments for code execution, enabling users to create and manage containers, execute multi-language code, save and reproduce development environments, ensuring security and isolation.
MCP Development Server
A Model Context Protocol server that enables Claude to manage software development projects with complete context awareness and code execution through Docker environments.
Room MCP
A command-line tool that enables the use of MCP with the Room protocol, allowing agents to create and interact in peer-to-peer virtual rooms for goal-oriented collaboration.