UNPKG

mcp-server-kubernetes

Version:

MCP server for interacting with Kubernetes clusters via kubectl

53 lines (52 loc) 1.24 kB
import { z } from "zod"; export declare const HelmResponseSchema: z.ZodObject<{ content: z.ZodArray<z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: "text"; text: string; }, { type: "text"; text: string; }>, "many">; }, "strip", z.ZodTypeAny, { content: { type: "text"; text: string; }[]; }, { content: { type: "text"; text: string; }[]; }>; export declare const HelmValuesSchema: z.ZodRecord<z.ZodString, z.ZodAny>; export interface HelmUninstallOperation { name: string; namespace: string; } export interface HelmInstallOperation { name: string; chart: string; namespace: string; repo?: string; values?: Record<string, any>; valuesFile?: string; createNamespace?: boolean; useTemplate?: boolean; } export interface HelmUpgradeOperation { name: string; chart: string; namespace: string; repo?: string; values?: Record<string, any>; valuesFile?: string; } export type HelmResponse = { status: "installed" | "upgraded" | "uninstalled" | "failed"; message?: string; error?: string; steps?: string[]; };