list_users
Retrieve all user accounts from Nginx Proxy Manager to manage access permissions and administrative roles.
Instructions
List all NPM users
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/npm_mcp/client.py:346-349 (handler)The actual implementation of the list_users logic, which makes the HTTP GET request to /api/users and deserializes the response into a list of User objects.
async def list_users(self) -> List[User]: response = await self._request("GET", "/api/users") return [User(**u) for u in response.json()] - src/npm_mcp/server.py:493-494 (handler)The server-side handler that receives the 'list_users' tool call and executes the logic via the NPMClient.
elif name == "list_users": return _list_response(await npm_client.list_users()) - src/npm_mcp/server.py:270-270 (registration)Registration of the 'list_users' tool in the MCP server's list_tools definition.
Tool(name="list_users", description="List all NPM users", inputSchema=_empty_schema()),