argocd_set_api_key
Set an Argo CD API key (Bearer token) in memory for the current MCP session. Use a token generated from the Argo CD UI or CLI.
Instructions
Set an Argo CD API key (Bearer token) in memory for the current MCP session. Use when you have a token from the Argo CD UI (User Settings → API tokens) or argocd account generate-token. Env vars (ARGOCD_API_KEY) take precedence on server restart.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"apiKey": "<apiKey>"
},
"name": "argocd_set_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | Argo CD API token / JWT (Bearer) | |
| profile | No | Environment profile. Available: default. Default: default |