Skip to main content

Tools reference

The ArgoCD MCP Server provides 29 tools organized across four operational domains: Application Management, Deployment & Sync Operations, Repository Onboarding, and Project Multi-Tenancy. Fourteen tools operate in read-only mode (MCP_ALLOW_WRITE=false), while 15 mutating tools require MCP_ALLOW_WRITE=true.

CategoryTotal ToolsRead-Only (MCP_ALLOW_WRITE=false)Write Required (MCP_ALLOW_WRITE=true)
Application Management743
Deployment & Sync Operations103 (+ dry_run sync)7
Repository Management743
Project & RBAC Management532
Total291415

Application management tools (7)​

ToolWrite RequiredDescription
list_applicationsNoList all applications across clusters with health and sync states
get_application_detailsNoRetrieve detailed status, resource tree, and sync history for an application
create_applicationYesCreate a new ArgoCD Application from a registered Git repository
update_applicationYesUpdate target revision, sync policies (automated, selfHeal, prune), or Helm parameters
delete_applicationYesDelete an ArgoCD Application (with optional cascade resource deletion)
validate_application_configNoValidate an application specification before creation
get_application_eventsNoRetrieve Kubernetes resource events associated with an application

list_applications​

Lists applications filtered by cluster, project, or namespace along with their current sync.status (Synced, OutOfSync) and health.status (Healthy, Progressing, Degraded).

get_application_details​

Returns the complete resource tree, replica readiness, target Git revision, and recent deployment history for a single application.

create_application​

Creates a declarative ArgoCD Application pointing to a Git repository path or Helm chart and binds it to a destination cluster, namespace, and AppProject.

Deployment and sync operations (10)​

ToolWrite RequiredDescription
sync_applicationYes (No if dry_run=True)Synchronize an application to its desired Git state
get_application_diffNoCompute the live vs. desired manifest diff before syncing
get_sync_statusNoInspect active or most recent sync operation phases and resource results
rollback_applicationYesRoll back an application to its immediately preceding successful revision
rollback_to_revisionYesRoll back an application to a specific history ID or Git commit SHA
get_application_logsNoFetch pod logs for an application with automatic error-pattern extraction
prune_resourcesYesPrune orphaned Kubernetes resources no longer present in Git
hard_refreshYesInvalidate the ArgoCD Git manifest cache and re-evaluate application state
soft_refreshYesTrigger a standard state reconciliation against the cached Git revision
cancel_deploymentYesTerminate an in-progress sync operation

sync_application​

Synchronizes an application to its target Git revision.

  • app_name (string, required): Target ArgoCD application name.
  • revision (string, optional): Specific Git branch, tag, or commit SHA.
  • dry_run (boolean, default: False): Preview the sync result without mutating cluster resources (permitted even when MCP_ALLOW_WRITE=false).
  • prune (boolean, default: False): Delete resources that were removed from Git.

get_application_diff​

Returns a structured resource-by-resource diff comparing the live Kubernetes manifests in the cluster against the desired manifests rendered from Git.

rollback_application & rollback_to_revision​

Reverts an application to a known-good historical deployment revision. When automated sync (selfHeal) is enabled on the application, disable auto-sync via update_application prior to rolling back so ArgoCD does not immediately re-sync HEAD.

Repository management tools (7)​

ToolWrite RequiredDescription
onboard_repository_httpsYesRegister a Git repository using server-side HTTPS credentials (GIT_PASSWORD)
onboard_repository_sshYesRegister a Git repository using server-side SSH keys (SSH_PRIVATE_KEY_PATH)
list_repositoriesNoList all Git and Helm repositories registered in ArgoCD
get_repositoryNoInspect connection status and metadata for a specific repository URL
validate_repository_connectionNoTest connectivity and authentication to a repository before registering it
delete_repositoryYesRemove a repository registration from ArgoCD
generate_repository_secret_manifestNoGenerate a declarative v1/Secret YAML manifest (argocd.argoproj.io/secret-type: repository)

Project and multi-tenancy tools (5)​

ToolWrite RequiredDescription
create_projectYesCreate an AppProject with scoped source repos, destination clusters/namespaces, and RBAC
list_projectsNoList all configured ArgoCD projects
get_projectNoInspect allowed sources, destinations, and resource restrictions for a project
delete_projectYesDelete an AppProject
generate_project_manifestNoRender a declarative AppProject CRD YAML manifest for GitOps version control