Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

enable_proxy_host

Activate a configured proxy host in Nginx Proxy Manager to route web traffic through the server. Use this tool to bring an existing proxy host online by specifying its ID.

Instructions

Enable a proxy host

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
host_idYesThe ID of the proxy host to enable

Implementation Reference

  • The actual implementation of the enable_proxy_host logic in the NPM client.
    async def enable_proxy_host(self, host_id: int) -> None:
        host_id = _validate_int_id(host_id, "host_id")
        await self._request("POST", f"/api/nginx/proxy-hosts/{host_id}/enable")
  • The handler in the MCP server that calls the client method for enable_proxy_host.
    elif name == "enable_proxy_host":
        await npm_client.enable_proxy_host(arguments["host_id"])
        return _msg_response("Proxy host enabled successfully")
  • Registration of the enable_proxy_host tool in the MCP server.
    Tool(name="enable_proxy_host", description="Enable a proxy host", inputSchema=_id_schema("host_id", "The ID of the proxy host to enable")),

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