Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

get_certificate

Retrieve SSL certificate details by ID from Nginx Proxy Manager for managing secure web proxy configurations.

Instructions

Get a specific SSL certificate by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
certificate_idYesThe ID of the certificate

Implementation Reference

  • The core handler logic that executes the API call to fetch a certificate.
    async def get_certificate(self, cert_id: int) -> Certificate:
        cert_id = _validate_int_id(cert_id, "certificate_id")
        response = await self._request("GET", f"/api/nginx/certificates/{cert_id}")
        return Certificate(**response.json())
  • The MCP tool handler in the server that invokes the client's get_certificate method.
    elif name == "get_certificate":
        return _model_response(await npm_client.get_certificate(arguments["certificate_id"]))
  • The tool definition/registration in the MCP server.
    Tool(name="get_certificate", description="Get a specific SSL certificate by ID", inputSchema=_id_schema("certificate_id", "The ID of the certificate")),

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