haproxy-mcp-server

haproxy-mcp-server

3.3

If you are the rightful owner of haproxy-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for HAProxy implemented in Go, leveraging HAProxy Runtime API and mcp-go.

The HAProxy MCP Server provides a standardized way for LLMs to interact with HAProxy's runtime API via the Model Context Protocol (MCP). This enables LLMs to perform HAProxy administration tasks, monitor server status, manage backend servers, and analyze traffic patterns, all through natural language interfaces. The server supports full HAProxy Runtime API commands, context-aware operations, and secure authentication. It is designed for enterprise environments and offers multiple transport options, including stdio and HTTP, for flexibility. Docker support is available for easy deployment, and the server can be configured using environment variables for different operational modes.

Features

  • Full HAProxy Runtime API Support: Comprehensive coverage of HAProxy's runtime API commands.
  • Context-Aware Operations: All operations support proper timeout and cancellation handling.
  • Stats Page Integration: Support for HAProxy's web-based statistics page for enhanced metrics and visualization.
  • Secure Authentication: Support for secure connections to HAProxy runtime API.
  • Multiple Transport Options: Supports both stdio and HTTP transports for flexibility in different environments.

Tools

  1. Statistics & Process Info

    Retrieve statistics, server information, and manage counters.

  2. Topology Discovery

    List frontends, backends, server states, and configuration details.

  3. Dynamic Pool Management

    Add, remove, enable/disable servers and adjust their properties.

  4. Session Control

    View and manage active sessions.

  5. Maps & ACLs

    Manage HAProxy maps and ACL files.