mcp-read-only-argocd

v0.4.1
mcp-read-only-argocd Checked 18 hours ago Published 2 months ago

MCP server for read-only access to Argo CD instances using browser session cookies

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

list_connections

List all available Argo CD connections with their configuration details. Returns: JSON string with connection details including name, url, and description.

get_version

Get Argo CD version information. Args: connection_name: Name of the Argo CD connection to check Returns: JSON string with version information.

ParameterTypeDescription
connection_name *string

get_settings

Get Argo CD settings. Args: connection_name: Name of the Argo CD connection Returns: JSON string with Argo CD settings.

ParameterTypeDescription
connection_name *string

list_applications

List all applications in Argo CD. Args: connection_name: Name of the Argo CD connection projects: Optional list of project names to filter by selector: Optional label selector to filter applications (e.g., "app=myapp") Returns: JSON string with list of applications.

ParameterTypeDescription
connection_name *string
projects
selector

get_application

Get detailed information about a specific application. Args: connection_name: Name of the Argo CD connection name: Application name Returns: JSON string with application details including sync status, health, and spec.

ParameterTypeDescription
connection_name *string
name *string

get_application_resource_tree

Get the Kubernetes resource tree for an application. Shows all resources created by the application and their relationships. Args: connection_name: Name of the Argo CD connection name: Application name Returns: JSON string with resource tree including nodes and their parent references.

ParameterTypeDescription
connection_name *string
name *string

get_application_managed_resources

Get managed resources for an application. Args: connection_name: Name of the Argo CD connection name: Application name group: Optional API group to filter (e.g., "apps", "networking.k8s.io") kind: Optional resource kind to filter (e.g., "Deployment", "Service") namespace: Optional namespace to filter resource_name: Optional resource name to filter Returns: JSON string with list of managed resources.

ParameterTypeDescription
connection_name *string
name *string
group
kind
namespace
resource_name

get_application_logs

Get logs for an application's pods. Args: connection_name: Name of the Argo CD connection name: Application name namespace: Optional namespace (defaults to application's namespace) pod_name: Optional specific pod name to get logs from container: Optional container name within the pod tail_lines: Number of lines from the end to return (e.g., 100) since_seconds: Return logs from the last N seconds Returns: JSON string with log entries.

ParameterTypeDescription
connection_name *string
name *string
container
namespace
pod_name
since_seconds
tail_lines

list_projects

List all projects in Argo CD. Projects define the scope of resources an application can deploy. Args: connection_name: Name of the Argo CD connection Returns: JSON string with list of projects.

ParameterTypeDescription
connection_name *string

get_project

Get detailed information about a specific project. Args: connection_name: Name of the Argo CD connection name: Project name Returns: JSON string with project details including source repos, destinations, and roles.

ParameterTypeDescription
connection_name *string
name *string

list_clusters

List all clusters registered in Argo CD. Args: connection_name: Name of the Argo CD connection Returns: JSON string with list of clusters including server URLs and connection status.

ParameterTypeDescription
connection_name *string

get_cluster

Get detailed information about a specific cluster. Args: connection_name: Name of the Argo CD connection server: Cluster server URL (e.g., "https://kubernetes.default.svc") Returns: JSON string with cluster details including connection info and namespaces.

ParameterTypeDescription
connection_name *string
server *string

list_repositories

List all repositories configured in Argo CD. Args: connection_name: Name of the Argo CD connection Returns: JSON string with list of repositories including URLs and connection status.

ParameterTypeDescription
connection_name *string

get_repository

Get detailed information about a specific repository. Args: connection_name: Name of the Argo CD connection repo: Repository URL (e.g., "https://github.com/org/repo") Returns: JSON string with repository details including connection status and type.

ParameterTypeDescription
connection_name *string
repo *string