Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

get_host_report

Retrieve a report showing counts of proxy, redirection, stream, and dead hosts in Nginx Proxy Manager to monitor your web proxy infrastructure status.

Instructions

Get host count report (proxy, redirection, stream, dead)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for get_host_report in the NPMClient class.
    async def get_host_report(self) -> dict:
        response = await self._request("GET", "/api/reports/hosts")
        return response.json()
  • Registration of the get_host_report tool in the MCP server.
        Tool(name="get_host_report", description="Get host count report (proxy, redirection, stream, dead)", inputSchema=_empty_schema()),
    ]
  • The MCP server logic that maps the tool request to the client method call.
    elif name == "get_host_report":
        return _json_response(await npm_client.get_host_report())

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