Home / Servers / Cloudflare API / m_tls_certificate_management_upload_m_tls_certificate

Upload mTLS certificate

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

Upload mTLS certificate Upload a certificate that you want to use with mTLS-enabled Cloudflare services, such as Bring… [POST /accounts/{account_id}/mtls_certificates]

Name on the gateway: cloudflare_api__m_tls_certificate_management_upload_m_tls_certificate · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
ca requiredbooleanIndicates whether the certificate is a CA or…
certificates requiredstringThe uploaded root CA certificate.
namestringOptional unique name for the certificate. Only…
private_keystringThe private key for the certificate. This field…

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__m_tls_certificate_management_upload_m_tls_certificate",
  "arguments": {
    "account_id": "…",
    "ca": true,
    "certificates": "…"
  }
}

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 mtls certificate tool with account_id set to ….

More from Cloudflare API