You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/mcp/helm.go
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,17 @@ func (s *Server) initHelm() []server.ServerTool {
44
44
mcp.WithIdempotentHintAnnotation(true),
45
45
mcp.WithOpenWorldHintAnnotation(true),
46
46
), Handler: s.helmUninstall},
47
+
{Tool: mcp.NewTool("helm_values",
48
+
mcp.WithDescription("Retrieves the default or overridden values.yaml for a specified Helm chart version. Accepts a chart reference (e.g., stable/grafana, oci://ghcr.io/nginxinc/charts/nginx-ingress) and an optional chart version. If no version is provided, the latest available version is used."),
49
+
mcp.WithString("chart", mcp.Description("Chart reference to extract values from, such as stable/grafana or oci://ghcr.io/nginxinc/charts/nginx-ingress"), mcp.Required()),
50
+
mcp.WithString("version", mcp.Description("Version of the Helm chart to retrieve values for. Optional; defaults to the latest version if not provided.")),
51
+
// Tool annotations
52
+
mcp.WithTitleAnnotation("Helm: Values"),
53
+
mcp.WithReadOnlyHintAnnotation(false),
54
+
mcp.WithDestructiveHintAnnotation(false),
55
+
mcp.WithIdempotentHintAnnotation(false), // TODO: consider replacing implementation with equivalent to: helm upgrade --install
0 commit comments