mcp-server-k8s

mcp-server-k8s

0

MCP-Server VBox is a tool for managing and operating Docker containers and Kubernetes clusters using the Model Context Protocol (MCP). It offers a unified interface for these operations through Claude Desktop, enhancing efficiency and integration.

MCP-Server VBox

MCP-Server VBox is a server implementation based on the Model Context Protocol (MCP) designed to manage Docker containers and Kubernetes clusters. It provides a unified interface for performing container and Pod-related operations through Claude Desktop.

Features

Docker Operations

  • List all containers
  • Pull Docker images
  • Create new containers

Kubernetes Operations

  • List Pods in a specified namespace
  • Create Deployments
  • Execute commands in a Pod
  • Enter an interactive shell in a Pod
  • Exit the Pod environment

Execution Environment Management

  • Retrieve the current execution context
  • Execute commands in the current environment
  • Support for local and Pod execution environments
  • Real-time command execution and output

System Requirements

  • Node.js >= 14.0.0
  • Docker
  • Kubernetes cluster configuration
  • Claude Desktop

Installation and Configuration

  1. Install dependencies
  2. Build the project
  3. Configure Claude Desktop

Debugging

Options are available for debugging through Claude Desktop configuration.

Notes

  • Ensure the Docker daemon is running
  • Ensure the correct Kubernetes configuration file
  • Ensure appropriate cluster access permissions
  • Specify the correct namespace and Pod name for Pod-related functions

License

MIT License