From 880e9657aea718fe201e472f2a39f2f8a14dae48 Mon Sep 17 00:00:00 2001 From: AvivGuiser Date: Thu, 24 Jul 2025 15:05:32 +0300 Subject: [PATCH 1/3] add helm chart deployment option to the readme Signed-off-by: AvivGuiser --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 932c522f..3332d7b9 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ the OnCall tools, use `--disable-oncall`. Each tool requires specific RBAC permissions to function properly. When creating a service account for the MCP server, ensure it has the necessary permissions based on which tools you plan to use. The permissions listed are the minimum required actions - you may also need appropriate scopes (e.g., `datasources:*`, `dashboards:*`, `folders:*`) depending on your use case. **Note:** Grafana Incident and Sift tools use basic Grafana roles instead of fine-grained RBAC permissions: -- **Viewer role:** Required for read-only operations (list incidents, get investigations) +- **Viewer role:** Required for read-only operations (list incidents, get investigations) - **Editor role:** Required for write operations (create incidents, modify investigations) For more information about Grafana RBAC, see the [official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/). @@ -210,6 +210,14 @@ Scopes define the specific resources that permissions apply to. Each action requ GOBIN="$HOME/go/bin" go install github.com/grafana/mcp-grafana/cmd/mcp-grafana@latest ``` + - **Deploy to k8s using helm chart**: use the helm chart of [mcp-grafana](https://github.com/grafana/helm-charts/tree/main/charts/grafana-mcp) + + ```bash + helm repo add grafana https://grafana.github.io/helm-charts + helm install --set grafana.apiKey= my-release grafana/grafana-mcp + ``` + + 3. Add the server configuration to your client configuration file. For example, for Claude Desktop: **If using the binary:** From d0f1a44874b8e007bcdb5eaf9da3512596fdda49 Mon Sep 17 00:00:00 2001 From: AvivGuiser Date: Thu, 24 Jul 2025 16:49:48 +0300 Subject: [PATCH 2/3] Update README.md Co-authored-by: Ben Sully --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3332d7b9..63bcc989 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ Scopes define the specific resources that permissions apply to. Each action requ GOBIN="$HOME/go/bin" go install github.com/grafana/mcp-grafana/cmd/mcp-grafana@latest ``` - - **Deploy to k8s using helm chart**: use the helm chart of [mcp-grafana](https://github.com/grafana/helm-charts/tree/main/charts/grafana-mcp) + - **Deploy to Kubernetes using Helm**: use the [Helm chart from the Grafana helm-charts repository](https://github.com/grafana/helm-charts/tree/main/charts/grafana-mcp) ```bash helm repo add grafana https://grafana.github.io/helm-charts From 5b82f6d162e7c4ccd2387ca9a6f1574d1fff6acd Mon Sep 17 00:00:00 2001 From: AvivGuiser Date: Thu, 24 Jul 2025 16:50:47 +0300 Subject: [PATCH 3/3] add grafana url to the helm chart install command Signed-off-by: AvivGuiser --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63bcc989..59dd19f6 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ Scopes define the specific resources that permissions apply to. Each action requ ```bash helm repo add grafana https://grafana.github.io/helm-charts - helm install --set grafana.apiKey= my-release grafana/grafana-mcp + helm install --set grafana.apiKey= --set grafana.url= my-release grafana/grafana-mcp ```