The MCP Kubernetes Server provides a bridge between Large Language Models and Kubernetes clusters through a set of specialized tools. Built with Python using the FastMCP framework, it wraps kubectl commands to enable operations like retrieving pod information, managing deployments, switching contexts, and troubleshooting cluster issues. The server requires a configured kubectl environment and can be integrated with Claude Desktop for seamless natural language interactions with Kubernetes resources. It's particularly valuable for DevOps workflows that benefit from conversational interfaces to Kubernetes, allowing users to create, scale, and monitor resources without remembering exact kubectl syntax.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Create a new deployment with a specified name, image, namespace, and number of replicas.
Update an existing deployment to a specified version in the given namespace.
Scale an existing deployment to a specified number of replicas in the given namespace.
Retrieve all pods in the specified namespace.
Retrieve all namespaces in the Kubernetes cluster.
Retrieve all nodes in the Kubernetes cluster.
Retrieve all services in the Kubernetes cluster.
Retrieve all deployments in the Kubernetes cluster.
Retrieve all jobs in the Kubernetes cluster.
Retrieve all cronjobs in the Kubernetes cluster.
Retrieve all statefulsets in the Kubernetes cluster.
Retrieve all daemonsets in the Kubernetes cluster.
Retrieve the current context being used in the Kubernetes cluster.
List all contexts available in the Kubernetes configuration.
Switch to a specified context in the Kubernetes configuration.
Retrieve the logs of a specified pod in the given namespace.
Retrieve all events in the specified namespace.
Add an annotation to a specified pod in the given namespace.
Remove a specified annotation from a pod in the given namespace.
Add a label to a specified pod in the given namespace.
Remove a specified label from a pod in the given namespace.
Expose a specified deployment in the given namespace on a specified port.
Set up port forwarding for a specified resource in the given namespace to a local port.
Delete specified resources (pod, deployment, service, job, cronjob, statefulset, daemonset) in the given namespace.