mcp-server-kubernetes
Version:
MCP server for interacting with Kubernetes clusters via kubectl
38 lines (37 loc) • 872 B
TypeScript
import { z } from "zod";
export declare const KubectlResponseSchema: 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 interface ExplainResourceParams {
resource: string;
apiVersion?: string;
recursive?: boolean;
output?: "plaintext" | "plaintext-openapiv2";
context?: string;
}
export interface ListApiResourcesParams {
apiGroup?: string;
namespaced?: boolean;
verbs?: string[];
output?: "wide" | "name" | "no-headers";
context?: string;
}