argocd-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ARGOCD_TOKENYesArgoCD API token
ARGOCD_API_URLNoArgoCD API endpointhttps://argocd.example.com/api/v1
ARGOCD_VERIFY_SSLNoVerify SSL certificatestrue

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_user_info
Get the current user's info via session/userinfo This endpoint returns information about the currently logged-in user, including permissions and groups. Returns: User information from ArgoCD
get_settings
Get returns Argo CD settings using api/v1/settings This endpoint returns the ArgoCD server settings including configuration related to OIDC, Dex, UI customization, and plugins. Returns: ArgoCD server settings
get_plugins
Get returns Argo CD plugins using api/v1/settings/plugins This endpoint returns information about available plugins in ArgoCD. Returns: List of available plugins
get_version
Version returns version information of the API server using api/version This endpoint returns version details of the ArgoCD API server including Git commit, version, build date, compiler information, and more. Returns: Version information of the ArgoCD API server
list_applications
List applications in ArgoCD with filtering options Args: project: Filter applications by project name name: Filter applications by name repo: Filter applications by repository URL namespace: Filter applications by namespace refresh: Forces application reconciliation if set to 'hard' or 'normal' Returns: List of applications with pagination information
get_application_details
Get details for a specific application Args: name: The application name (required) project: The project name (optional filter) refresh: Forces application reconciliation if set to 'hard' or 'normal' namespace: Filter by application namespace Returns: Application details
create_application
Create a new application in ArgoCD Args: name: The name of the application (required) project: The project name (required) repo_url: The Git repository URL (required) path: Path within the repository (required) dest_server: Destination K8s API server URL (required) dest_namespace: Destination namespace (required) revision: Git revision (default: HEAD) automated_sync: Enable automated sync (default: False) prune: Auto-prune resources (default: False) self_heal: Enable self-healing (default: False) namespace: Application namespace validate: Whether to validate the application before creation upsert: Whether to update the application if it already exists Returns: The created application details
update_application
Update an existing application in ArgoCD Args: name: The application name to update (required) project: New project name (optional) repo_url: New Git repository URL (optional) path: New path within the repository (optional) dest_server: New destination K8s API server URL (optional) dest_namespace: New destination namespace (optional) revision: New Git revision (optional) automated_sync: Enable/disable automated sync (optional) prune: Enable/disable auto-pruning resources (optional) self_heal: Enable/disable self-healing (optional) validate: Whether to validate the application Returns: The updated application details
delete_application
Delete an application from ArgoCD Args: name: The name of the application to delete (required) cascade: Whether to delete application resources as well (default: True) propagation_policy: The propagation policy ("foreground", "background", or "orphan") namespace: The application namespace (optional) Returns: Success message or error details
sync_application
Sync an application in ArgoCD Args: name: The name of the application to sync (required) revision: Git revision to sync to (optional) prune: Whether to prune resources (default: False) dry_run: Whether to perform a dry run (default: False) strategy: Sync strategy ("apply" or "hook") resources: List of resources to sync (optional) namespace: The application namespace (optional) Returns: Sync result details
ID: 5262ouyla6