Home / Servers / Cloudflare API / per_hostname_authenticated_origin_pull_upload_a_hostname_cli

Upload a Hostname Client Certificate

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

Upload a Hostname Client Certificate Upload a certificate to be used for client authentication on a hostname. 10 hostname certificates… [POST /zones/{zone_id}/origin_tls_client_auth/hostnames/certificates]

Name on the gateway: cloudflare_api__per_hostname_authenticated_origin_pull_upload_a_hostname_cli · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
certificate requiredstringThe hostname certificate.
private_key requiredstringThe hostname certificate's private key.

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__per_hostname_authenticated_origin_pull_upload_a_hostname_cli",
  "arguments": {
    "zone_id": "…",
    "certificate": "…",
    "private_key": "…"
  }
}

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 upload a hostname client certificate tool with zone_id set to ….

More from Cloudflare API