Sponsored by Deepsite.site

MCP Argo Server

Created By
jakkaj9 months ago
An MCP server for running Argo workflows, written in Golang
Content

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

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
WindsurfThe new purpose-built IDE to harness magic
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
CursorThe AI Code Editor
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"