list_audit_log
Retrieve recent audit log entries to monitor configuration changes and user activities in Nginx Proxy Manager.
Instructions
List recent audit log entries
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/npm_mcp/client.py:391-393 (handler)The client method that fetches the audit log entries from the NPM API.
async def list_audit_log(self) -> List[AuditLogEntry]: response = await self._request("GET", "/api/audit-log") return [AuditLogEntry(**e) for e in response.json()] - src/npm_mcp/server.py:331-331 (registration)The tool registration for 'list_audit_log' in the MCP server.
Tool(name="list_audit_log", description="List recent audit log entries", inputSchema=_empty_schema()), - src/npm_mcp/server.py:524-525 (handler)The MCP tool handler logic that calls the client method to retrieve and format audit log entries.
elif name == "list_audit_log": return _list_response(await npm_client.list_audit_log())