mcp-for-argocd
Сообществоот argoproj-labs
An implementation of Model Context Protocol (MCP) server for Argo CD.
Установка
{Описание
# Argo CD MCP Server An implementation of [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for [Argo CD](https://argo-cd.readthedocs.io/en/stable/), 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. <a href="https://glama.ai/mcp/servers/@akuity/argocd-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@akuity/argocd-mcp/badge" alt="argocd-mcp MCP server" /> </a> <!-- // Generate using?: const config = JSON.stringify({ "name": "argocd-mcp", "command": "npx", "args": ["argocd-mcp@latest", "stdio"], "env": { "ARGOCD_BASE_URL": "<argocd_url>", "ARGOCD_API_TOKEN": "<argocd_token>" } }); const urlForWebsites = `vscode:mcp/install?${encodeURIComponent(config)}`; // Github markdown does not allow linking to `vscode:` directly, so you can use our redirect: const urlForGithub = `https://insiders.vscode.dev/redirect?url=${encodeURIComponent(urlForWebsites)}`; --> [<img src="https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF" alt="Install in VS Code">](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522argocd-mcp%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522argocd-mcp%2540latest%2522%252C%2522stdio%2522%255D%252C%2522env%2522%253A%257B%2522ARGOCD_BASE_URL%2522%253A%2522%253Cargocd_url%253E%2522%252C%2522ARGOCD_API_TOKEN%2522%253A%2522%253Cargocd_token%253E%2522%257D%257D) [<img alt="Install in VS Code Insiders" src="https://img.shields.io/badge/VS_Code_Insiders-VS_Code_Insiders?style=flat-square&label=Install%20Server&color=24bfa5">](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522argocd-mcp%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522argocd-mcp%2540latest%2522%252C%2522stdio%2522%255D%252C%2522env%2522%253A%257B%2522ARGOCD_BASE_URL%2522%253A%2522%253Cargocd_url%253E%2522%252C%2522ARGOCD_API_TOKEN%2522%253A%2522%253Cargocd_token%253E%2522%257D%257D) ---  ## 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: ### Application Management - `list_applications`: List and filter all applications - `get_application`: Get detailed information about a specific application - `create_application`: Create a new application - `update_application`: Update an existing application - `delete_application`: Delete an application - `sync_application`: Trigger a sync operation on an application ### Resource Management - `get_application_resource_tree`: Get the resource tree for a specific application - `get_application_managed_resources`: Get managed resources for a specific application - `get_application_workload_logs`: Get logs for application workloads (Pods, Deployments, etc.) - `get_resource_events`: Get events for resources managed by an application - `get_resource_actions`: Get available actions for resources - `run_resource_action`: Run an action on a resource ## Installation ### Prerequisites - Node.js (v18 or higher recommended) - pnpm package manager (for development) - Argo CD instance with API access - Argo CD API token (see the [docs for instructions](https://argo-cd.readthedocs.io/en/stable/developer-guide/api-docs/#authorization)) ### Usage with Cursor 1. Follow the [Cursor documentation for MCP support](https://docs.cursor.com/context/model-context-protocol), and create a `.cursor/mcp.json` file in your project: ```json { "mcpServers": { "argocd-mcp": { "command": "npx", "args": [ "argocd-mcp@latest", "stdio" ], "env": { "ARGOCD_BASE_URL": "<argocd_url>", "ARGOCD_API_TOKEN": "<argocd_token>" } } } } ``` 2. Start a conversation with Agent mode to use the MCP. ### Usage with VSCode 1. Follow the [Use MCP servers in VS Code documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers), and create a `.vscode/mcp.json` file in your project: ```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>" } } } } ``` 2. Start a conversation with an AI assistant in VS Code that supports MCP.
Отзывы (0)
Пока нет отзывов. Будьте первым!
Статистика
Информация
Технологии
Похожие серверы
Sentry MCP
Интеграция с Sentry: просмотр ошибок, issues, performance данных.
Docker MCP
Управление Docker контейнерами: создание, запуск, мониторинг контейнеров и образов.
Kubernetes MCP
Управление Kubernetes кластерами: pods, deployments, services и другие ресурсы.
paws-on-mcp
A comprehensive Model Context Protocol (MCP) server implementing the latest specification.