argocd-list-apps
List ArgoCD applications to monitor deployments and manage Kubernetes resources through the Kubernetes MCP Server.
Instructions
List ArgoCD applications
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | The namespace to list apps from (optional, defaults to argocd namespace) |
Implementation Reference
- server.js:2164-2171 (handler)Handler implementation for the 'argocd-list-apps' tool. Executes 'kubectl get applications' in the specified namespace (default: argocd) to list ArgoCD applications.case "argocd-list-apps": { const { namespace = "argocd" } = args || {}; const cmd = `kubectl get applications -n ${namespace} -o wide`; const { stdout } = await execAsync(cmd); return { content: [{ type: "text", text: stdout || "No ArgoCD applications found" }] }; }
- server.js:1255-1267 (registration)Tool registration definition for 'argocd-list-apps', including name, description, and input schema. This object is part of the 'tools' array returned by ListToolsRequestHandler.name: "argocd-list-apps", description: "List ArgoCD applications", inputSchema: { type: "object", properties: { namespace: { type: "string", description: "The namespace to list apps from (optional, defaults to argocd namespace)" } } } }, {
- server.js:1255-1267 (schema)Input schema definition for the 'argocd-list-apps' tool, defining optional 'namespace' parameter.name: "argocd-list-apps", description: "List ArgoCD applications", inputSchema: { type: "object", properties: { namespace: { type: "string", description: "The namespace to list apps from (optional, defaults to argocd namespace)" } } } }, {