Home / Servers / Hetzner Cloud API / create_certificate

Create a Certificate

An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.

Create a Certificate Creates a new Certificate. The default type **uploaded** allows for uploading your existing certificate and private_key in PEM format. You have to monitor its expiration date and handle renewal… [POST /certificates]

Name on the gateway: hetzner_api__create_certificate · may change things.

Parameters

NameTypeDescription
name requiredstringName of the Certificate.
labelsobjectUser-defined labels (key/value pairs) for the Resource. For more information…
typeuploaded | managedChoose between uploading a Certificate in PEM format or requesting a managed…
certificatestringCertificate and chain in PEM format, in order so that each record directly…
private_keystringCertificate key in PEM format. Required for type uploaded Certificates.
domain_namesarrayDomains and subdomains that should be contained in the Certificate issued by…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "hetzner_api__create_certificate",
  "arguments": {
    "name": "…"
  }
}

Or connect the Hetzner Cloud API server directly, which lists 178 tools including this one:

Run in your terminal
claude mcp add --transport http hj-hetzner-api https://mcp.hjlabs.in/mcp/hetzner-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a certificate tool with name set to ….

More from Hetzner Cloud API