Argo CD

v0.10.0
io.github.vish288/mcp-argocd Checked 9 hours ago Published 6 hours ago

Argo CD MCP server (MCP 2026-07-28): status, sync, rollback, drift, AppSets; writes or read-only

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

argocd_list_applications Argocd List Applications

List applications with slim rows (name, project, sync/health, source, destination, policy). Filters sync_status, health_status, destination, and name_prefix client-side; the Argo CD list endpoint has no paging, so results are sorted by name and sliced here.

ParameterTypeDescription
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
dest_namespaceMatch destination namespace
destinationMatch destination.server or destination.name
health_statusFilter by health
limitintegerMax results to return (1-200)
name_prefixClient-side name prefix filter
offsetintegerResult offset for paging
operation_phaseFilter by current operation phase
projectsFilter by project names
repoFilter by source repo URL
selectorLabel selector, e.g. team=platform
sync_statusFilter by sync status

argocd_get_application Argocd Get Application

Get one application: spec, sync/health, conditions, operation, summary, resource counts. refresh=hard forces reconciliation and re-fetches target manifests from the repo server.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
fullbooleanReturn the raw API payload instead of the slim one
projectProject; with it a missing app is 404 and a wrong-project app is 403
refreshstringnormal reconciles against cache; hard re-fetches from the repo server
resourcesstringInclude status.resources filtered by this mode

argocd_get_resource_tree Argocd Get Resource Tree

Get the live resource tree as slim nodes (kind, name, health, images, parent). Drops networkingInfo, uid, and resourceVersion. Filters by kind and health client-side.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
health_statusClient-side health filter
include_infobooleanInclude each node's info[] entries
include_orphanedbooleanInclude orphaned nodes
kindClient-side kind filter
limitintegerMax results to return (1-200)
offsetintegerResult offset for paging
projectProject; with it a missing app is 404 and a wrong-project app is 403

argocd_get_managed_resources Argocd Get Managed Resources

Get managed resources with their live-vs-desired diffs (truncated by default). include_states adds the parsed target, normalized-live, and predicted-live manifests with managedFields stripped.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
groupFilter by API group
include_statesbooleanInclude parsed target/live/predicted states
kindFilter by kind
max_diff_charsintegerTruncate each diff to this many chars
modified_onlybooleanOnly resources with a live-vs-desired diff
namespaceFilter by namespace
projectProject; with it a missing app is 404 and a wrong-project app is 403
resource_nameFilter by resource name
versionFilter by API version

argocd_get_resource Argocd Get Resource

Get a single managed resource's live manifest, with managedFields and the last-applied annotation removed.

ParameterTypeDescription
kind *stringResource kind, e.g. Deployment
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
resource_name *stringTarget resource name
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
fullbooleanReturn the raw API payload instead of the slim one
groupstringAPI group ('' for core)
namespaceResource namespace
projectProject; with it a missing app is 404 and a wrong-project app is 403
versionstringAPI version

argocd_get_manifests Argocd Get Manifests

Get the rendered desired manifests for a revision, parsed into objects and paged.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
kindClient-side kind filter
limitintegerMax results to return (1-200)
offsetintegerResult offset for paging
projectProject; with it a missing app is 404 and a wrong-project app is 403
resource_nameClient-side name filter
revisionRevision to render

argocd_get_application_events Argocd Get Application Events

Get Kubernetes events for an application, newest first, with messages capped at 500 chars.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
limitintegerMax results to return (1-200)
offsetintegerResult offset for paging
projectProject; with it a missing app is 404 and a wrong-project app is 403
resource_nameFilter to one resource
resource_namespaceResource namespace
resource_uidResource UID
warnings_onlybooleanOnly Warning events

argocd_get_pod_logs Argocd Get Pod Logs

Get container logs (never follows). Returns lines with pod and timestamp, the pods seen, and a shown_lines count; stops at the stream's last marker.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
containerContainer name
filterOnly lines containing this string
groupOwner API group
kindOwner kind, e.g. Deployment
match_casebooleanCase-sensitive filter
namespacePod namespace
pod_namePod name; or pass kind + resource_name
previousbooleanLogs from the previous container instance
projectProject; with it a missing app is 404 and a wrong-project app is 403
resource_nameOwner resource name
since_secondsOnly logs newer than N seconds
tail_linesintegerLines from the tail (1-1000)

argocd_get_application_history Argocd Get Application History

Get deployment history (newest first) with revision, who deployed it, and the source.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
limitintegerMax results to return (1-200)
offsetintegerResult offset for paging
projectProject; with it a missing app is 404 and a wrong-project app is 403

argocd_get_revision_metadata Argocd Get Revision Metadata

Get commit metadata for a revision: author, date, message, tags, signature info.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
revision *stringGit revision or chart version
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
projectProject; with it a missing app is 404 and a wrong-project app is 403
source_indexSource index for multi-source apps
version_idHistory version id

argocd_get_operation Argocd Get Operation

Get the current or last sync operation: phase, who started it, and per-status result counts. Returns {"phase": null} when no operation has run.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
include_resourcesbooleanInclude the requested resource subset
projectProject; with it a missing app is 404 and a wrong-project app is 403

argocd_wait_for_operation Argocd Wait For Operation

Poll an application until its operation reaches a terminal phase, disappears, or times out. Never errors on timeout; returns timed_out=true with the latest operation, sync, and health.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
poll_interval_secondsintegerSeconds between polls (1-30)
projectProject; with it a missing app is 404 and a wrong-project app is 403
timeout_secondsintegerGive up after N seconds (10-600)

argocd_get_sync_windows Argocd Get Sync Windows

Get sync windows for an application: whether it can sync now, plus active and assigned windows.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
projectProject; with it a missing app is 404 and a wrong-project app is 403

argocd_list_resource_actions Argocd List Resource Actions

List the custom resource actions available on a resource (e.g. restart, pause).

ParameterTypeDescription
kind *stringResource kind, e.g. Deployment
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
resource_name *stringTarget resource name
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
groupstringAPI group ('' for core)
namespaceResource namespace
projectProject; with it a missing app is 404 and a wrong-project app is 403
versionstringAPI version

argocd_sync_application Argocd Sync Application

Sync an application. destructive because prune and force can delete or recreate resources. Returns the started operation; with wait=True, the final one. revision override needs the `applications, override` RBAC permission.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
apply_out_of_sync_onlybooleanApply only out-of-sync resources
dry_runbooleanPreview only; change nothing
forcebooleanForce apply (recreate on conflict)
projectProject; with it a missing app is 404 and a wrong-project app is 403
prunebooleanDelete resources no longer in Git
resourcesScope to [group:]kind:name[/namespace] selectors
retry_limitRetry attempts on failure
revisionSync to this revision (needs override RBAC)
sync_optionsFree-form sync options, e.g. ServerSideApply=true
timeout_secondsintegerWait timeout in seconds
waitbooleanWait for the operation to finish

argocd_rollback_application Argocd Rollback Application

Roll back to a prior deployment history entry. destructive. Argo CD refuses a rollback while auto-sync is on, so this pre-reads the app and returns an actionable error first. A rollback re-applies an old revision, so fix Git afterward.

ParameterTypeDescription
history_id *integerstatus.history id to roll back to
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
dry_runbooleanPreview only
projectProject; with it a missing app is 404 and a wrong-project app is 403
prunebooleanPrune resources during rollback
timeout_secondsintegerWait timeout in seconds
waitbooleanWait for the operation to finish

argocd_terminate_operation Argocd Terminate Operation

Terminate the running sync operation. Use to unstick a sync hanging in Running.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
projectProject; with it a missing app is 404 and a wrong-project app is 403

argocd_create_application Argocd Create Application

Create an application from flattened parameters. Use patch for anything this does not cover. Returns the created application, slim. Idempotent only with upsert=True.

ParameterTypeDescription
name *stringNew application name
project *stringProject to create it in
repo_url *stringSource repository URL
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
auto_syncbooleanEnable automated sync
chartHelm chart name (or use path)
create_namespacebooleanAdd CreateNamespace=true
dest_nameDestination cluster name
dest_namespaceDestination namespace
dest_serverDestination cluster API URL
helm_parametersHelm params as k=v
helm_release_nameHelm release name
helm_value_filesHelm value file paths
kustomize_imagesKustomize image overrides
labelsApplication labels
pathPath within the repo (or use chart)
prunebooleanPrune on auto-sync (needs auto_sync)
self_healbooleanSelf-heal on drift (needs auto_sync)
sync_optionsSync options list
target_revisionstringBranch, tag, or chart version
upsertbooleanUpdate if it already exists
validatebooleanValidate the manifests

argocd_patch_application Argocd Patch Application

Patch an application — the one tool for every update. Examples: change targetRevision with patch='{"spec":{"source":{"targetRevision":"v2"}}}'; disable auto-sync with patch='{"spec":{"syncPolicy":{"automated":null}}}'.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
patch *stringJSON patch body
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
patch_typestringmerge (RFC 7386) or json (RFC 6902)
projectProject; with it a missing app is 404 and a wrong-project app is 403

argocd_delete_application Argocd Delete Application

Delete an application. destructive. cascade=False removes only the Application object.

ParameterTypeDescription
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
cascadebooleanAlso delete the app's resources
projectProject; with it a missing app is 404 and a wrong-project app is 403
propagation_policystringKubernetes deletion propagation policy (cascade deletes only)

argocd_run_resource_action Argocd Run Resource Action

Run a custom resource action (restart a Deployment, pause a Rollout). destructive.

ParameterTypeDescription
action *stringAction name, e.g. restart
kind *stringResource kind, e.g. Deployment
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
resource_name *stringTarget resource name
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
groupstringAPI group ('' for core)
namespaceResource namespace
parametersAction parameters
projectProject; with it a missing app is 404 and a wrong-project app is 403
versionstringAPI version

argocd_delete_resource Argocd Delete Resource

Delete a single managed resource so the controller recreates it. destructive.

ParameterTypeDescription
kind *stringResource kind, e.g. Deployment
name *stringApplication name; accepts namespace/name for apps-in-any-namespace
resource_name *stringTarget resource name
app_namespaceOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
forcebooleanForce delete
groupstringAPI group ('' for core)
namespaceResource namespace
orphanbooleanOrphan dependents
projectProject; with it a missing app is 404 and a wrong-project app is 403
versionstringAPI version

argocd_list_applicationsets Argocd List Applicationsets

List ApplicationSets with slim rows (generators present, strategy, health, conditions).

ParameterTypeDescription
appset_namespaceApplicationSet namespace
limitintegerMax results to return (1-200)
offsetintegerResult offset for paging
projectsFilter by project names
selectorLabel selector

argocd_get_applicationset Argocd Get Applicationset

Get one ApplicationSet: generators, strategy, and the status of the apps it generates.

ParameterTypeDescription
name *stringApplicationSet name
appset_namespaceApplicationSet namespace
fullbooleanReturn the raw API payload instead of the slim one
include_applicationsbooleanInclude generated app statuses
include_templatebooleanInclude the full spec.template

argocd_generate_applicationset Argocd Generate Applicationset

Dry-run the generators: preview the applications an ApplicationSet would produce. Creates nothing. The manifest must be JSON.

ParameterTypeDescription
applicationset *stringFull ApplicationSet manifest as JSON
appset_namespaceApplicationSet namespace

argocd_list_projects Argocd List Projects

List projects with slim rows (repo/destination counts, role names, sync-window count).

ParameterTypeDescription
limitintegerMax results to return (1-200)
nameFilter to one project name
offsetintegerResult offset for paging

argocd_get_project Argocd Get Project

Get a project: allowed repos, destinations, resource whitelists/blacklists, and roles. Role token values (jwtTokens) are never returned; only a token count.

ParameterTypeDescription
name *stringProject name
fullbooleanReturn the raw API payload instead of the slim one
include_rolesbooleanInclude role definitions (never jwtTokens)

argocd_list_clusters Argocd List Clusters

List clusters with slim rows (connection state, server version, app and cache counts). The cluster credential config is never returned.

ParameterTypeDescription
limitintegerMax results to return (1-200)
nameFilter by cluster name
offsetintegerResult offset for paging
serverFilter by server URL

argocd_get_cluster Argocd Get Cluster

Get one cluster by name or server URL. The credential config is always removed, even with full=True.

ParameterTypeDescription
cluster *stringCluster name, or server URL (starts with http)
fullbooleanReturn the raw API payload instead of the slim one

argocd_invalidate_cluster_cache Argocd Invalidate Cluster Cache

Invalidate a cluster's cached resources — the standard fix for phantom OutOfSync or Unknown health. Removes nothing real.

ParameterTypeDescription
cluster *stringCluster name, or server URL (starts with http)

argocd_list_repositories Argocd List Repositories

List repositories with slim rows and connection state. Credentials are never returned; has_credentials reports whether any are configured.

ParameterTypeDescription
app_projectFilter by project
force_refreshbooleanRe-check connection state
limitintegerMax results to return (1-200)
offsetintegerResult offset for paging
repoFilter by repo URL

argocd_get_repository_refs Argocd Get Repository Refs

Get a repository's branches and tags, each paged separately with its own counts.

ParameterTypeDescription
repo *stringRepository URL
app_projectProject scope
force_refreshbooleanBypass the cache
limitintegerMax branches/tags per list (1-500)
offsetintegerResult offset for paging

argocd_list_repository_apps Argocd List Repository Apps

List the application paths (and their config type) discoverable in a repository.

ParameterTypeDescription
repo *stringRepository URL
app_projectProject scope
limitintegerMax results to return (1-200)
offsetintegerResult offset for paging
revisionRevision to inspect

argocd_get_version Argocd Get Version

Get the Argo CD server version and its bundled tool versions. The connectivity probe.

argocd_get_userinfo Argocd Get Userinfo

Get the authenticated identity: username, groups, whether logged in, and the token issuer.

argocd_can_i Argocd Can I

Check whether the current account may perform resource/action on a subresource. Returns {allowed: bool, ...}; the API answers the string yes/no.

ParameterTypeDescription
action *stringRBAC action
resource *stringRBAC resource
subresourcestringSub-resource, e.g. */* or proj/app

argocd_get_settings Argocd Get Settings

Get server settings: URL, enabled features, tracking method, and plugin names. Drops OIDC/Dex config and UI banner fields in the slim view.

ParameterTypeDescription
fullbooleanReturn the raw API payload instead of the slim one