Skip to main content
Glama

helm-install

Install Helm charts on Kubernetes clusters to deploy applications using specified releases, charts, namespaces, and configuration values.

Instructions

Install a Helm chart

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the release
chartYesThe chart reference (repo/chart or path)
namespaceNoThe namespace to install into (optional, defaults to current context namespace)
valuesNoValues to override (YAML string)
versionNoChart version to install

Implementation Reference

  • Handler that executes the helm install command based on input parameters using execAsync.
    case "helm-install": {
      const { name, chart, namespace, values, version } = args;
      const nsArg = namespace ? `-n ${namespace}` : "";
      const versionArg = version ? `--version ${version}` : "";
      const valuesArg = values ? `-f <(echo '${values}')` : "";
      const cmd = `helm install ${name} ${chart} ${nsArg} ${versionArg} ${valuesArg}`;
      const { stdout } = await execAsync(cmd);
      return {
        content: [{ type: "text", text: stdout || `Helm chart ${chart} installed as ${name}` }]
      };
    }
  • Schema definition for the helm-install tool, including input parameters and requirements.
      name: "helm-install",
      description: "Install a Helm chart",
      inputSchema: {
        type: "object",
        properties: {
          name: { 
            type: "string",
            description: "The name of the release"
          },
          chart: { 
            type: "string",
            description: "The chart reference (repo/chart or path)"
          },
          namespace: { 
            type: "string",
            description: "The namespace to install into (optional, defaults to current context namespace)"
          },
          values: { 
            type: "string",
            description: "Values to override (YAML string)"
          },
          version: { 
            type: "string",
            description: "Chart version to install"
          }
        },
        required: ["name", "chart"]
      }
    },
  • server.js:1392-1394 (registration)
    Registration of all tools including helm-install via the ListToolsRequestSchema handler that returns the tools array.
    server.setRequestHandler(ListToolsRequestSchema, async () => {
      return { tools };
    });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thekaranpargaie/kube-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server