npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

argocd-mcp-server

v0.1.0

Published

MCP server for Argo CD — GitOps continuous delivery for Kubernetes

Downloads

155

Readme

ArgoCD MCP Server

Standalone MCP server for Argo CD — GitOps continuous delivery for Kubernetes.

Installation

npm install -g argocd-mcp-server

Or run directly:

npx argocd-mcp-server

Configuration

| Variable | Required | Description | Default | |----------|----------|-------------|---------| | ARGOCD_MCP_URL | Yes | Argo CD server URL | — | | ARGOCD_MCP_TOKEN | Yes | API bearer token | — | | ARGOCD_MCP_INSECURE | No | Skip TLS verification | false | | ARGOCD_MCP_TIMEOUT_MS | No | API request timeout (ms) | 30000 | | ARGOCD_MCP_MAX_LOG_LINES | No | Max pod log lines | 500 | | ARGOCD_MCP_ALLOWED_PROJECTS | No | Comma-separated project allow-list | all |

Client Configurations

VS Code (mcp.json)

{
  "servers": {
    "argocd": {
      "type": "stdio",
      "command": "npx",
      "args": ["argocd-mcp-server"],
      "env": {
        "ARGOCD_MCP_URL": "https://argocd.example.com",
        "ARGOCD_MCP_TOKEN": "your-token"
      }
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "argocd": {
      "command": "npx",
      "args": ["argocd-mcp-server"],
      "env": {
        "ARGOCD_MCP_URL": "https://argocd.example.com",
        "ARGOCD_MCP_TOKEN": "your-token"
      }
    }
  }
}

Cursor

{
  "mcpServers": {
    "argocd": {
      "command": "npx",
      "args": ["argocd-mcp-server"],
      "env": {
        "ARGOCD_MCP_URL": "https://argocd.example.com",
        "ARGOCD_MCP_TOKEN": "your-token"
      }
    }
  }
}

Tools Reference

Application Management

| Tool | Description | |------|-------------| | argocd_list_applications | List all apps with sync status, health, project, namespace | | argocd_get_application | Get detailed app info including resources and conditions | | argocd_create_application | Create a new application with repo, path, sync policy | | argocd_delete_application | Delete an application (with optional cascade) |

Sync & Refresh

| Tool | Description | |------|-------------| | argocd_sync_application | Trigger sync with optional prune, dry-run, selective resources | | argocd_refresh_application | Refresh app state (normal or hard/cache-bust) | | argocd_get_app_diff | View live vs desired manifest diff |

Rollback

| Tool | Description | |------|-------------| | argocd_list_revisions | List deployment revision history | | argocd_rollback_application | Rollback to a specific revision ID |

Projects & Repositories

| Tool | Description | |------|-------------| | argocd_list_projects | List all AppProjects | | argocd_get_project | Get project details (repos, destinations, roles) | | argocd_list_repositories | List configured Git/Helm repositories |

Resources & Events

| Tool | Description | |------|-------------| | argocd_get_resource_tree | Get full resource tree (deployments, pods, services) | | argocd_get_resource | Get specific resource manifest | | argocd_get_pod_logs | Retrieve pod logs with container/time filters | | argocd_list_events | List Kubernetes events for an app |

Security

  • Bearer tokens loaded from environment only — never logged or returned
  • Project-level access control via ARGOCD_MCP_ALLOWED_PROJECTS
  • HTTPS required by default; ARGOCD_MCP_INSECURE for self-signed certs
  • All inputs validated via Zod schemas
  • SSRF protection on API requests

Compatibility

  • Node.js >= 18
  • Argo CD API v1 (tested with Argo CD 2.8+)
  • MCP SDK 1.12+

License

MIT