Argo CD
v0.10.0Argo 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.
| Parameter | Type | Description |
|---|---|---|
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
dest_namespace | Match destination namespace | |
destination | Match destination.server or destination.name | |
health_status | Filter by health | |
limit | integer | Max results to return (1-200) |
name_prefix | Client-side name prefix filter | |
offset | integer | Result offset for paging |
operation_phase | Filter by current operation phase | |
projects | Filter by project names | |
repo | Filter by source repo URL | |
selector | Label selector, e.g. team=platform | |
sync_status | Filter 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
full | boolean | Return the raw API payload instead of the slim one |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
refresh | string | normal reconciles against cache; hard re-fetches from the repo server |
resources | string | Include 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
health_status | Client-side health filter | |
include_info | boolean | Include each node's info[] entries |
include_orphaned | boolean | Include orphaned nodes |
kind | Client-side kind filter | |
limit | integer | Max results to return (1-200) |
offset | integer | Result offset for paging |
project | Project; 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
group | Filter by API group | |
include_states | boolean | Include parsed target/live/predicted states |
kind | Filter by kind | |
max_diff_chars | integer | Truncate each diff to this many chars |
modified_only | boolean | Only resources with a live-vs-desired diff |
namespace | Filter by namespace | |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
resource_name | Filter by resource name | |
version | Filter 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.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Resource kind, e.g. Deployment |
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
resource_name * | string | Target resource name |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
full | boolean | Return the raw API payload instead of the slim one |
group | string | API group ('' for core) |
namespace | Resource namespace | |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
version | string | API version |
argocd_get_manifests Argocd Get Manifests
Get the rendered desired manifests for a revision, parsed into objects and paged.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
kind | Client-side kind filter | |
limit | integer | Max results to return (1-200) |
offset | integer | Result offset for paging |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
resource_name | Client-side name filter | |
revision | Revision to render |
argocd_get_application_events Argocd Get Application Events
Get Kubernetes events for an application, newest first, with messages capped at 500 chars.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
limit | integer | Max results to return (1-200) |
offset | integer | Result offset for paging |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
resource_name | Filter to one resource | |
resource_namespace | Resource namespace | |
resource_uid | Resource UID | |
warnings_only | boolean | Only 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
container | Container name | |
filter | Only lines containing this string | |
group | Owner API group | |
kind | Owner kind, e.g. Deployment | |
match_case | boolean | Case-sensitive filter |
namespace | Pod namespace | |
pod_name | Pod name; or pass kind + resource_name | |
previous | boolean | Logs from the previous container instance |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
resource_name | Owner resource name | |
since_seconds | Only logs newer than N seconds | |
tail_lines | integer | Lines 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
limit | integer | Max results to return (1-200) |
offset | integer | Result offset for paging |
project | Project; 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
revision * | string | Git revision or chart version |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
source_index | Source index for multi-source apps | |
version_id | History 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
include_resources | boolean | Include the requested resource subset |
project | Project; 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
poll_interval_seconds | integer | Seconds between polls (1-30) |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
timeout_seconds | integer | Give 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
project | Project; 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).
| Parameter | Type | Description |
|---|---|---|
kind * | string | Resource kind, e.g. Deployment |
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
resource_name * | string | Target resource name |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
group | string | API group ('' for core) |
namespace | Resource namespace | |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
version | string | API 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
apply_out_of_sync_only | boolean | Apply only out-of-sync resources |
dry_run | boolean | Preview only; change nothing |
force | boolean | Force apply (recreate on conflict) |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
prune | boolean | Delete resources no longer in Git |
resources | Scope to [group:]kind:name[/namespace] selectors | |
retry_limit | Retry attempts on failure | |
revision | Sync to this revision (needs override RBAC) | |
sync_options | Free-form sync options, e.g. ServerSideApply=true | |
timeout_seconds | integer | Wait timeout in seconds |
wait | boolean | Wait 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.
| Parameter | Type | Description |
|---|---|---|
history_id * | integer | status.history id to roll back to |
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
dry_run | boolean | Preview only |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
prune | boolean | Prune resources during rollback |
timeout_seconds | integer | Wait timeout in seconds |
wait | boolean | Wait for the operation to finish |
argocd_terminate_operation Argocd Terminate Operation
Terminate the running sync operation. Use to unstick a sync hanging in Running.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
project | Project; 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | New application name |
project * | string | Project to create it in |
repo_url * | string | Source repository URL |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
auto_sync | boolean | Enable automated sync |
chart | Helm chart name (or use path) | |
create_namespace | boolean | Add CreateNamespace=true |
dest_name | Destination cluster name | |
dest_namespace | Destination namespace | |
dest_server | Destination cluster API URL | |
helm_parameters | Helm params as k=v | |
helm_release_name | Helm release name | |
helm_value_files | Helm value file paths | |
kustomize_images | Kustomize image overrides | |
labels | Application labels | |
path | Path within the repo (or use chart) | |
prune | boolean | Prune on auto-sync (needs auto_sync) |
self_heal | boolean | Self-heal on drift (needs auto_sync) |
sync_options | Sync options list | |
target_revision | string | Branch, tag, or chart version |
upsert | boolean | Update if it already exists |
validate | boolean | Validate 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}}}'.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
patch * | string | JSON patch body |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
patch_type | string | merge (RFC 7386) or json (RFC 6902) |
project | Project; 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
cascade | boolean | Also delete the app's resources |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
propagation_policy | string | Kubernetes 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.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action name, e.g. restart |
kind * | string | Resource kind, e.g. Deployment |
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
resource_name * | string | Target resource name |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
group | string | API group ('' for core) |
namespace | Resource namespace | |
parameters | Action parameters | |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
version | string | API version |
argocd_delete_resource Argocd Delete Resource
Delete a single managed resource so the controller recreates it. destructive.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Resource kind, e.g. Deployment |
name * | string | Application name; accepts namespace/name for apps-in-any-namespace |
resource_name * | string | Target resource name |
app_namespace | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
force | boolean | Force delete |
group | string | API group ('' for core) |
namespace | Resource namespace | |
orphan | boolean | Orphan dependents |
project | Project; with it a missing app is 404 and a wrong-project app is 403 | |
version | string | API version |
argocd_list_applicationsets Argocd List Applicationsets
List ApplicationSets with slim rows (generators present, strategy, health, conditions).
| Parameter | Type | Description |
|---|---|---|
appset_namespace | ApplicationSet namespace | |
limit | integer | Max results to return (1-200) |
offset | integer | Result offset for paging |
projects | Filter by project names | |
selector | Label selector |
argocd_get_applicationset Argocd Get Applicationset
Get one ApplicationSet: generators, strategy, and the status of the apps it generates.
| Parameter | Type | Description |
|---|---|---|
name * | string | ApplicationSet name |
appset_namespace | ApplicationSet namespace | |
full | boolean | Return the raw API payload instead of the slim one |
include_applications | boolean | Include generated app statuses |
include_template | boolean | Include 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.
| Parameter | Type | Description |
|---|---|---|
applicationset * | string | Full ApplicationSet manifest as JSON |
appset_namespace | ApplicationSet namespace |
argocd_list_projects Argocd List Projects
List projects with slim rows (repo/destination counts, role names, sync-window count).
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results to return (1-200) |
name | Filter to one project name | |
offset | integer | Result 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name |
full | boolean | Return the raw API payload instead of the slim one |
include_roles | boolean | Include 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results to return (1-200) |
name | Filter by cluster name | |
offset | integer | Result offset for paging |
server | Filter 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.
| Parameter | Type | Description |
|---|---|---|
cluster * | string | Cluster name, or server URL (starts with http) |
full | boolean | Return 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.
| Parameter | Type | Description |
|---|---|---|
cluster * | string | Cluster 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.
| Parameter | Type | Description |
|---|---|---|
app_project | Filter by project | |
force_refresh | boolean | Re-check connection state |
limit | integer | Max results to return (1-200) |
offset | integer | Result offset for paging |
repo | Filter 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.
| Parameter | Type | Description |
|---|---|---|
repo * | string | Repository URL |
app_project | Project scope | |
force_refresh | boolean | Bypass the cache |
limit | integer | Max branches/tags per list (1-500) |
offset | integer | Result offset for paging |
argocd_list_repository_apps Argocd List Repository Apps
List the application paths (and their config type) discoverable in a repository.
| Parameter | Type | Description |
|---|---|---|
repo * | string | Repository URL |
app_project | Project scope | |
limit | integer | Max results to return (1-200) |
offset | integer | Result offset for paging |
revision | Revision 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.
| Parameter | Type | Description |
|---|---|---|
action * | string | RBAC action |
resource * | string | RBAC resource |
subresource | string | Sub-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.
| Parameter | Type | Description |
|---|---|---|
full | boolean | Return the raw API payload instead of the slim one |