
mcp argo server
An MCP server for running Argo workflows, written in Golang
Repository Info
About This Server
An MCP server for running Argo workflows, written in Golang
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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:
-
Ensure you have Python dependencies installed:
cd python make install -
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
- Argo Workflows
- Foxy Contexts
Quick Start
Clone the repository
git clone https://github.com/jakkaj/mcp-argo-serverInstall dependencies
cd mcp-argo-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.