argocd-mcp
OfficialArgo CD MCP サーバー
Argo CD向けのModel Context Protocol (MCP)サーバーの実装。AI アシスタントが自然言語を介して Argo CD アプリケーションと対話できるようになります。このサーバーは、stdio と Server-Sent Events (SSE) の両方のトランスポートプロトコルを介して、Visual Studio Code や他の MCP クライアントとのシームレスな統合を可能にします。
このプロジェクトは、Argo Project の作成者であるAkuityによって管理されています。
AkuityはArgoとKargoのエンタープライズ企業であり、Kubernetes向けのエンドツーエンドのGitOpsに不可欠なプラットフォームを提供しています。Akuityプラットフォームを利用することで、企業はマネージドArgo CDによるデプロイ、Kargoによるシームレスなプロモーション、そしてAkuity Monitoringによるインフラのリアルタイム可視化を実現できます。Akuityは、Argoの開発者であるHong Wang、Jesse Suen、Alexander Matyushentsevによって設立され、プラットフォームチームとアプリケーションチームの両方に、エンタープライズ規模のGitOpsに最適なツールを提供することを使命としています。
特徴
トランスポートプロトコル: stdio と SSE トランスポートモードの両方をサポートし、さまざまなクライアントとの柔軟な統合を実現します。
完全なArgo CD API統合: Argo CDのリソースと操作への包括的なアクセスを提供します
AIアシスタント対応:AIアシスタントが自然言語でArgo CDと対話するための事前構成済みツール
Related MCP server: OpsLevel MCP
インストール
前提条件
Node.js(v18以上を推奨)
pnpm パッケージ マネージャー (開発用)
APIアクセスを備えたArgo CDインスタンス
Argo CD APIトークン(手順についてはドキュメントを参照してください)
カーソルとの使用
MCP サポートについてはカーソルのドキュメントに従って、プロジェクトに
.cursor/mcp.jsonファイルを作成します。
{
"mcpServers": {
"argocd-mcp": {
"command": "npx",
"args": [
"argocd-mcp@latest",
"stdio"
],
"env": {
"ARGOCD_BASE_URL": "<argocd_url>",
"ARGOCD_API_TOKEN": "<argocd_token>"
}
}
}
}MCP を使用するには、エージェント モードで会話を開始します。
VSCodeでの使用
VS Code ドキュメントの「MCP サーバーの使用」に従って、プロジェクトに
.vscode/mcp.jsonファイルを作成します。
{
"servers": {
"argocd-mcp-stdio": {
"type": "stdio",
"command": "npx",
"args": [
"argocd-mcp@latest",
"stdio"
],
"env": {
"ARGOCD_BASE_URL": "<argocd_url>",
"ARGOCD_API_TOKEN": "<argocd_token>"
}
}
}
}MCP をサポートする VS Code で AI アシスタントとの会話を開始します。
Claude Desktopでの使用
Claude Desktop ドキュメントの MCPに従って、
claude_desktop_config.json構成ファイルを作成します。
{
"mcpServers": {
"argocd-mcp": {
"command": "npx",
"args": [
"argocd-mcp@latest",
"stdio"
],
"env": {
"ARGOCD_BASE_URL": "<argocd_url>",
"ARGOCD_API_TOKEN": "<argocd_token>"
}
}
}
}設定でこの構成ファイルを使用するように Claude Desktop を構成します。
利用可能なツール
サーバーは次の ArgoCD 管理ツールを提供します。
アプリケーション管理
list_applications: すべてのアプリケーションを一覧表示してフィルタリングするget_application: 特定のアプリケーションに関する詳細情報を取得するcreate_application: 新しいアプリケーションを作成するupdate_application: 既存のアプリケーションを更新するdelete_application: アプリケーションを削除するsync_application: アプリケーションで同期操作をトリガーする
リソース管理
get_application_resource_tree: 特定のアプリケーションのリソースツリーを取得するget_application_managed_resources: 特定のアプリケーションの管理対象リソースを取得するget_application_workload_logs: アプリケーション ワークロード (Pod、デプロイメントなど) のログを取得します。get_resource_events: アプリケーションによって管理されるリソースのイベントを取得するget_resource_actions: リソースに対して利用可能なアクションを取得するrun_resource_action: リソースに対してアクションを実行する
開発のために
リポジトリをクローンします。
git clone https://github.com/akuity/argocd-mcp.git
cd argocd-mcpプロジェクトの依存関係をインストールします。
pnpm installホット リロードを有効にして開発サーバーを起動します。
# For HTTP mode with hot reloading
pnpm run dev
# For SSE mode with hot reloading
pnpm run dev-sseサーバーが実行されると、Visual Studio Code またはその他の MCP クライアント内で MCP サーバーを利用できるようになります。
ArgoCDタイプのアップグレード
最新の Argo CD API 仕様に基づいて TypeScript 型定義を更新するには:
ArgoCD リリース ページから
swagger.jsonファイルをダウンロードします。たとえば、ArgoCD v2.14.11 のswagger.json リンクは次のとおりです。ダウンロードした
swagger.jsonファイルをargocd-mcpプロジェクトのルート ディレクトリに配置します。次のコマンドを実行して、Swagger定義からTypeScript型を生成します。これにより
src/types/argocd.d.tsファイルが作成または上書きされます。pnpm run generate-typessrc/types/argocd-types.tsファイルを更新し、新しく生成されたsrc/types/argocd.d.tsから必要な型をエクスポートします。この手順では、必要な型のみが確実に公開されるように、手動での確認が必要になることがよくあります。
Available Tools
14 toolscreate_applicationC
create_application creates a new ArgoCD application in the specified namespace. The application.metadata.namespace field determines where the Application resource will be created (e.g., "argocd", "argocd-apps", or any custom namespace).
Inputs: application (required).
delete_applicationC
delete_application deletes application. Specify applicationNamespace if the application is in a non-default namespace to avoid permission errors.
Inputs: applicationName (required), applicationNamespace, cascade, propagationPolicy.
get_applicationB
get_application returns application by application name. Optionally specify the application namespace to get applications from non-default namespaces.
Inputs: applicationName (required), applicationNamespace.
get_application_eventsC
get_application_events returns events for application by application name
Inputs: applicationName (required).
get_application_managed_resourcesA
get_application_managed_resources returns managed resources for application by application name with optional filtering. Use filters to avoid token limits with large applications. Examples: kind="ConfigMap" for config maps only, namespace="production" for specific namespace, or combine multiple filters.
Inputs: applicationName (required), kind, namespace, name, +4 more.
get_application_resource_treeC
get_application_resource_tree returns resource tree for application by application name
Inputs: applicationName (required).
get_application_workload_logsC
get_application_workload_logs returns logs for application workload (Deployment, StatefulSet, Pod, etc.) by application name and resource ref and optionally container name
Inputs: applicationName (required), applicationNamespace (required), resourceRef (required), container (required).
get_resource_actionsC
get_resource_actions returns actions for a resource that is managed by an application
Inputs: applicationName (required), applicationNamespace (required), resourceRef (required).
get_resource_eventsC
get_resource_events returns events for a resource that is managed by an application
Inputs: applicationName (required), applicationNamespace (required), resourceUID (required), resourceNamespace (required), +1 more.
get_resourcesA
get_resources return manifests for resources specified by resourceRefs. If resourceRefs is empty or not provided, fetches all resources managed by the application.
Inputs: applicationName (required), applicationNamespace (required), resourceRefs.
list_applicationsC
list_applications returns list of applications
Inputs: search, limit, offset.
run_resource_actionC
run_resource_action runs an action on a resource
Inputs: applicationName (required), applicationNamespace (required), resourceRef (required), action (required).
sync_applicationC
sync_application syncs application. Specify applicationNamespace if the application is in a non-default namespace to avoid permission errors.
Inputs: applicationName (required), applicationNamespace, dryRun, prune, +2 more.
update_applicationD
update_application updates application
Inputs: applicationName (required), application (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a distinct aspect of ArgoCD application management. While get_application_events and get_resource_events could be confused, descriptions clarify their scope. Overall, purposes are clearly separated.
All tools use consistent snake_case with verb_noun pattern (e.g., create_application, get_application_events). The naming is predictable and follows a clear convention.
14 tools is well-scoped for an ArgoCD MCP server, covering CRUD operations, synchronization, logs, events, and resource management without being excessive.
The tool set covers core application lifecycle (CRUD, sync, logs, events) and resource management. Minor gaps like rollback or version history are missing, but the surface is largely complete for common tasks.
Maintenance
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Read-only MCP server for repository context: context packs, graph impact analysis, and validation.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for the GitCore API, enabling AI agents to interact with GitCore repositories, issues, pull requests, and more.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP (Model Context Protocol) server that integrates with the ArgoCD API, enabling AI assistants and large language models to manage ArgoCD applications and resources through natural language interactions.1012MIT

OpsLevel MCPofficial
AlicenseNot gradedqualityFmaintenanceModel Context Protocol (MCP) server for OpsLevel12MIT- AlicenseBqualityCmaintenanceModel Context Protocol (MCP) server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps.1012Apache 2.0
- AlicenseBqualityCmaintenanceMCP server for Argo CD that provides multi-environment profiles, SSO or API key authentication, application search with cache, and REST API tools from the bundled OpenAPI catalog.26MIT