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
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the release | |
| chart | Yes | The chart reference (repo/chart or path) | |
| namespace | No | The namespace to install into (optional, defaults to current context namespace) | |
| values | No | Values to override (YAML string) | |
| version | No | Chart version to install |
Implementation Reference
- server.js:2130-2140 (handler)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}` }] }; }
- server.js:1179-1207 (schema)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 }; });