AL

argoproj-labs/mcp-for-argocd

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

601 stars 116 forks 质量 91 趋势 36Apache-2.0

Argo CD模型上下文协议(MCP)服务器的实现。

概览

Argo CD 模型上下文协议(MCP)服务器的实现,使 AI 助手能够通过自然语言与您的 Argo CD 应用交互。该服务器通过 stdio 和 HTTP 流传输协议,实现与 Visual Studio Code 及其他 MCP 客户端的无缝集成。 - : 支持标准和HTTP流传输模式,灵活集成不同客户端- : 提供对Argo CD资源和操作的全面访问- : 预配置工具,供AI助手自然语言交互Argo CD 该服务器提供以下 ArgoCD 管理工具: - list_clusters:列出所有注册于ArgoCD的集群 - get_appproject:获取特定AppProject(项目)的详细信息 - list_applications:列出并筛选所有应用程序 - get_application:获取特定应用程序的详细信息 - create_application:创建新应用程序 - update_application:更新现有应用程序-...

概述(AI 翻译)

Argo CD 模型上下文协议(MCP)服务器的实现,使 AI 助手能够通过自然语言与您的 Argo CD 应用交互。该服务器通过 stdio 和 HTTP 流传输协议,实现与 Visual Studio Code 及其他 MCP 客户端的无缝集成。

", “ARGOCD_API_TOKEN”: ” } }); cont urlForWebsites = vscode:mcp/install?${encodeURIComponent(config)}; GitHub markdown 不允许直接链接到 vscode:,所以你可以使用我们的重定向: const urlForGithub = https://insiders.vscode.dev/redirect?url=${encodeURIComponent(urlForWebsites)}; –>


特色

  • 传输协议:支持stdio和HTTP流传输模式,实现与不同客户端的灵活集成
  • 完整的Argo CD API集成:提供对Argo CD资源和操作的全面访问
  • AI 助手准备版:预配置工具,供 AI 助手以自然语言与 Argo CD 交互

可用工具

该服务器提供以下 ArgoCD 管理工具:

集群管理

  • list_clusters:列出所有注册在ArgoCD的集群

项目管理

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Argo CD MCP Server

An implementation of Model Context Protocol (MCP) server for Argo CD, enabling AI assistants to interact with your Argo CD applications through natural language. This server allows for seamless integration with Visual Studio Code and other MCP clients through stdio and HTTP stream transport protocols.


Features

  • Transport Protocols: Supports both stdio and HTTP stream transport modes for flexible integration with different clients
  • Complete Argo CD API Integration: Provides comprehensive access to Argo CD resources and operations
  • AI Assistant Ready: Pre-configured tools for AI assistants to interact with Argo CD in natural language

Available Tools

The server provides the following ArgoCD management tools:

Cluster Management

  • list_clusters: List all clusters registered with ArgoCD

Project Management

  • get_appproject: Get detailed information about a specific AppProject (project)

Application Management

在 GitHub 查看完整 README

安装

npx argocd-mcp@latest stdio
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "argocd-mcp": { "command": "npx", "args": [ "argocd-mcp@latest", "stdio" ], "env": { "ARGOCD_BASE_URL": "<argocd_url>", "ARGOCD_API_TOKEN": "<argocd_token>" } } } }