Declarative GitOps continuous delivery for Kubernetes.
## Argo CD MCP Server: GitOps Continuous Delivery The **Argo CD MCP Server** integrates declarative GitOps continuous delivery into Google Antigravity, enabling developers to manage Kubernetes application deployments through Git-based workflows. ### Why Argo CD MCP? - **GitOps model** - Git as single source of truth - **Application sync** - Sync K8s apps from Git repos - **Rollback support** - Easy rollback to previous states - **Multi-cluster** - Manage apps across clusters - **Health monitoring** - Track application health status ### Key Features #### 1. Application Management ```python # Create application app = await mcp.call("argocd", "create_application", { "name": "web-app", "project": "default", "source": { "repo_url": "https://github.com/org/manifests", "path": "apps/web", "target_revision": "main" }, "destination": { "server": "https://kubernetes.default.svc", "namespace": "production" } }) # Sync application await mcp.call("argocd", "sync_application", { "name": "web-app", "prune": True }) ``` #### 2. Application Status ```python # Get application status status = await mcp.call("argocd", "get_application", { "name": "web-app" }) print(f"Sync: {status[\"sync\"][\"status\"]}") print(f"Health: {status[\"health\"][\"status\"]}") # List applications apps = await mcp.call("argocd", "list_applications", { "project": "default" }) ``` #### 3. Rollback ```python # Get history history = await mcp.call("argocd", "get_history", { "name": "web-app" }) # Rollback to previous await mcp.call("argocd", "rollback", { "name": "web-app", "revision_id": history[1]["id"] }) ``` #### 4. Sync Options ```python # Configure sync options await mcp.call("argocd", "update_application", { "name": "web-app", "sync_policy": { "automated": {"prune": True, "self_heal": True} } }) ``` ### Configuration ```json { "mcpServers": { "argocd": { "command": "npx", "args": ["-y", "@anthropic/mcp-argocd"], "env": { "ARGOCD_SERVER": "argocd.example.com", "ARGOCD_TOKEN": "your-token" } } } } ``` ### Use Cases **GitOps Deployments**: Deploy apps by pushing to Git. **Multi-Cluster**: Manage apps across multiple clusters. **Automated Sync**: Keep cluster state in sync with Git. **Rollback**: Quickly rollback problematic deployments. The Argo CD MCP Server enables GitOps continuous delivery.
{
"mcpServers": {
"argocd": {}
}
}