Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

list_dead_hosts

Identify and display all proxy hosts returning 404 errors in Nginx Proxy Manager to detect broken links and maintain web infrastructure.

Instructions

List all 404 dead hosts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The method that performs the API call to list dead hosts.
    async def list_dead_hosts(self) -> List[DeadHost]:
        response = await self._request("GET", "/api/nginx/dead-hosts")
        return [DeadHost(**h) for h in response.json()]
  • Registration of the list_dead_hosts tool in the MCP server.
    Tool(name="list_dead_hosts", description="List all 404 dead hosts", inputSchema=_empty_schema()),
  • The handler logic in call_tool that routes to the npm_client implementation.
    elif name == "list_dead_hosts":
        return _list_response(await npm_client.list_dead_hosts())

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