SuperAPI AI Directory

MinIO-AIops

MinIO-AIops is a community-maintained open-source project that provides governed AI operations capabilities for MinIO object storage. It interacts with MinIO through the S3 API, admin API, health endpoints, and cluster metrics endpoints, with built-in unified audit logging, token/runaway budget guards, revoked token records, and risk-level annotations. Main analyses include capacity and usage root cause analysis, bucket exposure audit, lifecycle gap analysis, and healing health checks. It is available both as a CLI and as an MCP server, and supports encrypted credential storage and reversible writes. It is suitable for homelabs and small-to-medium deployments running self-hosted MinIO.

Open website

About this tool

MinIO-AIops is a governed AI operations tool for MinIO object storage, licensed under MIT, maintained by the community, and not affiliated with MinIO, Inc. It aims to provide accurate read and write operations for homelabs and small-to-medium deployments running self-hosted MinIO, and to record every operation.

Purpose

The tool communicates with the S3 API through the official MinIO SDK (SigV4), while also using the admin API (bucket quotas, server info), unauthenticated health endpoints (/minio/health/live|ready|cluster), and the cluster metrics endpoint (/minio/v2/metrics/cluster, supporting bearer-token or public authentication). It has a built-in governance framework: unified audit logging, token/runaway budget guards, revoked token records, and a descriptive risk level for each audit line. The tool is self-contained with no external skill-family dependencies.

Main capabilities

It provides four flagship analyses:

  • capacity_rca: capacity vs. used comparison, offline drives/nodes, per-drive hotspots and imbalance, with each finding giving a cause and recommended action (nearfull/full thresholds are named constants).
  • bucket_exposure_audit: scores and ranks each bucket, checking for anonymous/public policy statements (read and write), missing default encryption, versioning disabled, and no lifecycle.
  • lifecycle_gap_analysis: identifies cases where storage ILM should reclaim but does not, such as versioned buckets with no noncurrent version expiration, incomplete multipart uploads with no abort rule, and large buckets with no lifecycle, and provides clearly labeled reclaimable estimates.
  • healing_health: healing backlog and write quorum risk per erasure set, including how many more drive failures each set can tolerate, which sets are healing, and where healing errors are accumulating.

Governed writes: bucket policy/versioning/lifecycle/quota changes capture the true prior state and record a revocation descriptor; bucket_delete is allowed only when the bucket is verifiably empty (including versions and delete markers); remove_incomplete_uploads only handles uploads older than the safety window.

Usage

It is available as a CLI (minio-aiops ...) and as an MCP server (minio-aiops mcp or minio-aiops-mcp). The CLI includes init, overview, doctor, health check/status, capacity rca/usage, heal status/drives/nodes, bucket ls/info/objects/audit/ilm-gap/uploads, and governed writes (bucket versioning-set/policy-set/lifecycle-set/quota-set/purge-uploads/delete), secret set/list/rm/migrate/rotate-password, mcp, and other commands. Destructive commands support --dry-run and double confirmation. The MCP server provides all 48 tools (29 read, 19 write), each wrapped by the built-in @governed_tool framework. CLI writes delegate to the same governed functions, with consistent auditing.

Credentials are stored encrypted in ~/.minio-aiops/secrets.enc (Fernet + scrypt); the master password can be unlocked via the MINIO_AIOPS_MASTER_PASSWORD environment variable (MCP/CI) or an interactive prompt (CLI). Metrics authentication supports two modes: public and bearer-token (default), with the bearer token derived from stored credentials. Reversible writes capture the prior state and record an inverse undo descriptor.

It can be installed as a Claude Code plugin or an OpenClaw plugin; a single installation provides both the skill and the MCP server. The MCP server is fetched via uv and pinned to the package version declared by the plugin. It can also run as a CLI or a standalone MCP server (stdio). MCP client configuration must pass the master password in the env block, because the client starts the server without a TTY and does not load shell profile files.

Applicable Scenarios

Suitable for homelabs and small-to-medium deployments of self-hosted MinIO that need capacity root cause analysis, bucket exposure auditing, lifecycle gap analysis, and heal health checks. Supports single-node or distributed/erasure-coded MinIO servers; administrative features require an admin-privileged key.

Limitations

Not targeted at general-purpose S3 services, because the health/metrics/admin interfaces used are MinIO-specific. The tools themselves do not decide whether a write is allowed; permissions are controlled by the IAM policy of the access key. There is no read-only switch, policy file, or approval gate, but all calls record audit lines. Risk levels are descriptive labels rather than gates. Distributed/multi-node MinIO has not been verified, heal functionality has not been tested on real degraded drives or erasure sets, and lifecycle/quota writes and TLS endpoints have also not been verified. Features such as site replication status, IAM policy authoring, group membership writes, and remote storage tiering are not yet provided.