
MCP server for kube-compare - enables AI assistants to compare Kubernetes cluster configurations against reference templates
概览
MCP server for kube-compare - enables AI assistants to compare Kubernetes cluster configurations against reference templates. This project provides a Model Context Protocol (MCP) server for Kubernetes / OpenShift cluster compliance checking. It allows AI assistants like Claude, Cursor, OpenShift Lightspeed (OLS), and other MCP-compatible clients to: - Compare live Kubernetes cluster configurations against reference templates - Detect configuration drift from known-good baselines - Generate structured comparison reports in JSON, YAML, or JUnit formats - - This server is designed for remote deployment (e.g., in a Kubernetes cluster). Reference configurations must be provided via HTTP/HTTPS URLs or OCI container image references - local filesystem paths are not supported. The binary will be available at bin/kube-compare-mcp.
README
以下为原文 README 节选,完整内容请查看原文。
kube-compare-mcp
MCP server for kube-compare - enables AI assistants to compare Kubernetes cluster configurations against reference templates.
Table of Contents
- Overview
- Architecture
- Quick Start
- Installation
- Running the Server
- Deployment
- MCP Tools Reference
- RDS Support
- BIOS Reference Configurations
- Connecting to Remote Clusters
- Reference Configuration Formats
- Output Formats
- Configuration
- Development
- Related Projects
- License
Overview
This project provides a Model Context Protocol (MCP) server for Kubernetes / OpenShift cluster compliance checking. It allows AI assistants like Claude, Cursor, OpenShift Lightspeed (OLS), and other MCP-compatible clients to:
- Compare live Kubernetes cluster configurations against reference templates
- Detect configuration drift from known-good baselines
- Generate structured comparison reports in JSON, YAML, or JUnit formats
- Automatically discover and use Red Hat Telco Reference Design Specifications (RDS)
- Compare bare metal host BIOS settings against reference configurations for ZTP-provisioned clusters
Note: This server is designed for remote deployment (e.g., in a Kubernetes cluster). Reference configurations must be provided via HTTP/HTTPS URLs or OCI container image references - local filesystem paths are not supported.
Architecture
flowchart TB
subgraph clients [MCP Clients]
Cursor[Cursor IDE]
Claude[Claude Desktop]
OLS[OpenShift Lightspeed]
end
subgraph server [kube-compare-mcp Server]
Transport[Transport Layerstdio / http]
Tools[MCP Tools]
Diff[kube_compare_cluster_diff]
ResolveRDS[kube_compare_resolve_rds]
ValidateRDS[kube_compare_validate_rds]
BIOSDiff[baremetal_bios_diff]
end
subgraph external [External Resources]
K8sCluster[Kubernetes Cluster]
Registry[Container Registryregistry.redhat.io]
HTTPRef[HTTP References]
end
Cursor --> Transport
Claude --> Transport
OLS --> Transport
Transport --> Tools
Tools --> Diff
Tools --> ResolveRDS
Tools --> ValidateRDS
Tools --> BIOSDiff
Diff --> K8sCluster
Diff --> Registry
Diff --> HTTPRef
ResolveRDS --> K8sCluster
ResolveRDS --> Registry
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"kube-compare": {
"url": "https://kube-compare-mcp-route.apps.your-cluster.example.com/mcp"
}
}
}