Cover image
Try Now
2025-02-24

用于运行Argo Workflows的MCP服务器,用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.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • 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.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • 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
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2: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.