About reza-gholizade/k8s-mcp-server
reza-gholizade/k8s-mcp-server is an MCP server published by reza-gholizade in the Cloud category: manage Your Kubernetes Cluster with k8s mcp-server. Conduid read 22 tools from its source: createResource, createResourceYAML, deleteResource, describeResource, getAPIResources, getEvents and 16 more. No package is published for it, so it installs from a source checkout.
The repository has 191 stars and 44 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v1.1.0 (31 Aug 2026): This release includes an important security fix for MCP HTTP transports. It follows v1.0.25 (23 May 2026), and the 5 most recent releases go back to v1.0.22 (2 Sep 2025). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include kubernetes, k8s-mcp-server and cloud.
Install
git clone https://github.com/reza-gholizade/k8s-mcp-serverTools (22)
createResourceCreate a resource in the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| kind * | string | The type of resource to create |
| manifest * | string | The manifest of the resource to create |
| namespace | string | The namespace of the resource |
createResourceYAMLCreate or update a resource in the Kubernetes cluster from a YAML manifest. This tool is specifically optimized for YAML input and provides better error handling for YAML parsing issues.| Parameter | Type | Description |
|---|---|---|
| kind | string | The type of resource to create (optional, will be inferred from YAML manifest if not provided) |
| namespace | string | The namespace of the resource (overrides namespace in YAML manifest if provided) |
| yamlManifest * | string | The YAML manifest of the resource to create or update. Must be valid Kubernetes YAML format. |
deleteResourceDelete a resource in the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| kind * | string | The type of resource to delete |
| name * | string | The name of the resource to delete |
| namespace | string | The namespace of the resource |
describeResourceDescribe a resource in the Kubernetes cluster based on given kind and name| Parameter | Type | Description |
|---|---|---|
| Kind * | string | The type of resource to describe |
| name * | string | The name of the resource to describe |
| namespace | string | The namespace of the resource |
getAPIResourcesGet all API resources in the Kubernetes cluster
CreateGetAPIResourcesTool creates a tool for getting API resources
GetAPIResourcesHandler handles the getAPIResources tool
It retrieves the API resources from the Kubernetes cluster
and returns them as a response.
The function returns a mcp.CallToolResult containing the API resources
or an error if the operation fails.
The function also handles the inclusion of namespace scoped
and cluster scoped resources based on the provided parameters.
The function is designed to be used as a handler for the mcp tool| Parameter | Type | Description |
|---|---|---|
| includeClusterScoped | boolean | Include cluster scoped resources |
| includeNamespaceScoped | boolean | Include namespace scoped resources |
getEventsGet events in the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| labelSelector | string | A label selector to filter events |
| namespace | string | The namespace to get events from |
getIngressesGet ingresses in the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| host * | string | The host to get ingresses from |
getNodeMetricsGet resource usage of a specific node in the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| Name * | string | The name of the node to get resource usage from |
getPodMetricsGet CPU and Memory metrics for a specific pod| Parameter | Type | Description |
|---|---|---|
| namespace * | string | The namespace of the pod |
| podName * | string | The name of the pod |
getPodsLogsGet logs of a specific pod in the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| Name * | string | The name of the pod to get logs from |
| containerName | string | The name of the container to get logs from |
| namespace * | string | The namespace of the pod |
getResourceGet a specific resource in the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| kind * | string | The type of resource to get |
| name * | string | The name of the resource to get |
| namespace | string | The namespace of the resource |
helmGetGet details of a specific Helm release| Parameter | Type | Description |
|---|---|---|
| namespace * | string | Kubernetes namespace of the release |
| releaseName * | string | Name of the Helm release |
helmHistoryGet the history of a Helm release| Parameter | Type | Description |
|---|---|---|
| namespace * | string | Kubernetes namespace of the release |
| releaseName * | string | Name of the Helm release |
helmInstallInstall a Helm chart to the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| chartName * | string | Name or path of the Helm chart |
| namespace | string | Kubernetes namespace for the release |
| releaseName * | string | Name of the Helm release |
| repoURL | string | Helm repository URL (optional) |
| values | object | Values to override in the chart |
helmListList all Helm releases in the cluster or a specific namespace| Parameter | Type | Description |
|---|---|---|
| namespace * | string | Kubernetes namespace to list releases from (empty for all namespaces) |
helmRepoAddAdd a Helm repository| Parameter | Type | Description |
|---|---|---|
| repoName * | string | Name of the Helm repository |
| repoURL * | string | URL of the Helm repository |
helmRepoListList all Helm repositorieshelmRollbackRollback a Helm release to a previous revision| Parameter | Type | Description |
|---|---|---|
| namespace * | string | Kubernetes namespace of the release |
| releaseName * | string | Name of the Helm release to rollback |
| revision * | number | Revision number to rollback to (0 for previous) |
helmUninstallUninstall a Helm release from the Kubernetes cluster| Parameter | Type | Description |
|---|---|---|
| namespace * | string | Kubernetes namespace of the release |
| releaseName * | string | Name of the Helm release to uninstall |
helmUpgradeUpgrade an existing Helm release| Parameter | Type | Description |
|---|---|---|
| chartName * | string | Name or path of the Helm chart |
| namespace * | string | Kubernetes namespace of the release |
| releaseName * | string | Name of the Helm release to upgrade |
| repoURL | string | Helm repository URL (optional) |
| values * | object | Values to override in the chart |
listResourcesList all resources in the Kubernetes cluster of a specific type| Parameter | Type | Description |
|---|---|---|
| Kind * | string | The type of resource to list |
| fieldSelector | string | A field selector to filter resources |
| labelSelector | string | A label selector to filter resources |
| namespace | string | The namespace to list resources in |
rolloutRestartPerform a rollout restart on a Deployment, DaemonSet, StatefulSet, ReplicaSet, or any resource with spec.template.| Parameter | Type | Description |
|---|---|---|
| kind * | string | The type of resource to restart (e.g., Deployment, DaemonSet) |
| name * | string | The name of the resource |
| namespace * | string | The namespace of the resource |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.8K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
Releases
README
The repository's README runs to about 3.8K words, fetched a month ago. The original in the repository is authoritative.
Read full README