Skip to main content
Glama

haproxy_frontend_delete

Remove an HAProxy frontend by specifying its UUID to streamline configuration updates on OPNSense firewalls managed via the MCP server.

Instructions

Delete an HAProxy frontend

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesFrontend UUID

Implementation Reference

  • The `deleteFrontend` method in HAProxyResource class executes the core logic for the haproxy_frontend_delete tool: it sends a POST request to `/haproxy/settings/delFrontend/${uuid}` to delete the frontend and then calls reconfigure to apply changes.
    async deleteFrontend(uuid: string): Promise<boolean> { try { const response = await this.client.post(`/haproxy/settings/delFrontend/${uuid}`); if (response.result !== 'deleted') { throw new Error('Failed to delete frontend'); } await this.reconfigure(); return true; } catch (error) { throw new Error(`Failed to delete HAProxy frontend: ${error}`); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vespo92/OPNSenseMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server