Is the Argo CD MCP server safe? What it can reach
What the Argo CD MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
This Argo CD server is a community project from the argoproj-labs organization. It runs locally over stdio (or an HTTP listener you host) and signs in to your Argo CD with an API token. It can create, update, delete and sync applications and run resource actions, which deploys to clusters. Set MCP_READ_ONLY to true to turn those tools off.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| argoproj-labs/mcp-for-argocd (community, argoproj-labs) | Community | active |
It runs as a local process on your machine.
How it signs in
An Argo CD API token in ARGOCD_API_TOKEN, plus the instance address in ARGOCD_BASE_URL. The server acts with whatever that token’s Argo CD account can do. The README documents no scopes of its own.
What its tools can do
| Kind | Tools |
|---|---|
| Read | list_clusters, get_appproject, list_applications, get_application, get_application_events, get_application_resource_tree, get_application_managed_resources, get_resources, get_application_workload_logs, get_resource_events, get_resource_actions |
| Write | create_application, update_application |
| Can’t be undone | delete_application, sync_application, run_resource_action |
With MCP_READ_ONLY set to true, the README says create_application, update_application, delete_application, sync_application and run_resource_action are disabled. Every tool also accepts an optional argocdBaseUrl argument.
Built-in limits
| Option | What it does |
|---|---|
MCP_READ_ONLY | Set to true to disable the five tools that create, update, delete or sync applications or run resource actions. |
MCP_AUTH_TOKEN | On the http and sse transports, requires an Authorization bearer header on every inbound request. |
MCP_BIND_ADDRESS | The HTTP listener binds to 127.0.0.1 by default. Widening it requires MCP_AUTH_TOKEN or --allow-unauthenticated. |
ARGOCD_TOKEN_REGISTRY_PATH | Pairs each Argo CD address with its own token, so the default token is never sent to another host. |
The risks
- An injected instruction can call delete_application or sync_application, which removes or deploys workloads in the clusters Argo CD manages, using the token’s rights.
- create_application and update_application can point an application at any repository and cluster the token allows, which is a way to ship attacker-chosen manifests.
- get_application_workload_logs and get_resources return pod logs and manifests, which can hold secrets or internal addresses that then reach the model.
- The HTTP transport reaches every tool, and ARGOCD_API_TOKEN does not protect the listener, so a widened bind without MCP_AUTH_TOKEN exposes it to the network.
- The README says NODE_TLS_REJECT_UNAUTHORIZED=0 turns off certificate checks for self-signed setups, which exposes the token to interception.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --env ARGOCD_BASE_URL=... --env ARGOCD_API_TOKEN=... argocd -- npx argocd-mcp@latest stdioClaude Code names MCP tools mcp__argocd__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__argocd__delete_application"
],
"ask": [
"mcp__argocd__create_application",
"mcp__argocd__update_application",
"mcp__argocd__sync_application",
"mcp__argocd__run_resource_action"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.argocd]
command = "npx"
args = ["argocd-mcp@latest", "stdio"]
env_vars = ["ARGOCD_BASE_URL", "ARGOCD_API_TOKEN"]
disabled_tools = ["delete_application"]Checklist
- Set MCP_READ_ONLY to true unless you need the agent to change applications.
- Create an Argo CD account and token limited to the projects the agent needs.
- Keep the HTTP transport on loopback, or set MCP_AUTH_TOKEN before widening it.
- Do not set NODE_TLS_REJECT_UNAUTHORIZED outside development.
Checked against the vendor documentation on November 25, 2026. argoproj-labs/mcp-for-argocd README · Argo CD API authorization docs
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing