haproxy-mcp-server
3
HAProxy MCP Server is a Model Context Protocol server for integrating HAProxy with natural language interfaces. It supports a full range of HAProxy Runtime API features, secure connections, and is enterprise-ready with Docker support.
HAProxy MCP Server
The HAProxy MCP Server implements a Model Context Protocol (MCP) server for HAProxy in Go, using the HAProxy Runtime API and mcp-go. It allows natural language interfaces to interact with HAProxy for administrative tasks and monitoring.
Features
- Full HAProxy Runtime API support
- Context-aware operations with timeout handling
- Stats Page Integration for enhanced metrics
- Secure Authentication
- Multiple Transport Options: stdio and HTTP
- Enterprise Ready with Docker Support
Installation
Homebrew
- Add the tap and install the package
From Binary
- Download from the releases page.
Using Go
- Use Go
install
to command install.
Using Docker
- Pull and run the Docker image.
Configuration
Configure using environment variables related to HAProxy host, ports, runtime mode, stats page, and more.
Security
- Emphasizes authentication, network security, and input validation to prevent injection attacks.