1. Conduid
  2. Developer Tools
  3. For Argocd
MCP server · Developer Tools

For Argocd

An implementation of Model Context Protocol (MCP) server for Argo CD.

82Excellent

Scored 3 hours ago · breakdown

About For Argocd

For Argocd is an MCP server published by argoproj-labs in the Developer Tools category: an implementation of Model Context Protocol (MCP) server for Argo CD. It has been installed 0 times through Conduid.

The repository has 335 stars and 58 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx mcp-for-argocd

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about For Argocd

Powered by Claude · Grounded in docs

I know everything about For Argocd. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.9.0v0.9.0 · 11 Aug 2026Upgrading to v0.9.0 ⚠️ Security fix — [GHSA-rp45-5x3v-48mr](https://github.com/argoproj-labs/mcp-for-argocd/security/advisories/GHSA-rp45-5x3v-48mr).** Upgrade as soon as possible if you run the `http` or `sse` transport. Update the npm…
v0.8.0v0.8.0 · 11 Jun 2026What's Changed feat: Run the container as non root for security reasons by @martivo in https://github.com/argoproj-labs/mcp-for-argocd/pull/101 feat: add per-call base URL override; keep ArgoCD token in transport layer by @leoluz in…
v0.7.0v0.7.0 · 2 May 2026What's Changed feat: add stateless mode for argocd mcp by @pjiang-dev in https://github.com/argoproj-labs/mcp-for-argocd/pull/109 feat: add healthz endpoint in http mode by @KyriosGN0 in…
v0.6.0v0.6.0 · 25 Mar 2026What's Changed chore: push images to quay.io by @pjiang-dev in https://github.com/argoproj-labs/mcp-for-argocd/pull/79 feat: add applicationNamespace parameter to get_application_events and get_application_resource_tree tools by @suryaval…
v0.5.0v0.5.0 · 30 Oct 2025What's Changed chore: on release publish image with tag by @alexmt in https://github.com/argoproj-labs/mcp-for-argocd/pull/67 fix: Use pnpm for release pipeline steps by @kchygoe in https://github.com/argoproj-labs/mcp-for-argocd/pull/70…

README

Argo CD MCP Server

An implementation of Model Context Protocol (MCP) server for Argo CD, enabling AI assistants to interact with your Argo CD applications through natural language. This server allows for seamless integration with Visual Studio Code and other MCP clients through stdio and HTTP stream transport protocols.


argocd-mcp-demo

Features

  • Transport Protocols: Supports both stdio and HTTP stream transport modes for flexible integration with different clients
  • Complete Argo CD API Integration: Provides comprehensive access to Argo CD resources and operations
  • AI Assistant Ready: Pre-configured tools for AI assistants to interact with Argo CD in natural language

Available Tools

The server provides the following ArgoCD management tools:

Cluster Management

  • list_clusters: List all clusters registered with ArgoCD

Application Management

  • list_applications: List and filter all applications
  • get_application: Get detailed information about a specific application
  • create_application: Create a new application
  • update_application: Update an existing application
  • delete_application: Delete an application
  • sync_application: Trigger a sync operation on an application

Resource Management

  • get_application_resource_tree: Get the resource tree for a specific application
  • get_application_managed_resources: Get managed resources for a specific application
  • get_application_workload_logs: Get logs for application workloads (Pods, Deployments, etc.)
  • get_resource_events: Get events for resources managed by an application
  • get_resource_actions: Get available actions for resources
  • run_resource_action: Run an action on a resource

Installation

Prerequisites

  • Node.js (v18 or higher recommended)
  • pnpm package manager (for development)
  • Argo CD instance with API access
  • Argo CD API token (see the docs for instructions)

Usage with Cursor

  1. Follow the Cursor documentation for MCP support, and create a .cursor/mcp.json file in your project:
{
  "mcpServers": {
    "argocd-mcp": {
      "command": "npx",
      "args": [
        "argocd-mcp@latest",
        "stdio"
      ],
      "env": {
        "ARGOCD_BASE_URL": "<argocd_url>",
        "ARGOCD_API_TOKEN": "<argocd_token>"
      }
    }
  }
}
  1. Start a conversation with Agent mode to use the MCP.

Usage with VSCode

  1. Follow the Use MCP servers in VS Code documentation, and create a .vscode/mcp.json file in your project:
{
  "servers": {
    "argocd-mcp-stdio": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "argocd-mcp@latest",
        "stdio"
      ],
      "env": {
        "ARGOCD_BASE_URL": "<argocd_url>",
        "ARGOCD_API_TOKEN": "<argocd_token>"
      }
    }
  }
}
  1. Start a conversation with an AI assistant in VS Code that supports MCP.

Usage with Claude Desktop

  1. Follow the MCP in Claude Desktop documentation, and create a claude_desktop_config.json configuration file:
{
  "mcpServers": {
    "argocd-mcp": {
      "command": "npx",
      "args": [
        "argocd-mcp@latest",
        "stdio"
      ],
      "env": {
        "ARGOCD_BASE_URL": "<argocd_url>",
        "ARGOCD_API_TOKEN": "<argocd_token>"
      }
    }
  }
}
  1. Configure Claude Desktop to use this configuration file in settings.

Self-signed Certificates

If your Argo CD instance uses self-signed certificates or certificates from a private Certificate Authority (CA), you may need to add the following environment variable to your configuration:

"NODE_TLS_REJECT_UNAUTHORIZED": "0"

This disables TLS certificate validation for Node.js when connecting to Argo CD instances using self-signed certificates or certificates from private CAs that aren't trusted by your system's certificate store.

Warning: Disabling SSL verification reduces security. Use this setting only in development environments or when you understand the security implications.

Read Only Mode

If you want to run the MCP Server in a ReadOnly mode to avoid resource or application modification, you should set the environment variable:

"MCP_READ_ONLY": "true"

This will disable the following tools:

  • create_application
  • update_application
  • delete_application
  • sync_application
  • run_resource_action

By default, all the tools will be available.

Stateless Mode

By default, the HTTP transport assigns a session ID to each client connection and keeps an in-memory map of active sessions. This works well for single-instance deployments but causes 400 errors when multiple replicas are running without sticky sessions, because a request routed to a different pod will not find the session that was created on the original pod.

To run without session affinity requirements, start the server with the --stateless flag:

node dist/index.js http --stateless

Or with Docker:

docker run -e ARGOCD_BASE_URL=<argocd_url> -e ARGOCD_API_TOKEN=<argocd_token> \
  argoprojlabs/mcp-for-argocd http --stateless

In stateless mode:

  • No Mcp-Session-Id is returned or required — any replica can handle any request
  • ArgoCD credentials must be supplied on every request via environment variables or x-argocd-base-url / x-argocd-api-token headers
  • GET /mcp and DELETE /mcp return 405 Method Not Allowed (session-level SSE and termination are not supported)

This mode is recommended for Kubernetes deployments with Horizontal Pod Autoscaling (HPA) where network-level sticky sessions are not available.

For Development

  1. Clone the repository:
git clone https://github.com/argoproj-labs/mcp-for-argocd.git
cd mcp-for-argocd
  1. Install project dependencies:
pnpm install
  1. Start the development server with hot reloading enabled:
pnpm run dev

Once the server is running, you can utilize the MCP server within Visual Studio Code or other MCP client.

Upgrading ArgoCD Types

To update the TypeScript type definitions based on the latest Argo CD API specification:

  1. Download the swagger.json file from the ArgoCD release page, for example here is the swagger.json link for ArgoCD v2.14.11.

  2. Place the downloaded swagger.json file in the root directory of the argocd-mcp project.

  3. Generate the TypeScript types from the Swagger definition by running the following command. This will create or overwrite the src/types/argocd.d.ts file:

    pnpm run generate-types
    
  4. Update the src/types/argocd-types.ts file to export the required types from the newly generated src/types/argocd.d.ts. This step often requires manual review to ensure only necessary types are exposed.

Credits

The project was initially created and donated by @jiachengxu, @imwithye, @hwwn, and @alexmt from Akuity.

README mirrored from the source repository 3 hours ago. The original is authoritative.

Questions

About For Argocd

How do I install For Argocd?

Run npx mcp-for-argocd, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is For Argocd safe to use with an AI agent?

Its trust score is 82 out of 100 (excellent). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is For Argocd still maintained?

Yes — the latest release is v0.9.0 (11 Aug 2026), and the last commit was 9 months ago. The repository has 335 stars and 0 open issues.