Back to Home
controlplaneio-fluxcd icon

flux-operator

by controlplaneio-fluxcd

Overview

The Flux Operator MCP Server enables AI assistants to interact with Kubernetes clusters managed by the Flux Operator through natural language, allowing analysis, troubleshooting, and operations on GitOps pipelines.

Installation

Run Command
./bin/flux-operator-mcp serve --transport sse --port 8080

Environment Variables

  • KUBECONFIG
  • RUNTIME_NAMESPACE
  • DEFAULT_SERVICE_ACCOUNT
  • DEFAULT_WORKLOAD_IDENTITY_SERVICE_ACCOUNT
  • REPORTING_INTERVAL

Security Notes

The MCP Server operates with high privileges, including `cluster-admin` role, which is necessary for its function as a Flux CD lifecycle manager. It handles sensitive data such as Kubernetes secrets (image pull secrets, Git/OCI credentials) and authentication tokens (OIDC, Bearer). While sensitive data is generally handled via Kubernetes Secrets and environment variables, reducing direct hardcoding, any misconfiguration or vulnerability in the operator itself could lead to exposure. The `ResourceSetInputProvider` integrates with external Git and OCI APIs, expanding the attack surface. The use of Go templates for resource generation in `ResourceSet` might introduce injection risks if not used carefully, though Go's templating is generally robust. License Key Management (LKM) uses standard cryptographic primitives but relies on environment variables for keys, which require secure handling.

Similar Servers

Stats

Interest Score64
Security Score7
Cost ClassMedium
Avg Tokens2000
Stars387
Forks31
Last Update2025-12-06

Tags

KubernetesGitOpsFluxCDAIOperatorCLIDevOpsAutomation