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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/npm_mcp/client.py:395-397 (handler)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() - src/npm_mcp/server.py:334-336 (registration)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()), ] - src/npm_mcp/server.py:528-529 (handler)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())