Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

delete_access_list

Remove an access control list by its ID to manage security permissions in Nginx Proxy Manager.

Instructions

Delete an access list by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
access_list_idYesThe ID of the access list to delete

Implementation Reference

  • Actual API call to delete an access list in Nginx Proxy Manager.
    async def delete_access_list(self, access_list_id: int) -> None:
        access_list_id = _validate_int_id(access_list_id, "access_list_id")
        await self._request("DELETE", f"/api/nginx/access-lists/{access_list_id}")
  • Tool handler in the MCP server that calls the client's delete_access_list method.
    elif name == "delete_access_list":
        await npm_client.delete_access_list(arguments["access_list_id"])
        return _msg_response("Access list deleted successfully")
  • Tool registration in the MCP server definition.
    Tool(name="delete_access_list", description="Delete an access list by ID", inputSchema=_id_schema("access_list_id", "The ID of the access list to delete")),

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/VeryBigSad/nginx-proxy-manager-mcp'

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