About Flawless
Flawless is an MCP server published by William-Lu-stack in the Agents category: aI SRE AgenticOps for Kubernetes and cloud infrastructure. Conduid read 31 tools from its source: check_access, cordon_node, create_configmap, create_persistent_volume, create_pvc, create_workload and 25 more. No package is published for it, so it installs from a source checkout.
The repository has 768 stars and 164 forks, and its last commit was on 14 Aug 2026. The latest release is v5.5.1. It follows v5.5.0, and the 5 most recent releases go back to v5.2.0. It passes all 5 static checks Conduid ran on the repository. Its topics include agenticops, aiops, aisre, cloud, cloud-native and devops.
Install
git clone https://github.com/William-Lu-stack/FlawlessTools (31)
check_accessCheck the current ServiceAccount's Kubernetes RBAC permission.| Parameter | Type | Description |
|---|---|---|
| group | string | |
| name | string | |
| namespace | string | |
| resource | string | |
| verb | string |
cordon_nodeReturn a bounded, non-secret state view for post-change verification.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| node_name * | string | |
| unschedulable | boolean |
create_configmapCreate a missing ConfigMap from an operator-approved template.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| manifest * | object | |
| namespace * | string |
create_persistent_volumeCreate one approved static PersistentVolume. hostPath is forbidden.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| manifest * | object |
create_pvcCreate one approved PersistentVolumeClaim.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| manifest * | object | |
| namespace * | string |
create_workloadCreate one release-gate validated apps/v1 workload.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| manifest * | object |
evict_podEvict one controller-owned pod through policy/v1 so PDB is honored.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| grace_period_seconds | integer | |
| namespace * | string | |
| pod_name * | string |
expand_pvc| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| namespace * | string | |
| pvc_name * | string | |
| storage * | string |
get_cluster_summary获取集群摘要:命名空间数、Pod数、Deployment数、节点数、高重启Podget_external_traffic_candidatesCollect raw K8s objects used to infer external/cross-cluster traffic.| Parameter | Type | Description |
|---|---|---|
| namespace | string |
get_pod_diagnosticsCollect bounded, read-only evidence needed for root-cause planning.| Parameter | Type | Description |
|---|---|---|
| namespace * | string | |
| pod_name * | string | |
| tail_lines | integer |
get_pod_eventsGet Kubernetes events for a specific pod.| Parameter | Type | Description |
|---|---|---|
| namespace * | string | |
| pod_name * | string |
get_pod_logsGet recent pod logs.| Parameter | Type | Description |
|---|---|---|
| container | string | |
| namespace * | string | |
| pod_name * | string | |
| previous | boolean | |
| tail_lines | integer |
get_remediation_target_stateReturn a bounded, non-secret state view for post-change verification.| Parameter | Type | Description |
|---|---|---|
| kind * | string | |
| name * | string | |
| namespace | string |
get_resilience_topologyBuild workload/pod topology with resilience and blast-radius assessment.| Parameter | Type | Description |
|---|---|---|
| namespace | string |
get_workloadRead one workload after an approved mutation.| Parameter | Type | Description |
|---|---|---|
| namespace * | string | |
| workload_name * | string | |
| workload_type * | string |
list_all_deployments列出所有命名空间的 Deployment,按命名空间分组list_all_pods列出所有命名空间的 Pod,按命名空间分组list_namespaces列出所有命名空间list_nodesList all nodes and their conditions.list_pod_metricsList pod CPU/memory usage from metrics-server.| Parameter | Type | Description |
|---|---|---|
| namespace | string |
list_podsList pods in a Kubernetes namespace.| Parameter | Type | Description |
|---|---|---|
| namespace | string |
patch_hpa| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| hpa_name * | string | |
| max_replicas | integer | |
| min_replicas | integer | |
| namespace * | string |
patch_pdbPatch one PDB availability threshold after replica-budget validation.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| namespace * | string | |
| patch * | object | |
| pdb_name * | string |
patch_servicePatch only Service selector/ports after endpoint evidence and approval.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| namespace * | string | |
| patch * | object | |
| service_name * | string |
patch_service_accountAttach approved imagePullSecrets to one ServiceAccount.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| namespace * | string | |
| patch * | object | |
| service_account * | string |
patch_workloadPatch a common apps/v1 workload using Kubernetes merge patch.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| high_risk_volume_patch | boolean | |
| namespace * | string | |
| patch * | object | |
| workload_name * | string | |
| workload_type * | string |
recreate_podDelete one controller-owned pod so its controller recreates it.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| grace_period_seconds | integer | |
| namespace * | string | |
| pod_name * | string |
replace_immutable_workloadSafely recreate an approved standalone Pod or Job with one bounded Pod-spec patch.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| kind * | string | |
| name * | string | |
| namespace * | string | |
| pod_template_patch * | object |
restart_deploymentRestart a deployment by patching restart annotation.| Parameter | Type | Description |
|---|---|---|
| deployment_name * | string | |
| dry_run | boolean | |
| namespace * | string |
scale_deploymentScale a deployment.| Parameter | Type | Description |
|---|---|---|
| deployment_name * | string | |
| dry_run | boolean | |
| namespace * | string | |
| replicas * | integer |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 575 words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by frontend/modern/package-lock.json.
- ✓No dynamic code executionScanned 100 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdiomcp_servers/k8s_mcp_server.py:2227
- Starts other programs
- 1 callbackend/app/services/cluster_registry.py:1061
- Outbound network calls
- 43 callsmcp_servers/k8s_mcp_server.py:131, mcp_servers/k8s_mcp_server.py:146, mcp_servers/k8s_mcp_server.py:161
- Writes or deletes files
- 24 callsagents/effectiveness.py:133, agents/model_registry.py:112, backend/app/application.py:775
- Lockfile
- frontend/modern/package-lock.json
Pattern matches on the source text of 100 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 575 words, fetched 2 days ago. The original in the repository is authoritative.
Read full README