Cover image
Try Now
2025-02-24

Un serveur MCP pour exécuter des flux de travail Argo, écrits en Golang

3 years

Works with Finder

3

Github Watches

0

Github Forks

2

Github Stars

MCP Argo Server

An MCP-compliant server for running Argo Workflows written in Golang.

Overview

MCP Argo Server is a lightweight CLI tool that wraps Argo Workflows using JSON-RPC over STDIN/STDOUT. It leverages Foxy Contexts for RPC handling and client-go for interacting with Kubernetes and Argo Workflow resources. The project provides tools for launching workflows, checking workflow status, and retrieving results.

Installation

This project is configured to run inside a development container. Simply open the repository in your dev container-enabled editor (e.g., VS Code Remote - Containers) and all dependencies are pre-installed.
If you prefer to run it locally, clone the repository and run:

go mod tidy

Usage

Open the project in the dev container.

Run make cluster which will install the k3d cluster and set up Argo.

You can check that's worked by typing kubectl cluster-info.

You can run a test workflow by typing argo submit -n argo --watch ./kube/argo-hello-world.yaml.

You can see the Argo interface at https://localhost:2746/workflows/argo/

You can check that the app is building and the MCP is working by typing make run.

Testing with Python

The project includes a Python test client that demonstrates how to interact with the MCP Argo server. The test client is located in python/test_with_autogen.py and showcases:

  • Submitting Argo workflows
  • Checking workflow status
  • Waiting for workflow completion
  • Retrieving workflow results

To run the Python test:

  1. Ensure you have Python dependencies installed:

    cd python
    make install
    
  2. Run the test script:

    python test_with_autogen.py
    

or... just debug it to step through.

The script will:

  • Connect to the MCP Argo server
  • Iterate the tools and print them out
  • Submit a sample workflow from kube/argo-hello-world.yaml
  • Monitor the workflow status until completion
  • Display the workflow results

Contributing

Contributions are welcome! Please open issues and submit pull requests. Before submitting changes, ensure that you follow the project's coding guidelines and that all tests pass.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Additional Resources

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

    Reviews

    1 (1)
    Avatar
    user_6DuoElmX
    2025-04-15

    As a dedicated MCP application user, I found the Awslabs Nova Canvas MCP Server to be an exceptional tool for our projects. Its seamless integration and robust performance have significantly boosted our productivity. Highly recommended for anyone looking to enhance their server capabilities. Check it out here: https://mcp.so/server/awslabs-nova-canvas-mcp-server/awslabs.