Provides tools for managing and inspecting Kubernetes clusters, including listing nodes, pods, and other resources across namespaces, viewing logs, and executing operations through TypeScript modules that agents discover and use progressively.
ProDisco (Progressive Disclosure Kuberentes MCP Server)
ProDisco gives MCP agents Kubernetes access that exactly follows Anthropic’s Progressive Disclosure pattern: the server exposes TypeScript modules, agents discover them through the filesystem, write code, and only the final console output returns to the chat.
Quick Start
Only one tool (kubernetes.searchTools) is advertised to the agent. Everything else is discovered via resources, so agents naturally stay in code mode.
Scripts cache convention
Agents should write any helper scripts to scripts/cache/<name>.ts and execute them with npx tsx scripts/cache/<name>.ts --flag=value --another=value2 (add as many flags as needed). Scripts must parse CLI args (or env vars) for every required value—never hardcode namespaces, pod names, etc.—and should print a brief usage message if arguments are missing. The kubernetes.searchTools response now lists any cached scripts so agents can reuse or update them instead of creating duplicates.
What the Agent Actually Does
Example 1 – “List nodes of this Kubernetes cluster”
kubernetes.searchTools(query="node")→ findskubernetes.listNodeskubernetes.searchTools(detailLevel="full")→ inspects schemalistMcpResources→ seesservers/kubernetes/listNodes.tsreadMcpResource("file:///servers/kubernetes/listNodes.ts")Reads
list-nodes-example.ts, then runsnpx tsx list-nodes-example.tsReturns a human summary (roles, CPU/memory, kubelet version, pressure signals)
Result excerpt:
Sample agent output:
Example 2 – “List all pods from all namespaces”
kubernetes.searchTools(query="pod", detail="full")→ sees listPods/getPod/getPodLogsSearch("**/servers/kubernetes/*.ts")→ enumerates modulesReads
generated/servers/kubernetes/listPods.tsCreates
list-all-pods.ts, importslistPods, and runsnpx tsx list-all-pods.tsReturns a curated summary (namespaces, readiness, IPs) instead of raw JSON
Result excerpt:
Sample agent output:
These transcripts prove the progressive-disclosure workflow is live: the agent uses search → reads code → writes and executes TypeScript.
License
MIT