- MCP server boots over STDIO, registers tool schemas, and uses
ArgoWorkflowsHttpClient. list_workflows,get_workflow, andget_workflow_logsexecute against the live Argo API.
- Extend
ArgoWorkflowsClientand generated HTTP client for CronWorkflow list/get/history APIs. - Replace
CronWorkflowOperationsmocks with reallist,get, andgetCronHistoryimplementations. - Extend the client for WorkflowTemplate and ClusterWorkflowTemplate endpoints.
- Replace
TemplateOperationsmocks with real list/get implementations for both scopes. - Implement
watch_workflowstreaming using the controller watch API and expose it as a tool. - Add cluster insights: implement
list_namespaces,get_cluster_info, andhealth_checktools. - Write unit tests for all read-only operations (workflow, cron, template, cluster) including error paths.
- Build confirmation token generation, persistence with expiry, and validation utilities.
- Populate dry-run previews with live Argo details (pods, statuses, timestamps, impact summary).
- Enforce namespace allow/deny rules and permission flags before any destructive action.
- Implement real
terminate_workflowusing the Argo terminate endpoint with confirmation enforcement. - Implement real
retry_workflow, honoringrestartSuccessful. - Implement real
toggle_cron_suspensionthat patches CronWorkflow suspension state. - Write audit log entries to
logging.auditFilefor every destructive or mutation action. - Add unit tests covering happy paths, invalid/expired tokens, permission denials, and audit failures.
- Implement
submit_workflowsupporting manifest upload and template reference execution with confirmation. - Implement
delete_workflowwith confirmation, audit logging, and namespace protections. - Implement
update_cron_scheduleusing confirmation tokens and validation of the new schedule. - Implement
create_template(namespaced and cluster) with dry-run previews and audit logging. - Integrate MCP prompt-based confirmation as an optional path alongside tokens.
- Document required environment variables for auth/TLS and destructive-operation configuration.
- Add targeted integration-style tests validating mutation flows against a simulated Argo API.
- Implement
analyze_failurethat inspects failed nodes/logs and surfaces AI-generated guidance. - Implement
compare_workflowsto diff workflow executions and highlight key differences. - Implement
get_workflow_metricsexposing resource usage and timing from the Argo API or metrics backend. - Enhance
watch_workflowwith optional notification hooks or streaming summaries. - Backfill scenario tests ensuring diagnostic tools handle large workflows and error conditions gracefully.