Kubernetes Interactive
Run and interpret Kubernetes commands interactively with a provided kubeconfig.
k8s-interactive-mcp
A MCP server that can run Kubernetes commands with a given kubeconfig path and provide interpretation of the commands.
Result
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.
Related Servers
MCP Startup Framework
A framework for building MCP servers on Cloudflare Workers with OAuth, PostgreSQL, and Stripe.
MCP Server with Ollama Integration
An MCP server that integrates with Ollama to provide tools for file operations, calculations, and text processing. Requires a running Ollama instance.
PsiAnimator-MCP
A server for quantum physics simulation and animation, using QuTip for computations and Manim for visualizations.
Sailor
Generate and render Mermaid diagrams as images using LLMs.
IDA Pro MCP
MCP Server for automated reverse engineering with IDA Pro.
Vega-Lite
Generate visualizations from fetched data using the VegaLite format and renderer.
scan-mcp
Minimal MCP server for scanner capture (ADF/duplex/page-size), batching, and multipage assembly
Jupyter Notebook MCP Server
Interact with Jupyter notebooks, allowing for code execution, cell manipulation, and notebook management.
Aseprite MCP
A server for programmatic interaction with Aseprite, enabling batch processing and automation for sprite creation and management.
Google Apps Script MCP Server
Manage Google Apps Script projects, including creation, editing, deployment, and execution. Requires Google Cloud credentials for authentication.