
Argocd
io.github.asklokesh由 GitHub 帳號 asklokesh 發布v0.1.0更新於 Oct 24, 2026
MCP server for ArgoCD GitOps continuous delivery integration
概覽
一個連接 ArgoCD 的 MCP 伺服器,讓 AI 助理管理 GitOps 應用程式、專案、儲存庫、叢集與同步作業。
- 可以做什麼
- 列出、建立、同步、回復和刪除 ArgoCD 應用程式,並讀取其狀態與健康情況。建立與設定專案、角色及原則。新增或移除 Git 與 Helm 儲存庫,註冊 Kubernetes 叢集。建立 ApplicationSet 以進行範本化的多叢集部署。檢視應用程式健康、同步狀態與資源樹。
- 適用情境
- 當你使用 ArgoCD 進行 Kubernetes GitOps 交付,並希望助理透過對話檢視部署狀態、觸發或回復同步、設定專案、儲存庫與叢集,而不必操作 ArgoCD 介面或命令列時適用。
- 執行需求
- 以 Python 套件形式在本機執行(pip 或 uvx)。需要能連線至 ArgoCD 伺服器的網路、其 API 位址,以及透過環境變數提供的 API 金鑰;README 另列出伺服器位址、驗證權杖與選用的 TLS 憑證設定。僅限桌面用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Argocd,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ArgoCD MCP Server
Argocd Mcp Server
[GitHub stars] [GitHub forks] [GitHub watchers]
A Model Context Protocol (MCP) server for integrating ArgoCD GitOps continuous delivery tool with GenAI applications, enabling intelligent Kubernetes deployment management.
Features
-
Comprehensive ArgoCD API Coverage:
- Application Management: Create, sync, delete, rollback applications
- Project Management: Configure projects, roles, and policies
- Repository Management: Add/remove Git repositories, Helm charts
- Cluster Management: Register and manage Kubernetes clusters
- Sync Operations: Manual/auto sync, sync windows, hooks
- Health Monitoring: Application health, sync status, resource tree
- RBAC Management: Users, roles, policies, JWT tokens
- GitOps Workflows: Automated deployments from Git commits
- Multi-tenancy: Namespace isolation, project restrictions
- Application Sets: Template-based multi-cluster deployments
-
Authentication Methods:
- JWT Token authentication
- API Token authentication
- OIDC/OAuth2 integration
- LDAP authentication support
-
Enterprise Features:
- Multi-cluster support
- Disaster recovery workflows
- Progressive delivery (Canary, Blue-Green)
- Automated rollback on failures
- Audit logging and compliance
- Resource optimization
- Secret management integration
Installation
Or install from source:
Configuration
Create a .env file or set environment variables:
Quick Start
Basic Usage
Claude Desktop Configuration
Add to your Claude Desktop config:
Available Tools
Application Management
List Applications
Create Application
Sync Application
Get Application Status
Rollback Application
Project Management
Create Project
Repository Management
Add Repository
Add Helm Repository
Cluster Management
Add Cluster
Application Sets
Create ApplicationSet
Health and Monitoring
Get Application Health
Get Resource Tree
Advanced Configuration
Multi-Cluster GitOps
Progressive Delivery
Disaster Recovery
Integration Examples
See the examples/ directory for complete integration examples:
basic_gitops.py- Basic GitOps workflowsmulti_cluster_deployment.py- Multi-cluster application deploymentprogressive_delivery.py- Canary and blue-green deploymentsdisaster_recovery.py- Backup and restore workflowsgenai_gitops.py- AI-powered GitOps automationsecurity_scanning.py- Integration with security tools
Security Best Practices
- Use service accounts with minimal permissions
- Enable RBAC with proper policies
- Implement network policies for cluster isolation
- Use sealed secrets or external secret operators
- Enable audit logging for compliance
- Implement admission controllers for policy enforcement
- Regular security scanning of images and manifests
Error Handling
The server provides detailed error information:
Performance Optimization
- Use application sets for similar apps
- Enable resource caching in ArgoCD
- Implement sync windows to control deployment times
- Use webhook notifications instead of polling
- Optimize manifest generation with Helm/Kustomize
Troubleshooting
Common Issues
-
Sync failures
- Check application logs
- Verify repository access
- Review resource quotas
-
Authentication errors
- Verify token validity
- Check RBAC policies
- Review server connectivity
-
Performance issues
- Check ArgoCD server resources
- Review application count
- Optimize manifest size
Contributing
Contributions are welcome! Please read our contributing guidelines and submit pull requests.
License
MIT License - see LICENSE file for details
來源:README.md,提交 05ac6d5
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。