You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/agents/model-context-protocol/mcp-servers-for-cloudflare.mdx
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,25 +12,25 @@ import { Render } from "~/components"
12
12
13
13
Cloudflare runs a catalog of managed remote MCP Servers which you can connect to using OAuth on clients like [Claude](https://modelcontextprotocol.io/quickstart/user), [Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp), our own [AI Playground](https://playground.ai.cloudflare.com/) or any [SDK that supports MCP](https://github.com/cloudflare/agents/tree/main/packages/agents/src/mcp).
14
14
15
-
These MCP servers allow your MCP Client to read configurations from your account, process information, make suggestions based on data, and even make those suggested changes for you. All of these actions can happen across Cloudflare's many services including application development, security and performance.
15
+
These MCP servers allow your MCP Client to read configurations from your account, process information, make suggestions based on data, and even make those suggested changes for you. All of these actions can happen across Cloudflare's many services including application development, security and performance. They support both the `streamble-http` transport via `/mcp` and the `sse` transport (deprecated) via `/sse`.
|[Documentation server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/docs-vectorize)| Get up to date reference information on Cloudflare |`https://docs.mcp.cloudflare.com/sse`|
20
-
|[Workers Bindings server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-bindings)| Build Workers applications with storage, AI, and compute primitives |`https://bindings.mcp.cloudflare.com/sse`|
21
-
|[Workers Builds server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-builds)| Get insights and manage your Cloudflare Workers Builds |`https://builds.mcp.cloudflare.com/sse`|
22
-
|[Observability server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-observability)| Debug and get insight into your application's logs and analytics |`https://observability.mcp.cloudflare.com/sse`|
23
-
|[Radar server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/radar)| Get global Internet traffic insights, trends, URL scans, and other utilities |`https://radar.mcp.cloudflare.com/sse`|
24
-
|[Container server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/sandbox-container)| Spin up a sandbox development environment |`https://containers.mcp.cloudflare.com/sse`|
25
-
|[Browser rendering server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/browser-rendering)| Fetch web pages, convert them to markdown and take screenshots |`https://browser.mcp.cloudflare.com/sse`|
26
-
|[Logpush server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/logpush)| Get quick summaries for Logpush job health |`https://logs.mcp.cloudflare.com/sse`|
27
-
|[AI Gateway server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/ai-gateway)| Search your logs, get details about the prompts and responses |`https://ai-gateway.mcp.cloudflare.com/sse`|
28
-
|[AI Search server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/autorag)| List and search documents on your AI Searchs |`https://autorag.mcp.cloudflare.com/sse`|
29
-
|[Audit Logs server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/auditlogs)| Query audit logs and generate reports for review |`https://auditlogs.mcp.cloudflare.com/sse`|
30
-
|[DNS Analytics server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dns-analytics)| Optimize DNS performance and debug issues based on current set up |`https://dns-analytics.mcp.cloudflare.com/sse`|
31
-
|[Digital Experience Monitoring server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dex-analysis)| Get quick insight on critical applications for your organization |`https://dex.mcp.cloudflare.com/sse`|
32
-
|[Cloudflare One CASB server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/cloudflare-one-casb)| Quickly identify any security misconfigurations for SaaS applications to safeguard users & data |`https://casb.mcp.cloudflare.com/sse`|
33
-
|[GraphQL server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/graphql/)| Get analytics data using Cloudflare’s GraphQL API |`https://graphql.mcp.cloudflare.com/sse`|
19
+
|[Documentation server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/docs-vectorize)| Get up to date reference information on Cloudflare |`https://docs.mcp.cloudflare.com/mcp`|
20
+
|[Workers Bindings server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-bindings)| Build Workers applications with storage, AI, and compute primitives |`https://bindings.mcp.cloudflare.com/mcp`|
21
+
|[Workers Builds server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-builds)| Get insights and manage your Cloudflare Workers Builds |`https://builds.mcp.cloudflare.com/mcp`|
22
+
|[Observability server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-observability)| Debug and get insight into your application's logs and analytics |`https://observability.mcp.cloudflare.com/mcp`|
23
+
|[Radar server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/radar)| Get global Internet traffic insights, trends, URL scans, and other utilities |`https://radar.mcp.cloudflare.com/mcp`|
24
+
|[Container server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/sandbox-container)| Spin up a sandbox development environment |`https://containers.mcp.cloudflare.com/mcp`|
25
+
|[Browser rendering server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/browser-rendering)| Fetch web pages, convert them to markdown and take screenshots |`https://browser.mcp.cloudflare.com/mcp`|
26
+
|[Logpush server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/logpush)| Get quick summaries for Logpush job health |`https://logs.mcp.cloudflare.com/mcp`|
27
+
|[AI Gateway server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/ai-gateway)| Search your logs, get details about the prompts and responses |`https://ai-gateway.mcp.cloudflare.com/mcp`|
28
+
|[AI Search server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/autorag)| List and search documents on your AI Searchs |`https://autorag.mcp.cloudflare.com/mcp`|
29
+
|[Audit Logs server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/auditlogs)| Query audit logs and generate reports for review |`https://auditlogs.mcp.cloudflare.com/mcp`|
30
+
|[DNS Analytics server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dns-analytics)| Optimize DNS performance and debug issues based on current set up |`https://dns-analytics.mcp.cloudflare.com/mcp`|
31
+
|[Digital Experience Monitoring server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dex-analysis)| Get quick insight on critical applications for your organization |`https://dex.mcp.cloudflare.com/mcp`|
32
+
|[Cloudflare One CASB server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/cloudflare-one-casb)| Quickly identify any security misconfigurations for SaaS applications to safeguard users & data |`https://casb.mcp.cloudflare.com/mcp`|
33
+
|[GraphQL server](https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/graphql/)| Get analytics data using Cloudflare’s GraphQL API |`https://graphql.mcp.cloudflare.com/mcp`|
34
34
35
35
Check our [GitHub page](https://github.com/cloudflare/mcp-server-cloudflare) to know how to use Cloudflare's remote MCP servers with different MCP clients.
Copy file name to clipboardExpand all lines: src/content/docs/browser-rendering/rest-api/pdf-endpoint.mdx
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,10 @@ curl -X POST https://api.cloudflare.com/client/v4/accounts/<acccountID>/browser-
89
89
--output "invoice.pdf"
90
90
```
91
91
92
+
:::note[Request size limits]
93
+
The PDF endpoint accepts request bodies up to 50 MB. Requests larger than this will fail with `Error: request entity too large`.
94
+
:::
95
+
92
96
## Advanced usage
93
97
94
98
:::note[Looking for more parameters?]
@@ -138,6 +142,58 @@ curl -X POST https://api.cloudflare.com/client/v4/accounts/<acccountID>/browser-
138
142
--output "cloudflare.pdf"
139
143
```
140
144
145
+
### Customize page headers and footers
146
+
147
+
You can customize page headers and footers with HTML templates using the `headerTemplate` and `footerTemplate` options. Enable `displayHeaderFooter` to include them in your output. This example generates an A5 PDF with a branded header, a footer message, and page numbering.
148
+
149
+
```bash
150
+
curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-rendering/pdf' \
"footerTemplate": "<div style=\"color: lightgray; border-top: solid lightgray 1px; font-size: 10px; padding-top: 5px; text-align: center; width: 100%;\"><span>This is a test message</span> - <span class=\"pageNumber\"></span></div>",
160
+
"margin": {
161
+
"top": "70px",
162
+
"bottom": "70px"
163
+
}
164
+
}
165
+
}' \
166
+
--output "header-footer.pdf"
167
+
```
168
+
169
+
### Include dynamic placeholders from page metadata
170
+
171
+
You can include dynamic placeholders such as `title`, `date`, `pageNumber`, and `totalPages` in the header or footer to display metadata on each page. This example produces an A4 PDF with a company-branded header, current date and title, and page numbering in the footer.
172
+
173
+
```bash
174
+
curl -X POST 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browser-rendering/pdf' \
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/domain-support/remove-custom-hostnames.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,12 +22,12 @@ If they update their [`CNAME` record](/cloudflare-for-platforms/cloudflare-for-s
22
22
23
23
If the custom hostname is in a **Moved** state for seven days, it will transition into a **Deleted** state.
24
24
25
+
You should remove a customer's custom hostname from your zone if they decide to churn. This is especially important if your end customers are using Cloudflare because if the churned customer changes the DNS target to point away from your SaaS zone but you have not removed it, the custom hostname will continue to route to your service. This is a result of the [custom hostname priority logic](/ssl/reference/certificate-and-hostname-priority/#hostname-priority).
26
+
25
27
## Domains not using Cloudflare
26
28
27
29
If your customer's domain is not using Cloudflare, you must remove a customer's custom hostname from your zone if they decide to churn.
28
30
29
-
This is especially important if your end customers are using Cloudflare because if the custom hostname changes the DNS target to point away from your SaaS zone, the custom hostname will continue to route to your service. This is a result of the [custom hostname priority logic](/ssl/reference/certificate-and-hostname-priority/#hostname-priority).
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/security/certificate-management/enforce-mtls.mdx
+78Lines changed: 78 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,6 +276,84 @@ In the API documentation, refer to [SSL properties of a custom hostname](/api/re
276
276
277
277
</Details>
278
278
279
+
<Detailsheader="Restrict cipher suites for custom hostname with custom certificate">
280
+
281
+
In the API documentation, refer to [SSL properties of a custom hostname](/api/resources/custom_hostnames/methods/edit/). In the case of a custom hostname with custom certificate, you must include the custom certificate in the [Edit Custom Hostname PATCH call](/api/resources/custom_hostnames/methods/edit/), with the `settings` specifications where you must include `type` and `method` within the `ssl` object, as explained below.
282
+
283
+
1. Make a `GET` request to the [Custom Hostname Details](/api/resources/custom_hostnames/methods/get/) endpoint to check what are the current values for `ssl.type` and `ssl.method`.
2. After you take note of these values, make a `PATCH` request to the [Edit Custom Hostname](/api/resources/custom_hostnames/methods/edit/) endpoint, providing both the list of authorized cipher suites and the same `type` and `method` values that you obtained from the previous step, but also the `custom_certificate` and `custom_key`.
0 commit comments