Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

create_proxy_host

Create a new proxy host in Nginx Proxy Manager to forward web traffic from specified domains to a target server and port, with optional SSL configuration and security settings.

Instructions

Create a new proxy host

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domain_namesYesList of domain names
forward_schemeNohttp
forward_hostYesIP or hostname to forward to
forward_portYesPort to forward to
certificate_idNoSSL certificate ID
ssl_forcedNo
block_exploitsNo
advanced_configNo

Implementation Reference

  • The handler method that sends a POST request to create a new proxy host.
    async def create_proxy_host(self, host: ProxyHost) -> ProxyHost:
        response = await self._request(
            "POST",
            "/api/nginx/proxy-hosts",
            json=host.model_dump(exclude_none=True, exclude={"id", "created_on", "modified_on"}),
        )
        return ProxyHost(**response.json())

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