Back to Home
harche icon

ProDisco

Verified Safe

by harche

Overview

Enables AI agents to interact with Kubernetes clusters and perform Prometheus metrics analysis through a progressively disclosed, sandboxed TypeScript execution environment.

Installation

Run Command
npx -y @prodisco/k8s-mcp

Environment Variables

  • KUBECONFIG
  • K8S_CONTEXT
  • PROMETHEUS_URL
  • SANDBOX_USE_TCP
  • SANDBOX_TCP_HOST
  • SANDBOX_TCP_PORT
  • LOG_LEVEL

Security Notes

The sandbox execution environment is well-implemented, using Node.js `vm` module with explicit whitelisting of global objects and `require()` calls to prevent arbitrary code execution outside of specified modules (`@kubernetes/client-node`, `prometheus-query`). Filesystem access for script caching and generated type definitions includes path sanitization to prevent directory traversal. Execution is bound by a configurable timeout. The primary risk lies in the agent's ability to perform actions on the Kubernetes cluster and query Prometheus, with permissions dictated by the `KUBECONFIG` and `PROMETHEUS_URL` provided to the MCP server. `process.env` is exposed inside the sandbox, which could be a vector for sensitive environment variable leakage if unexpected secrets are present.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens5000
Stars0
Forks0
Last Update2025-12-06

Tags

KubernetesK8sMCPAI AgentProgressive DisclosurePrometheusTypeScriptSandbox