Skip to main content
Glama
peopleforrester

ArgoCD MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ARGOCD_URLYesArgoCD server URL (required)
ARGOCD_TOKENYesArgoCD API token (required)
MCP_AUDIT_LOGNoPath to audit log file (disabled if not set)
MCP_READ_ONLYNoBlock write operationstrue
ARGOCD_INSECURENoSkip TLS verification (dev only!)false
MCP_SINGLE_CLUSTERNoRestrict to default clusterfalse
ARGOCD_MCP_LOG_LEVELNoLogging levelINFO
MCP_RATE_LIMIT_CALLSNoMax API calls per window100
MCP_RATE_LIMIT_WINDOWNoRate limit window (seconds)60
MCP_DISABLE_DESTRUCTIVENoBlock delete/prunetrue

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_applicationsA

List ArgoCD applications with optional filtering.

Returns applications matching the specified filters. Use this to get an overview of applications in a project or find unhealthy/out-of-sync apps.

get_applicationB

Get detailed information about a specific ArgoCD application.

Returns comprehensive application details including source repo, sync status, health status, deployment destination, and any conditions or errors.

get_application_statusB

Get condensed health and sync status for quick checks.

Use this for a quick status check when you don't need full application details.

get_application_diffA

Preview what would change on sync (dry-run diff).

Shows resources that would be created, updated, or deleted if sync were triggered. Use this before syncing to understand the impact.

get_application_historyA

View deployment history with commit info and timestamps.

Shows recent deployments including revision, timestamp, and initiator. Useful for understanding recent changes and finding rollback targets.

diagnose_sync_failureB

Diagnose why an application sync failed.

Aggregates sync status, resource conditions, events, and recent logs to identify root cause. Provides actionable suggestions for resolution.

get_application_logsA

Get pod logs for an application.

Retrieves logs from pods managed by the application. Useful for debugging application issues, checking startup errors, or monitoring runtime behavior.

list_clustersB

List registered Kubernetes clusters with health status.

Shows all clusters registered with ArgoCD and their connection status.

list_projectsA

List ArgoCD projects.

Shows all projects which organize and control application access.

sync_applicationA
Synchronize application with Git repository (non-destructive).

By default runs in dry-run mode showing what would change.
Set dry_run=false to apply changes. This tool NEVER prunes resources —
for sync-with-prune (which deletes cluster resources missing from Git),
use the Tier-3 `sync_application_with_prune` tool, which requires
explicit confirmation.
refresh_applicationB

Force manifest refresh from Git.

Triggers ArgoCD to re-fetch manifests from the Git repository. Use hard=true to invalidate cache and force full refresh.

rollback_applicationB
Rollback application to a previous deployment revision.

Use get_application_history to find revision IDs, then rollback
to a known-good state. Defaults to dry-run mode for safety.
terminate_syncB

Terminate an ongoing sync operation.

Stops a sync that's currently in progress. Useful when a sync is stuck, taking too long, or was triggered by mistake.

delete_applicationA
Delete an ArgoCD application (DESTRUCTIVE).

Requires explicit confirmation. Set confirm=true AND confirm_name
matching the application name to proceed. With cascade=true (default),
also deletes Kubernetes resources managed by this application.
sync_application_with_pruneA
Synchronize application and PRUNE cluster resources missing from Git (DESTRUCTIVE).

This always passes prune=true to the ArgoCD API. Resources present in the
cluster but absent from the desired Git state will be DELETED on a live run.

- dry_run=true (default): preview which resources would be pruned; no confirmation needed.
- dry_run=false: requires confirm=true AND confirm_name matching the application name.

Requires MCP_READ_ONLY=false and MCP_DISABLE_DESTRUCTIVE=false.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_instances_resourceGet information about configured ArgoCD instances.
get_security_resourceGet current security settings.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peopleforrester/mcp-k8s-observability-argocd-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server