react — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited react (Rules) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A comprehensive Kubernetes management solution combining MCP (Model Context Protocol) Server and Rancher UI Extensions for intelligent, AI-powered Kubernetes cluster management.
This project integrates two powerful technologies to create a seamless Kubernetes management experience:
The combination provides both command-line AI assistance and visual management capabilities through a unified interface.
The K8s AI Assistant follows a multi-layered architecture that processes natural language queries through AI analysis and executes Kubernetes operations via MCP protocols.
graph LR
A[User Input] --> B[Rancher UI]
B --> C[Backend API]
C --> D[Ollama AI]
D --> E[MCP Server]
E --> F[Kubernetes]
F --> E
E --> D
D --> C
C --> B
B --> A
style A fill:#e1f5fe
style B fill:#fff3e0
style C fill:#f3e5f5
style D fill:#e8f5e8
style E fill:#fff8e1
style F fill:#fce4ec| Component | Technology | Protocol | Port | Purpose |
|---|---|---|---|---|
| Frontend | Vue.js + Rancher Shell | HTTP/HTTPS | 8005 | User interface and chat experience |
| Backend API | Express.js | HTTP | 8055 | Request routing and response formatting |
| AI Model | Ollama (gpt-oss:20b) | OpenAI-compatible API | 11434 | Natural language processing and intent mapping |
| MCP Server | Node.js + TypeScript | JSON-RPC + SSE | 3000 | Kubernetes command execution |
| Kubernetes | kubectl + Helm | Kubernetes API | 6443 | Cluster management and resource operations |
┌─────────────────────────────────────────────────────────────┐
│ K8s AI Assistant MCP │
├─────────────────────────────────────────────────────────────┤
│ ┌─────────────────┐ ┌─────────────────────────────────┐ │
│ │ MCP Server │ │ Rancher UI Extensions │ │
│ │ (Backend) │ │ (Frontend) │ │
│ │ │ │ │ │
│ │ • kubectl ops │ │ • Visual dashboards │ │
│ │ • Helm support │ │ • Resource management UI │ │
│ │ • AI diagnosis │ │ • Real-time monitoring │ │
│ │ • Port forward │ │ • Custom extensions │ │
│ └─────────────────┘ └─────────────────────────────────┘ │
│ │ │ │
│ └───────────┬───────────────┘ │
│ │ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ Kubernetes Cluster │ │
│ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────────┐ │ │
│ │ │ Pods │ │ Services │ │ Deployments │ │ │
│ │ └─────────────┘ └─────────────┘ └─────────────────┘ │ │
│ └─────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘mcp-server-kubernetes/)Forked from: Flux159/mcp-server-kubernetes
The MCP Server provides AI-powered Kubernetes management through natural language commands and automated operations.
#### Key Features:
k8s-diagnose#### Available Commands:
# Resource Management
kubectl_get, kubectl_describe, kubectl_create, kubectl_apply
kubectl_delete, kubectl_scale, kubectl_patch, kubectl_rollout
# Monitoring & Debugging
kubectl_logs, port_forward, k8s-diagnose
# Helm Operations
install_helm_chart, upgrade_helm_chart, uninstall_helm_chart
# Context Management
kubectl_context, list_api_resources, explain_resourcerancher-ui/)Forked from: rancher/ui-plugin-examples
The Rancher UI Extensions provide visual management interfaces for Kubernetes resources through the Rancher platform.
#### Key Features:
#### Extension Types:
#### Rancher UI Extension Interface
Rancher UI Demo
Rancher UI Extension interface showing Kubernetes management capabilities
#### Additional Demo Content (Coming Soon)
📸 More Demo Images
>
Additional screenshots and videos demonstrating the K8s AI Assistant in action
>
Planned Demo Content: - MCP Server command-line interface - AI-powered troubleshooting workflow - Multi-cluster management interface - Real-time monitoring and alerts - Helm chart deployment process - Port forwarding and service access - Custom extension development
🔗 Live Demo Placeholder
>
Coming soon: Interactive demo environment for hands-on experience
git clone https://github.com/Thanhdeptr/K8s_AI_Assistant_MCP.git
cd K8s_AI_Assistant_MCPcd mcp-server-kubernetes
npm install
npm run buildcd ../rancher-ui
npm install{
"mcpServers": {
"k8s-ai-assistant": {
"command": "node",
"args": ["/path/to/K8s_AI_Assistant_MCP/mcp-server-kubernetes/dist/index.js"]
}
}
}# Build and package extensions
npm run build
npm run package
# Deploy to Rancher
helm install k8s-ai-extensions ./charts/For detailed setup instructions including how to run the MCP server and backend server, see [SETUP.md](SETUP.md).
# Get all pods in default namespace
kubectl_get pods
# Describe a specific deployment
kubectl_describe deployment my-app
# Scale a deployment
kubectl_scale deployment my-app --replicas=5
# Diagnose pod issues
k8s-diagnose my-app-pod
# Port forward to a service
port_forward service/my-app-service 8080:80K8s_AI_Assistant_MCP/
├── mcp-server-kubernetes/ # MCP Server backend
│ ├── src/ # Source code
│ ├── tests/ # Unit tests
│ └── dist/ # Built artifacts
├── rancher-ui/ # Rancher UI extensions
│ ├── pkg/ # Extension packages
│ ├── charts/ # Helm charts
│ └── assets/ # Extension assets
└── docs/ # Documentationcd mcp-server-kubernetes
npm run dev # Development mode with hot reload
npm run test # Run tests
npm run build # Build for productioncd rancher-ui
npm run dev # Development server
npm run build # Build extensions
npm run package # Package for deployment# Run all tests
npm run test:all
# Test MCP Server only
cd mcp-server-kubernetes && npm run test
# Test UI extensions only
cd rancher-ui && npm run testThis project is licensed under the MIT License - see the LICENSE file for details.
This project builds upon the excellent work of the following open-source projects:
⭐ Star this repository if you find it useful!
🔄 Fork and contribute to make it even better!
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.