Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

renew_certificate

Renew a Let's Encrypt SSL certificate in Nginx Proxy Manager to maintain secure HTTPS connections for your proxy hosts.

Instructions

Renew a Let's Encrypt certificate

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
certificate_idYesThe ID of the certificate to renew

Implementation Reference

  • The implementation of the `renew_certificate` method in `NPMClient` class, which makes the API call to renew the certificate.
    async def renew_certificate(self, cert_id: int) -> Certificate:
        cert_id = _validate_int_id(cert_id, "certificate_id")
        response = await self._request("POST", f"/api/nginx/certificates/{cert_id}/renew")
        return Certificate(**response.json())
  • The MCP tool registration for `renew_certificate`.
    Tool(name="renew_certificate", description="Renew a Let's Encrypt certificate", inputSchema=_id_schema("certificate_id", "The ID of the certificate to renew")),
  • The MCP tool handler dispatch logic for `renew_certificate`, which calls the `NPMClient` method.
    elif name == "renew_certificate":
        return _model_response(await npm_client.renew_certificate(arguments["certificate_id"]))

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