|
| 1 | +# Kubernetes MCP Server |
| 2 | + |
| 3 | +A Helm chart for the Kubernetes Model Context Protocol (MCP) server. |
| 4 | + |
| 5 | +## Prerequisites |
| 6 | + |
| 7 | +- Kubernetes 1.16+ |
| 8 | +- Helm 3+ |
| 9 | + |
| 10 | +## Installing the Chart |
| 11 | + |
| 12 | +To install the chart with the release name `my-release`: |
| 13 | + |
| 14 | +```bash |
| 15 | +helm install my-release . |
| 16 | +``` |
| 17 | + |
| 18 | +The command deploys the Kubernetes MCP server on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation. |
| 19 | + |
| 20 | +## Uninstalling the Chart |
| 21 | + |
| 22 | +To uninstall/delete the `my-release` deployment: |
| 23 | + |
| 24 | +```bash |
| 25 | +helm delete my-release |
| 26 | +``` |
| 27 | + |
| 28 | +The command removes all the Kubernetes components associated with the chart and deletes the release. |
| 29 | + |
| 30 | +## Parameters |
| 31 | + |
| 32 | +The following table lists the configurable parameters of the Kubernetes MCP server chart and their default values. |
| 33 | + |
| 34 | +| Parameter | Description | Default | |
| 35 | +| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- | |
| 36 | +| `replicaCount` | Number of replicas to deploy. | `1` | |
| 37 | +| `image.repository` | Image repository. | `aihorde/kubernetes-mcp-server` | |
| 38 | +| `image.pullPolicy` | Image pull policy. | `IfNotPresent` | |
| 39 | +| `image.tag` | Image tag. Overrides the chart's `appVersion`. | `""` | |
| 40 | +| `imagePullSecrets` | Image pull secrets. | `[]` | |
| 41 | +| `nameOverride` | String to override the name of the chart. | `""` | |
| 42 | +| `fullnameOverride` | String to override the fully qualified app name. | `""` | |
| 43 | +| `serviceAccount.create` | If `true`, a new service account is created. If `false`, you must provide the name of an existing service account in `serviceAccount.name`. | `false` | |
| 44 | +| `serviceAccount.name` | The name of the service account to use. Required if `serviceAccount.create` is `false`. | `""` | |
| 45 | +| `podAnnotations` | Annotations to add to the pod. | `{}` | |
| 46 | +| `podSecurityContext` | Pod security context. | `{}` | |
| 47 | +| `securityContext` | Container security context. | `{}` | |
| 48 | +| `service.type` | Service type. | `ClusterIP` | |
| 49 | +| `service.port` | Service port. | `8080` | |
| 50 | +| `ingress.enabled` | Enable ingress. | `false` | |
| 51 | +| `ingress.className` | Ingress class name. | `""` | |
| 52 | +| `ingress.annotations` | Ingress annotations. | `{}` | |
| 53 | +| `ingress.hosts` | Ingress hosts. | `[]` | |
| 54 | +| `ingress.tls` | Ingress TLS configuration. | `[]` | |
| 55 | +| `resources` | Resource requests and limits. | `{}` | |
| 56 | +| `autoscaling.enabled` | Enable autoscaling. | `false` | |
| 57 | +| `nodeSelector` | Node selector. | `{}` | |
| 58 | +| `tolerations` | Tolerations. | `[]` | |
| 59 | +| `affinity` | Affinity. | `{}` | |
| 60 | +| `rbac.create` | If `true`, a `Role` and `RoleBinding` will be created for the service account. If `false`, the chart will rely on existing permissions. | `true` | |
| 61 | +| `config` | Application-specific configuration. See the [Application Configuration](#application-configuration) section for more details. | `{}` | |
| 62 | + |
| 63 | +## Application Configuration |
| 64 | + |
| 65 | +The `config` parameter allows you to configure the Kubernetes MCP server. The following options are available: |
| 66 | + |
| 67 | +| Parameter | Description | Default | |
| 68 | +| ------------------------------ | ------------------------------------------------------------------------------ | ----------- | |
| 69 | +| `logLevel` | Log level (from 0 to 9). | `0` | |
| 70 | +| `readOnly` | If true, only tools annotated with `readOnlyHint=true` are exposed. | `true` | |
| 71 | +| `disableDestructive` | If true, tools annotated with `destructiveHint=true` are disabled. | `true` | |
| 72 | +| `toolsets` | List of MCP toolsets to use. | `[]` | |
| 73 | +| `denied_resources` | List of resources to deny access to. | `[]` | |
| 74 | +| `confluence.url` | URL of the Confluence instance. | `""` | |
| 75 | +| `confluence.username` | Confluence username. | `""` | |
| 76 | +| `confluence.token` | Confluence API token. **It is strongly recommended to set this via `--set-string` in a CI/CD pipeline rather than in the values file.** | `""` | |
| 77 | +| `oauth.require` | If true, requires OAuth authorization. | `false` | |
| 78 | +| `oauth.audience` | OAuth audience for token claims validation. | `""` | |
| 79 | +| `oauth.validateToken` | If true, validates the token against the Kubernetes API Server. | `false` | |
| 80 | +| `oauth.authorizationUrl` | OAuth authorization server URL. | `""` | |
| 81 | +| `oauth.serverUrl` | Server URL of this application. | `""` | |
| 82 | +| `oauth.certificateAuthority` | Path to the certificate authority file to verify certificates. | `""` | |
0 commit comments