test_http_challenge
Verify domain accessibility for Let's Encrypt HTTP-01 ACME challenges to ensure successful SSL certificate issuance through Nginx Proxy Manager.
Instructions
Test if domains are reachable for HTTP-01 ACME challenge
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domains | Yes | List of domains to test |
Implementation Reference
- src/npm_mcp/client.py:202-206 (handler)The handler method in NPMClient that performs the actual API request to test the HTTP challenge.
async def test_http_challenge(self, domains: List[str]) -> dict: response = await self._request( "POST", "/api/nginx/certificates/test-http", json={"domains": domains} ) return response.json() - src/npm_mcp/server.py:226-235 (registration)Tool registration for test_http_challenge in MCP server list_tools.
name="test_http_challenge", description="Test if domains are reachable for HTTP-01 ACME challenge", inputSchema={ "type": "object", "properties": { "domains": {"type": "array", "items": {"type": "string"}, "description": "List of domains to test"}, }, "required": ["domains"], }, ), - src/npm_mcp/server.py:471-472 (handler)The tool execution dispatch in the server's call_tool handler.
elif name == "test_http_challenge": return _json_response(await npm_client.test_http_challenge(arguments["domains"]))