mcp-server-kubernetes
Version:
MCP server for interacting with Kubernetes clusters via kubectl
40 lines (39 loc) • 965 B
TypeScript
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 HelmOperation {
name: string;
namespace: string;
}
export interface HelmInstallOperation extends HelmOperation {
chart: string;
repo: string;
values?: Record<string, any>;
}
export interface HelmUpgradeOperation extends HelmInstallOperation {
}
export type HelmResponse = {
status: "installed" | "upgraded" | "uninstalled";
message?: string;
};