MCP Hub
Back to servers

Nginx Proxy Manager MCP

Enables management of Nginx Proxy Manager instances for configuring proxy hosts, requesting Let's Encrypt SSL certificates, and managing access lists. It allows users to control their web proxy infrastructure through natural language commands in MCP-compatible environments.

Stars
1
Updated
Feb 21, 2026

npm-mcp

MCP server for managing Nginx Proxy Manager (NPM) instances via Claude/AI assistants. 50 tools covering the full NPM API.

Version tracks NPM releases — v2.14.0 targets Nginx Proxy Manager v2.14.0.

Installation

# Install via uvx (recommended)
uvx nginx-proxy-manager-mcp

# Or install from source
uv sync
uv run nginx-proxy-manager-mcp

Configuration

Add to your Claude Desktop config (~/.config/claude/config.json):

{
  "mcpServers": {
    "nginx-proxy-manager": {
      "command": "uvx",
      "args": ["nginx-proxy-manager-mcp"],
      "env": {
        "NPM_URL": "http://your-npm-instance:81",
        "NPM_EMAIL": "admin@example.com",
        "NPM_PASSWORD": "your-password"
      }
    }
  }
}

Available Tools (50)

Proxy Hosts (7 tools)

ToolDescriptionRequired Params
list_proxy_hostsList all proxy hosts
get_proxy_hostGet proxy host by IDhost_id
create_proxy_hostCreate a new proxy hostdomain_names, forward_host, forward_port
update_proxy_hostUpdate a proxy hosthost_id + any fields to change
delete_proxy_hostDelete a proxy hosthost_id
enable_proxy_hostEnable a proxy hosthost_id
disable_proxy_hostDisable a proxy hosthost_id

Optional create/update params: forward_scheme, certificate_id, ssl_forced, block_exploits, advanced_config

Redirection Hosts (7 tools)

ToolDescriptionRequired Params
list_redirection_hostsList all redirection hosts
get_redirection_hostGet redirection host by IDhost_id
create_redirection_hostCreate HTTP redirectdomain_names, forward_http_code, forward_domain_name
update_redirection_hostUpdate a redirection hosthost_id + any fields to change
delete_redirection_hostDelete a redirection hosthost_id
enable_redirection_hostEnable a redirection hosthost_id
disable_redirection_hostDisable a redirection hosthost_id

Optional create/update params: forward_scheme (auto/http/https), preserve_path, certificate_id, ssl_forced, block_exploits, advanced_config

Streams (7 tools)

ToolDescriptionRequired Params
list_streamsList all TCP/UDP streams
get_streamGet stream by IDstream_id
create_streamCreate a TCP/UDP stream proxyincoming_port, forwarding_host, forwarding_port
update_streamUpdate a streamstream_id + any fields to change
delete_streamDelete a streamstream_id
enable_streamEnable a streamstream_id
disable_streamDisable a streamstream_id

Optional create/update params: tcp_forwarding, udp_forwarding, certificate_id

Dead Hosts / 404 Hosts (7 tools)

ToolDescriptionRequired Params
list_dead_hostsList all 404 dead hosts
get_dead_hostGet dead host by IDhost_id
create_dead_hostCreate a 404 dead hostdomain_names
update_dead_hostUpdate a dead hosthost_id + any fields to change
delete_dead_hostDelete a dead hosthost_id
enable_dead_hostEnable a dead hosthost_id
disable_dead_hostDisable a dead hosthost_id

Optional create/update params: certificate_id, ssl_forced, hsts_enabled, hsts_subdomains, http2_support, advanced_config

SSL Certificates (7 tools)

ToolDescriptionRequired Params
list_certificatesList all SSL certificates
get_certificateGet certificate by IDcertificate_id
request_certificateRequest a Let's Encrypt certdomain_names, nice_name
delete_certificateDelete a certificatecertificate_id
renew_certificateRenew a Let's Encrypt certcertificate_id
list_dns_providersList supported DNS providers
test_http_challengeTest HTTP-01 ACME reachabilitydomains

Access Lists (5 tools)

ToolDescriptionRequired Params
list_access_listsList all access lists
get_access_listGet access list by IDaccess_list_id
create_access_listCreate an access listname
update_access_listUpdate an access listaccess_list_id + any fields to change
delete_access_listDelete an access listaccess_list_id

Optional create/update params: satisfy_any, pass_auth

Users (5 tools)

ToolDescriptionRequired Params
list_usersList all NPM users
get_userGet user by IDuser_id
create_userCreate a new username, email
update_userUpdate a useruser_id + any fields to change
delete_userDelete a useruser_id

Optional create/update params: nickname, roles, is_disabled

Settings (3 tools)

ToolDescriptionRequired Params
list_settingsList all NPM settings
get_settingGet a setting by IDsetting_id
update_settingUpdate a settingsetting_id

Optional update params: value, meta

Audit Log (1 tool)

ToolDescriptionRequired Params
list_audit_logList recent audit log entries

Reports (1 tool)

ToolDescriptionRequired Params
get_host_reportGet host count report

Usage Examples

Once configured, use natural language:

  • "List all my proxy hosts"
  • "Create a proxy host for example.com pointing to 192.168.1.100:8080"
  • "Set up a 301 redirect from old.example.com to new.example.com"
  • "Create a TCP stream forwarding port 3306 to my database server"
  • "Request a Let's Encrypt certificate for api.example.com"
  • "Enable the proxy host with ID 5"
  • "Show me the audit log"

Development

uv sync --dev
uv run pytest

Requirements

  • Python 3.10+
  • Nginx Proxy Manager instance
  • Valid NPM credentials

License

MIT

Reviews

No reviews yet

Sign in to write a review