rohitg00/kubectl-mcp-server/k8s-multicluster
Claude Code and agent skill by rohitg00/kubectl-mcp-server
- community
Checking that the SKILL.md file is still in the repository.
Manage multiple Kubernetes clusters, switch contexts, and perform cross-cluster operations. Use when working with multiple clusters, comparing environments, or managing cluster lifecycle.
Install
npx vskill@latest install rohitg00/kubectl-mcp-server/k8s-multiclusterSKILL.md
Multi-Cluster Kubernetes Management
Cross-cluster operations and context management using kubectl-mcp-server's multi-cluster support.
Requires thecapi,cilium,diagnostics,gitops,istio,multiclustertoolsets: start kubectl-mcp-server with--toolsets default,capi,cilium,diagnostics,gitops,istio,multicluster(orMCP_TOOLSETS=default,capi,cilium,diagnostics,gitops,istio,multicluster). For deep work, the project-maintained MCP servers may fit better: Argo CD: https://github.com/argoproj-labs/mcp-for-argocd; Flux: https://fluxoperator.dev/mcp-server/.
When to Apply
Use this skill when:
- User mentions: "cluster", "context", "multi-cluster", "cross-cluster"
- Operations: switching contexts, comparing clusters, federated deployments
- Keywords: "different environment", "production vs staging", "all clusters"
Priority Rules
| Priority | Rule | Impact | Tools | |
|---|---|---|---|---|
| 1 | Always specify context for prod | CRITICAL | context parameter | |
| 2 | List contexts before switching | HIGH | list_contexts | |
| 3 | Compare before promoting | MEDIUM | compare_namespaces | |
| 4 | Use naming conventions | LOW | prod-*, staging-* |
Quick Reference
| Task | Tool | Example | |
|---|---|---|---|
| List contexts | list_contexts | list_contexts() | |
| View kubeconfig | kubeconfig_view | kubeconfig_view() | |
| List CAPI clusters | capi_list_clusters | capi_list_clusters(namespace) | |
| Get CAPI kubeconfig | capi_get_cluster_kubeconfig | capi_get_cluster_kubeconfig(name, namespace) |
Context Management
List Available Contexts
View Current Context
Switch Context
CLI: kubectl-mcp-server context <context-name>
Cross-Cluster Operations
All kubectl-mcp-server tools support the context parameter:
Common Multi-Cluster Patterns
Compare Environments
Parallel Queries
Query multiple clusters simultaneously:
Cross-Cluster Health Check
Cluster API (CAPI) Management
For managing cluster lifecycle:
List Managed Clusters
Get Cluster Details
Get Workload Cluster Kubeconfig
Machine Management
Scale Cluster
See CONTEXT-SWITCHING.md for detailed patterns.
Multi-Cluster Helm
Deploy charts to specific clusters:
Multi-Cluster GitOps
Flux Across Clusters
ArgoCD Across Clusters
Federation Patterns
Secret Synchronization
Cross-Cluster Service Discovery
With Cilium ClusterMesh or Istio multi-cluster:
Best Practices
- Naming Convention: Use descriptive context names (
prod-us-east-1,staging-eu-west-1) - Access Control: Different kubeconfigs per environment
- Always Specify Context: Avoid accidental cross-cluster operations
- Cluster Groups: Organize by purpose (
prod-*,staging-*,dev-*)
Related Skills
- k8s-troubleshoot - Debug across clusters
- k8s-gitops - GitOps multi-cluster
- k8s-capi - Cluster API management
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingkubernetes-skills/claude/k8s-multicluster/SKILL.md
Popularity
- Repository stars
- 853
- Repository forks
- 166
- Repository npm downloads, 7 days
- 360
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 20 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rohitg00/kubectl-mcp-server/k8s-multicluster)