Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

create_user

Create a new user account in Nginx Proxy Manager to manage proxy hosts and SSL certificates with specific roles and permissions.

Instructions

Create a new NPM user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFull name
nicknameNo
emailYesEmail address
rolesNoRoles (e.g. admin)
is_disabledNo

Implementation Reference

  • The actual NPM API call implementation for creating a user.
    async def create_user(self, user: User) -> User:
        response = await self._request(
            "POST", "/api/users",
            json=user.model_dump(exclude_none=True, exclude={"id", "created_on", "modified_on"}),
        )
        return User(**response.json())
  • The MCP tool definition for 'create_user'.
    Tool(
        name="create_user",
        description="Create a new NPM user",
        inputSchema={
            "type": "object",
            "properties": {
                "name": {"type": "string", "description": "Full name"},
                "nickname": {"type": "string", "default": ""},
                "email": {"type": "string", "description": "Email address"},
                "roles": {"type": "array", "items": {"type": "string"}, "description": "Roles (e.g. admin)"},
                "is_disabled": {"type": "boolean", "default": False},
            },
            "required": ["name", "email"],
        },
    ),
  • The server-side handler logic that calls the NPM client to execute the create_user action.
    elif name == "create_user":
        return _model_response(await npm_client.create_user(User(**arguments)))

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