Home / Servers / Cloudflare API / custom_csrs_for_a_zone_create_custom_csr
Create Custom CSR
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Create Custom CSR Generate a new custom Certificate Signing Request (CSR) for a zone. Cloudflare generates and… [POST /zones/{zone_id}/custom_csrs]
Name on the gateway: cloudflare_api__custom_csrs_for_a_zone_create_custom_csr · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
common_name required | string | The common name (domain) for the CSR. Must be at… |
country required | string | Two-letter ISO 3166-1 alpha-2 country code. |
key_type | rsa2048 | p256v1 | Key algorithm to use for the CSR. Defaults to… |
locality required | string | City or locality name. |
organization required | string | Organization name. |
organizational_unit | string | Organizational unit name. |
sans required | array | Subject Alternative Names for the CSR. At least… |
state required | string | State or province name. |
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:
{
"name": "cloudflare_api__custom_csrs_for_a_zone_create_custom_csr",
"arguments": {
"zone_id": "…",
"common_name": "…",
"country": "…",
"locality": "…",
"organization": "…",
"sans": [],
"state": "…"
}
}Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:
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 custom csr tool with zone_id set to ….