Use Cloudflare with AI via MCP
At many companies Cloudflare sits in front of every web service and therefore knows a great deal about availability, traffic and attacks. The official MCP servers – one central entry point plus around sixteen product-specific servers – make that information usable for CompanyGPT.
What is Cloudflare?
Cloudflare runs a global network through which organizations deliver and protect their websites and applications. The portfolio includes DNS management, content delivery, protection against volumetric attacks, a web application firewall, zero-trust access for employees and the Workers development platform with its associated storage services.
Because the service sits technically in front of your own systems, it accumulates operational and security data that in practice is only evaluated occasionally. An AI agent can take over the routine queries: look up how a domain is configured, put traffic anomalies in context or explain which rules apply to a zone – without anyone having to dive into the console.
Connection at a Glance
- MCP server
- Official (Cloudflare), remote – central endpoint plus around 16 product servers
- Transport
- Streamable HTTP
- Authentication
- OAuth or API token
- Operating model
- SaaS
- Access control
- Pick individual product servers; API tokens can be scoped finely
How to Connect Cloudflare to CompanyGPT
Cloudflare provides official MCP servers. Alongside the central endpoint mcp.cloudflare.com/mcp there are around sixteen product-specific servers, for example for documentation, observability, Workers bindings or Radar data. Transport is streamable HTTP in each case.
That split is an advantage for permissions: you connect only the servers you actually need instead of enabling the full scope at once. For a first step a single server is often enough – observability for operational analysis, say.
Authentication runs via OAuth or alternatively via an API token. In enterprise settings the token route is frequently the better fit, because Cloudflare tokens can be scoped finely to individual accounts, zones and permissions. In CompanyGPT, your administrators additionally decide by role and group who may invoke the Cloudflare integration at all.
Typical Use Cases
How AI agents in CompanyGPT work with Cloudflare
DNS answers without console access
The project team asks how a domain currently resolves and which records are configured – without needing access to the Cloudflare interface.
Put traffic anomalies in context
After a load spike, the agent summarizes a zone's observability data and assesses whether the pattern looks like regular traffic or something unusual.
Trace configuration
Ahead of an application change, engineering retrieves which Workers and bindings belong to a project and documents the current state.
Frequently Asked Questions
Cloudflare and AI – the most important answers
Does Cloudflare have an official MCP server?
Yes, several in fact. Alongside the central endpoint mcp.cloudflare.com/mcp, Cloudflare provides around sixteen product-specific MCP servers, all reachable via streamable HTTP.
Do we have to connect all of them?
No. You pick exactly the servers you need. For a first step a single server is often enough, for example for observability or documentation.
Should we use OAuth or an API token?
Both work. In enterprise use, Cloudflare's fine-grained tokens often argue for the token route, because accounts, zones and permissions can be scoped precisely.
Can the agent change settings?
That depends on the connected servers and on the rights of the token or account. For lookup scenarios we recommend a deliberately read-oriented configuration.
How does this fit our wider toolchain?
Cloudflare can be combined with other integrations such as the repository and error monitoring. An agent can then look at network observations and application errors together.
Related Integrations
Development & DevOps
Cloudflare and Your AI – GDPR-Compliant with CompanyGPT
CompanyGPT is the enterprise AI assistant in your own cloud tenant: all relevant AI models, your company data and integrations like Cloudflare – centrally managed, with roles and permissions. We set up the connection together with you.
Cloudflare is a trademark of its respective owner (Cloudflare, Inc.). Its mention describes compatibility and does not imply any partnership or endorsement. Availability and scope of the connection depend on the respective vendor.
