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
WinTerm MCP
Provides programmatic access to the Windows terminal, enabling AI models to interact with the command line interface.
OpenAPI MCP Server
Explore and analyze OpenAPI specifications from local files or remote URLs.
Slowtime MCP Server
A server for secure time-based operations, featuring timing attack protection and timelock encryption.
Bifrost VSCode Dev Tools
Exposes VSCode dev tools features to MCP clients, with support for project-specific configurations.
MCP Software Engineer Server
An MCP server that enables an AI to function as a full-stack software engineer with complete development capabilities.
Octocode MCP
A server for semantic code search and context generation across public and private repositories using LLMs.
MCP-CLI Adapter
Use command line tools in a secure fashion as MCP tools.
21st.dev Magic
Create crafted UI components inspired by the best 21st.dev design engineers.
BaseCreative MCP
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
Agent Engineering Bootcamp MCP
A server providing setup guidance for students learning agent development, with support for both Python and TypeScript.