grafana-mcp
Model Context Protocol server for Grafana
About this chart
Grafana MCP Server
Grafana MCP Server is a Model Context Protocol server for Grafana.
DISCLAIMER: This is an unofficial chart not supported by Grafana MCP Server authors.
TL;DR;
$ helm repo add cowboysysop https://cowboysysop.github.io/charts/
$ helm install my-release cowboysysop/grafana-mcp
or for an OCI-based registry:
$ helm install my-release oci://ghcr.io/cowboysysop/charts/grafana-mcp
Introduction
This chart bootstraps a Grafana MCP Server deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes >= 1.24
- Helm >= 3.9
Installing
Install the chart using:
$ helm repo add cowboysysop https://cowboysysop.github.io/charts/
$ helm install my-release cowboysysop/grafana-mcp
or for an OCI-based registry:
$ helm install my-release oci://ghcr.io/cowboysysop/charts/grafana-mcp
These commands deploy Grafana MCP Server on the Kubernetes cluster in the default configuration and with the release name my-release. The deployment configuration can be customized by specifying the customization parameters with the helm install command using the --values or --set arguments. Find more information in the configuration section of this document.
Upgrading
Upgrade the chart deployment using:
$ helm upgrade my-release cowboysysop/grafana-mcp
or for an OCI-based registry:
$ helm upgrade my-release oci://ghcr.io/cowboysysop/charts/grafana-mcp
The command upgrades the existing my-release deployment with the most latest release of the chart.
Upgrading to version 2.0.0
The chart now uses forked versions of the Bitnami charts to reference the Bitnami Legacy repository:
- https://github.com/bitnami/containers/issues/83267
A label app.kubernetes.io/component will be added to the Deployment. Run this command before upgrading to prevent an immutable field error:
$ kubectl delete deployment/my-grafana-mcp-deployment
Pod and container security contexts are now configured with default values.
Uninstalling
Uninstall the my-release deployment using:
$ helm uninstall my-release
The command deletes the release named my-release and frees all the kubernetes resources associated with the release.
TIP: Specify the --purge argument to the above command to remove the release from the store and make its name free for later use.
Configuration
Global parameters
| Name | Description | Default |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
Common parameters
| Name | Description | Default |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | Partially override grafana-mcp.fullname template with a string (will prepend the release name) | "" |
fullnameOverride | Fully override grafana-mcp.fullname template with a string | "" |
namespaceOverride | Fully override common.names.namespace template with a string | "" |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
Parameters
| Name | Description | Default |
|---|---|---|
replicaCount | Number of replicas | 1 |
revisionHistoryLimit | Number of old history to retain to allow rollback | 10 |
image.registry | Image registry | docker.io |
image.repository | Image repository | mcp/grafana |
image.tag | Image tag | latest |
image.digest | Image digest | "" |
image.pullPolicy | Image pull policy | IfNotPresent |
pdb.create | Specifies whether a pod disruption budget should be created | false |
pdb.minAvailable | Minimum number/percentage of pods that should remain scheduled | 1 |
pdb.maxUnavailable | Maximum number/percentage of pods that may be made unavailable | nil |
serviceAccount.create | Specifies whether a service account should be created | true |
serviceAccount.annotations | Service account annotations | {} |
serviceAccount.name | The name of the service account to use (Generated using the grafana-mcp.fullname template if not set) | nil |
enableServiceLinks | Whether information about services should be injected into pod's environment variable | false |
hostAliases | Pod host aliases | [] |
deploymentAnnotations | Additional deployment annotations | {} |
podAnnotations | Additional pod annotations | {} |
podLabels | Additional pod labels | {} |
podSecurityContext | Pod security context | |
podSecurityContext.seccompProfile.type | Set pod's Security Context seccomp profile | RuntimeDefault |
priorityClassName | Priority class name | nil |
runtimeClassName | Runtime class name | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
securityContext | Container security context | |
securityContext.allowPrivilegeEscalation | Set container's Security Context allowPrivilegeEscalation | false |
securityContext.capabilities.drop | List of capabilities to be dropped | ["ALL"] |
securityContext.readOnlyRootFilesystem | Set container's Security Context readOnlyRootFilesystem | true |
securityContext.runAsNonRoot | Whether the container must run as a non-root user | true |
securityContext.runAsUser | The UID to run the entrypoint of the container process | 1000 |
securityContext.runAsGroup | The GID to run the entrypoint of the container process | 999 |
containerPorts.http | Container port for HTTP | 8000 |
service.annotations | Service annotations | {} |
service.type | Service type | ClusterIP |
service.clusterIP | Static cluster IP address or None for headless service when service type is ClusterIP | nil |
service.ipFamilyPolicy | Service IP family policy | "" |
service.ipFamilies | Service IP families | [] |
service.sessionAffinity | Control where client requests go, to the same pod or round-robin | None |
service.sessionAffinityConfig | Additional settings for the sessionAffinity | {} |
service.loadBalancerIP | Static load balancer IP address when service type is LoadBalancer | nil |
service.loadBalancerSourceRanges | Source IP address ranges when service type is LoadBalancer | nil |
service.externalTrafficPolicy | External traffic routing policy when service type is LoadBalancer or NodePort | Cluster |
service.ports.http | Service port for HTTP | 8000 |
service.nodePorts.http | Service node port for HTTP when service type is LoadBalancer or NodePort | nil |
ingress.enabled | Enable ingress controller resource | false |
ingress.ingressClassName | IngressClass that will be be used to implement the Ingress | "" |
ingress.pathType | Ingress path type | ImplementationSpecific |
ingress.annotations | Ingress annotations | {} |
ingress.hosts[0].host | Hostname to your Grafana MCP Server installation | grafana-mcp.local |
ingress.hosts[0].paths | Paths within the url structure | ["/"] |
ingress.tls | TLS configuration | [] |
resources | CPU/Memory resource requests/limits | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment |
Deploy grafana-mcp with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has grafana-mcp on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartgrafana-mcp is pinned at v2.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply