K8s Connector MCP Server

Enables interaction with Kubernetes clusters through Model Control Protocol (MCP) tools.

Local serverstdioGo★ 150

What is the K8s Connector MCP Server?

Enables interaction with Kubernetes clusters through Model Control Protocol (MCP) tools.

The short version

  • Query supported Kubernetes resource types (built-in resources and CRDs)
  • Kubernetes resource operations with fine-grained control
  • Read operations: get resource details, list resources by type with filtering options
  • Write operations: create, update, and delete resources (each can be independently enabled/disabled)
  • Support for all Kubernetes resource types, including custom resources
  • Connects to Kubernetes cluster using kubeconfig

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_api_resourcesGet all supported API resource types in the cluster
get_resourceGet detailed information about a specific resource
list_resourcesList all instances of a resource type
create_resourceCreate new resources (can be disabled)
update_resourceUpdate existing resources (can be disabled)
delete_resourceDelete resources (can be disabled)
list_helm_releasesList all Helm releases in the cluster
get_helm_releaseGet detailed information about a specific Helm release
install_helm_chartInstall a Helm chart (can be disabled)
upgrade_helm_chartUpgrade a Helm release (can be disabled)
uninstall_helm_chartUninstall a Helm release (can be disabled)
list_helm_repositoriesList configured Helm repositories
add_helm_repositoryAdd a new Helm repository (can be disabled)
remove_helm_repositoryRemove a Helm repository (can be disabled)

How to install the K8s Connector MCP Server

claude mcp add k8s-connector -- docker run -i --rm ghcr.io/silenceper/mcp-k8s

Example prompts to try

  • “Use K8s Connector to get api resources.”
  • “Use K8s Connector to get resource.”
  • “Use K8s Connector to list resources.”

Frequently asked questions

First, clone the repository and build the tool. Then, run it using the command line, providing the path to your kubeconfig file and enabling write operations if needed. Refer to the documentation for detailed steps and examples.