Home / Servers / Cloudflare API / origin_ca_create_certificate

Create Certificate

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

Create Certificate Create an Origin CA certificate. You can use an Origin CA Key as your User Service Key or an API… [POST /certificates]

Name on the gateway: cloudflare_api__origin_ca_create_certificate · may change things.

Parameters

NameTypeDescription
csr requiredstringThe Certificate Signing Request (CSR). Must be…
hostnames requiredarrayArray of hostnames or wildcard names bound to…
request_type requiredorigin-rsa | origin-ecc | keyless-certificateSignature type desired on certificate…
requested_validity7 | 30 | 90 | 365 | 730 | 1095 | 5475The number of days for which the certificate…

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": "cloudflare_api__origin_ca_create_certificate",
  "arguments": {
    "csr": "…",
    "hostnames": [],
    "request_type": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

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

Try asking

Use the create certificate tool with csr set to ….

More from Cloudflare API