kubectl-mtv-mcp
Verified Safeby yaacov
Overview
Provides an AI assistant with the capability to manage Migration Toolkit for Virtualization (MTV) operations in a Kubernetes cluster, including querying resources, monitoring migrations, and controlling the migration lifecycle.
Installation
go run .Environment Variables
- KUBECONFIG
Security Notes
The server executes `kubectl-mtv` and `kubectl` commands. While arguments are passed safely as `[]string` (mitigating shell injection), the underlying commands grant powerful control over a Kubernetes cluster, including creation, modification, and deletion of resources. If the server or the AI assistant interacting with it is compromised, it could lead to significant cluster alterations or data loss. SSE mode defaults to HTTP, which is insecure for sensitive communication (e.g., passing Kubernetes tokens) if not explicitly configured with TLS (--tls-cert, --tls-key). Token authentication via the Authorization header is supported in SSE mode; while tokens are sanitized for display/logging, they are passed directly to `kubectl`/`kubectl-mtv` for authentication.
Similar Servers
mcp-server-kubernetes
This MCP server enables AI agents to connect to and manage Kubernetes clusters by executing kubectl and Helm commands.
kubernetes-mcp-server
Facilitates AI agent interaction with Kubernetes and OpenShift clusters by exposing management and observability tools via the Model Context Protocol.
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
mcp-k8s
Facilitates natural language interaction and automation for Kubernetes cluster management and Helm operations via the Model Control Protocol (MCP).