Hatchyard

Platform tool

ArgoCD

by Hatch Work · v3.1.0 · Apache-2.0

Deploys your applications to the cluster from Git: ArgoCD keeps what runs equal to what the repository says, every deploy is blue/green, and the gateway lets an AI create, sync and watch applications.

What it installs

  • ArgoCD platform tool

    Installed once per stack in its own namespace and shared by every app.

What it can access

Worked out from the manifest, not taken from the publisher's word.

  • NetworkInternet-facing over HTTPS at argocd.<your domain>, behind its own sign-in.
  • Your credentialsNone. It asks for no keys or passwords of yours.
  • Secrets it makeskeys from its setup job: api-token, ci-token. Kept in the gateway's secret store, never shown to your AI.
  • Sharesci-token, with the platform tools that need it. Each belongs to its own limited account.
  • ClusterNothing outside its own namespace.
  • NeedsGitea, Argo Rollouts, installed first.
  • BackupsIt keeps nothing that needs a backup.
  • AI tools11 tools, each listed with its inputs under Tools your AI gets. A key only reaches the ones its rights open.

Security

What runs, and how it is fenced in.

Not verified yet. It ships inside this Hatchyard release and passed the catalog's checks: a pinned chart, declared hosts, and tools that only reach their own secrets.

  • InstallsThe argo-cd Helm chart, version 8.3.0, pinned. From https://argoproj.github.io/argo-helm
  • Its own spaceIts own namespace, removed with it. Only the hosts above are published.

Setup

Automatic: Hatchyard does the first-run setup.

  • First runOnce its pods are ready, a setup job makes the limited accounts and keys the gateway uses (api-token, ci-token). They stay in the gateway's secret store; your AI never sees them.

Tools your AI gets

11 tools, 3 read, 8 write

Your AI reaches these through the stack's AI gateway, at one MCP address. Each key gets only the rights you tick on Connect your AI, and every call is logged.

ArgoCD · read

read needs argocd:read · 3 tools

argocd.app_listread

List the applications ArgoCD manages with their sync and health state.

No inputs.

Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_list",
    "arguments": {}
  }
}

argocd.app_getread

One application in detail: where it deploys from, where to, and whether what runs matches the repository.

InputTypeRequiredDescription
namestringrequiredThe application name
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_get",
    "arguments": {
      "name": "<name>"
    }
  }
}

argocd.app_historyread

List an application's past deployments newest first with their ids, revisions and dates, and whether auto-sync is on.

InputTypeRequiredDescription
namestringrequiredThe application name
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_history",
    "arguments": {
      "name": "<name>"
    }
  }
}

ArgoCD · deploy

write needs argocd:deploy · 7 tools

argocd.app_createwrite

Create an application that deploys a Git repository's manifests (plain YAML or kustomize) into a namespace, in a project whose destinations already allow that namespace (never the default project), with automatic sync on and pruning off.

InputTypeRequiredDescription
namestringrequiredA short name, lower-case letters, digits and dashes
namespacestringrequiredThe namespace to deploy into; the project must allow it
pathstringrequiredThe folder inside the repository, for example deploy
projectstringrequiredThe ArgoCD project that limits what the application may deploy. It must exist already, may not be the default project, and its destinations must already cover the namespace
repo_urlstringrequiredThe https Git URL of the repository with the manifests
revisionstringoptionalBranch or tag, default main
source_repostringoptionalThe Gitea repository whose pushes the Jenkins pipeline deploys to this application, as org/repo. The pipeline only updates an application marked with exactly its own repository and named <org>-<repo> (<org>-<repo>-<component> for a component), dots and underscores written as dashes. Leave it out for an application the pipeline must never touch.
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_create",
    "arguments": {
      "name": "<name>",
      "namespace": "<namespace>",
      "path": "<path>",
      "project": "<project>",
      "repo_url": "<repo_url>",
      "revision": "<revision>",
      "source_repo": "<source_repo>"
    }
  }
}

argocd.app_syncwrite

Tell ArgoCD to apply the repository's current state to the cluster now.

InputTypeRequiredDescription
namestringrequiredThe application name
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_sync",
    "arguments": {
      "name": "<name>"
    }
  }
}

argocd.deploy_and_waitwrite

Sync an application that exists and wait until it is healthy, up to timeout_seconds (default 50, at most 600); if the state is in progress, call it again with the same arguments. It never creates an application: make one first with app_create.

InputTypeRequiredDescription
namestringrequiredThe application name
timeout_secondsintegeroptionalSeconds to wait in this call, default 50, at most 600
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.deploy_and_wait",
    "arguments": {
      "name": "<name>",
      "timeout_seconds": 1
    }
  }
}

argocd.app_rollbackwrite

Redeploy an earlier deployment by its id from app_history; this switches auto-sync off for the application, which the result says. For an application with a blue/green Rollout this is the switch back; within 10 minutes of a switch the old version is still running and takes traffic again at once.

InputTypeRequiredDescription
idintegerrequiredThe deployment id from app_history
namestringrequiredThe application name
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_rollback",
    "arguments": {
      "id": 1,
      "name": "<name>"
    }
  }
}

argocd.app_autosyncwrite

Turn an application's automatic sync on or off; with it on, ArgoCD applies every new commit by itself.

InputTypeRequiredDescription
enabledbooleanrequiredtrue to turn auto-sync on, false to turn it off
namestringrequiredThe application name
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_autosync",
    "arguments": {
      "enabled": false,
      "name": "<name>"
    }
  }
}

argocd.app_promotewrite

Promote now: for an application that uses a blue/green Rollout, switch traffic to the new version without waiting for its automatic promotion (ArgoCD's promote-full action on the Rollout).

InputTypeRequiredDescription
namestringrequiredThe application name
rolloutstringoptionalThe Rollout's name, only needed when the application has more than one
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_promote",
    "arguments": {
      "name": "<name>",
      "rollout": "<rollout>"
    }
  }
}

argocd.app_abortwrite

Abort a rollout that is in progress: traffic stays on the version that was live and the new version is scaled down. It does nothing once the new version is live; use app_history and app_rollback to go back after that.

InputTypeRequiredDescription
namestringrequiredThe application name
rolloutstringoptionalThe Rollout's name, only needed when the application has more than one
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_abort",
    "arguments": {
      "name": "<name>",
      "rollout": "<rollout>"
    }
  }
}

ArgoCD · admin

write needs argocd:admin · 1 tools

argocd.app_deletewrite

Remove an application from ArgoCD. What it deployed stays in the cluster unless cascade is asked for; with cascade, the application is gone only once what it ran has stopped.

InputTypeRequiredDescription
namestringrequiredThe application name
cascadebooleanoptionalAlso delete what it deployed (default false)
Example call
{
  "method": "tools/call",
  "params": {
    "name": "argocd.app_delete",
    "arguments": {
      "name": "<name>",
      "cascade": false
    }
  }
}