list_certificates
Retrieve and display all SSL certificates configured in Nginx Proxy Manager for managing secure web connections.
Instructions
List all SSL certificates in NPM
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/npm_mcp/client.py:172-174 (handler)The implementation of list_certificates within the NPMClient class which performs the HTTP request to the NPM API.
async def list_certificates(self) -> List[Certificate]: response = await self._request("GET", "/api/nginx/certificates") return [Certificate(**cert) for cert in response.json()] - src/npm_mcp/server.py:458-459 (handler)The handler logic inside call_tool that calls the client's list_certificates method.
elif name == "list_certificates": return _list_response(await npm_client.list_certificates()) - src/npm_mcp/server.py:208-208 (registration)The tool definition/registration in the list_tools function of the MCP server.
Tool(name="list_certificates", description="List all SSL certificates in NPM", inputSchema=_empty_schema()),