
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-k8s-go
This project is intended as a both MCP server connecting to Kubernetes and a library to build more servers for any custom resources in Kubernetes.

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.
MCP 3D Printer Server
Enables interaction with 3D printer management systems through an MCP server, supporting STL file manipulation, slicing, and control of printers like OctoPrint, Klipper, Duet, and more.
MCP Server Template
A template for creating Model Context Protocol (MCP) servers in TypeScript, offering features like container-based dependency injection, a service-based architecture, and integration with the LLM CLI for architectural design feedback through natural language.
Code Sandbox MCP
An MCP server to create secure code sandbox environment for executing code within Docker containers.