Argo CD

v0.10.0
io.github.vish288/mcp-argocd Checked 9 hours ago Published 6 hours ago

Argo CD MCP server (MCP 2026-07-28): status, sync, rollback, drift, AppSets; writes or read-only

Values you need

VariableWhat it is
ARGOCD_TOKENrequired secret Argo CD bearer token (also accepts ARGOCD_AUTH_TOKEN or ARGOCD_API_TOKEN)
ARGOCD_URLrequired Argo CD base URL including any path prefix (e.g. https://argocd.example.com)
ARGOCD_READ_ONLYoptional Alias for MCP_READ_ONLY. Any value other than false/0/no/off/empty locks the server read-only; --read-only can only raise the lock
MCP_READ_ONLYoptional Locks the server read-only: write tools and write-workflow prompts are not listed and nothing lifts the lock at runtime. Shared name across the mcp-* servers; set it in the deployer's env
MCP_TOOLSETSoptional Comma list of tool groups to expose (apps, appsets, admin); unset or 'all' lists every tool. Shrinks tools/list for clients with a tool budget; MCP_READ_ONLY still applies after the selection
ARGOCD_HTTP_BEARER_TOKENoptional secret Bearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send it as 'Authorization: Bearer <token>'

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mcp-argocd -e 'ARGOCD_TOKEN=<ARGOCD_TOKEN>' -e 'ARGOCD_URL=<ARGOCD_URL>' -- uvx mcp-argocd==0.9.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-argocd": {
      "args": [
        "mcp-argocd==0.9.3"
      ],
      "command": "uvx",
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "ARGOCD_URL": "<ARGOCD_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-argocd": {
      "args": [
        "mcp-argocd==0.9.3"
      ],
      "command": "uvx",
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "ARGOCD_URL": "<ARGOCD_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ARGOCD_TOKEN",
      "id": "argocd-token",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ARGOCD_URL",
      "id": "argocd-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-argocd": {
      "args": [
        "mcp-argocd==0.9.3"
      ],
      "command": "uvx",
      "env": {
        "ARGOCD_TOKEN": "${input:argocd-token}",
        "ARGOCD_URL": "${input:argocd-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-argocd]
command = "uvx"
args = ["mcp-argocd==0.9.3"]
env = { "ARGOCD_TOKEN" = "<ARGOCD_TOKEN>", "ARGOCD_URL" = "<ARGOCD_URL>" }

Docker

Requires Docker

Run in a terminal
claude mcp add mcp-argocd -e 'ARGOCD_TOKEN=<ARGOCD_TOKEN>' -e 'ARGOCD_URL=<ARGOCD_URL>' -- docker run -i --rm -e ARGOCD_TOKEN -e ARGOCD_URL ghcr.io/vish288/mcp-argocd:0.9.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-argocd": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ARGOCD_TOKEN",
        "-e",
        "ARGOCD_URL",
        "ghcr.io/vish288/mcp-argocd:0.9.3"
      ],
      "command": "docker",
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "ARGOCD_URL": "<ARGOCD_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-argocd": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ARGOCD_TOKEN",
        "-e",
        "ARGOCD_URL",
        "ghcr.io/vish288/mcp-argocd:0.9.3"
      ],
      "command": "docker",
      "env": {
        "ARGOCD_TOKEN": "<ARGOCD_TOKEN>",
        "ARGOCD_URL": "<ARGOCD_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ARGOCD_TOKEN",
      "id": "argocd-token",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "ARGOCD_URL",
      "id": "argocd-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-argocd": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ARGOCD_TOKEN",
        "-e",
        "ARGOCD_URL",
        "ghcr.io/vish288/mcp-argocd:0.9.3"
      ],
      "command": "docker",
      "env": {
        "ARGOCD_TOKEN": "${input:argocd-token}",
        "ARGOCD_URL": "${input:argocd-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-argocd]
command = "docker"
args = ["run", "-i", "--rm", "-e", "ARGOCD_TOKEN", "-e", "ARGOCD_URL", "ghcr.io/vish288/mcp-argocd:0.9.3"]
env = { "ARGOCD_TOKEN" = "<ARGOCD_TOKEN>", "ARGOCD_URL" = "<ARGOCD_URL>" }

For AI agents

  1. Ask the user for: ARGOCD_TOKEN, ARGOCD_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: argocd_list_applications, argocd_get_application, argocd_get_resource_tree, argocd_get_managed_resources, argocd_get_resource, argocd_get_manifests, argocd_get_application_events, argocd_get_pod_logs, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json