nginx-proxy-manager-mcp

v0.5.2
io.github.euisuh/nginx-proxy-manager-mcp Checked 3 hours ago Published 1 month ago

Manage Nginx Proxy Manager hosts, certificates, streams and access lists with dry-run previews.

Values you need

VariableWhat it is
NPM_URLrequired Base URL of the Nginx Proxy Manager admin API Default: http://localhost:81
NPM_EMAILrequired Existing NPM admin email
NPM_PASSWORDrequired secret Existing NPM admin password
MCP_TRANSPORToptional Must be stdio when launched by an MCP client Default: stdio

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add nginx-proxy-manager-mcp -e 'NPM_EMAIL=<NPM_EMAIL>' -e 'NPM_PASSWORD=<NPM_PASSWORD>' -e NPM_URL=http://localhost:81 -- uvx --from nginx-proxy-manager-mcp-server==0.5.2 nginx-proxy-manager-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "nginx-proxy-manager-mcp": {
      "args": [
        "--from",
        "nginx-proxy-manager-mcp-server==0.5.2",
        "nginx-proxy-manager-mcp"
      ],
      "command": "uvx",
      "env": {
        "NPM_EMAIL": "<NPM_EMAIL>",
        "NPM_PASSWORD": "<NPM_PASSWORD>",
        "NPM_URL": "http://localhost:81"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "nginx-proxy-manager-mcp": {
      "args": [
        "--from",
        "nginx-proxy-manager-mcp-server==0.5.2",
        "nginx-proxy-manager-mcp"
      ],
      "command": "uvx",
      "env": {
        "NPM_EMAIL": "<NPM_EMAIL>",
        "NPM_PASSWORD": "<NPM_PASSWORD>",
        "NPM_URL": "http://localhost:81"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "NPM_EMAIL",
      "id": "npm-email",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "NPM_PASSWORD",
      "id": "npm-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "NPM_URL",
      "id": "npm-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "nginx-proxy-manager-mcp": {
      "args": [
        "--from",
        "nginx-proxy-manager-mcp-server==0.5.2",
        "nginx-proxy-manager-mcp"
      ],
      "command": "uvx",
      "env": {
        "NPM_EMAIL": "${input:npm-email}",
        "NPM_PASSWORD": "${input:npm-password}",
        "NPM_URL": "${input:npm-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.nginx-proxy-manager-mcp]
command = "uvx"
args = ["--from", "nginx-proxy-manager-mcp-server==0.5.2", "nginx-proxy-manager-mcp"]
env = { "NPM_EMAIL" = "<NPM_EMAIL>", "NPM_PASSWORD" = "<NPM_PASSWORD>", "NPM_URL" = "http://localhost:81" }

For AI agents

  1. Ask the user for: NPM_URL, NPM_EMAIL, NPM_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_proxy_hosts, get_proxy_host, create_proxy_host, create_proxy_host_with_letsencrypt, update_proxy_host, delete_proxy_host, enable_proxy_host, disable_proxy_host, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json