Cloudflare is aggressively integrating the Model Context Protocol (MCP) across its operations, extending beyond engineering to product, sales, marketing, and finance teams. This broad adoption of agentic workflows, however, introduces significant security risks, including authorization sprawl, prompt injection, and supply chain vulnerabilities. To mitigate these, Cloudflare has built a unified security architecture by integrating controls from its Cloudflare One (SASE) and Cloudflare Developer platforms, ensuring AI governance doesn't impede workforce efficiency. This approach is detailed in their latest blog post.
The company is introducing two key concepts to bolster enterprise MCP deployments: Code Mode with MCP server portals, designed to slash token costs, and the use of Cloudflare Gateway for Shadow MCP detection, identifying unauthorized remote MCP servers.
Securing MCP Workflows with a Unified Architecture
Cloudflare's strategy prioritizes centralized management of MCP servers. Unlike potentially insecure, locally-hosted deployments that rely on unvetted software, Cloudflare manages its MCP server deployments through a dedicated team. This team developed a shared MCP platform within their monorepo, offering governed infrastructure out-of-the-box. Employees seeking to expose internal resources via MCP must first gain approval from the AI governance team. They then use a template to define tools and deploy, automatically inheriting default-deny write controls, audit logging, CI/CD pipelines, and secrets management.
This governed infrastructure allows for the rapid deployment of new MCP servers, with the governance built directly into the platform. These are deployed as remote MCP servers on custom domains via Cloudflare's developer platform, providing visibility and control over software sources. This setup also ensures low-latency access for employees globally, as servers are deployed across Cloudflare’s data center network.
Cloudflare Access: Authentication for Private Resources
While some MCP servers, like those for Cloudflare documentation, are public-facing, many are designed to access private corporate resources. These require robust user authentication to restrict access to authorized personnel only. Cloudflare's MCP server template integrates Cloudflare Access as its OAuth provider. This system secures login flows, issues access tokens, and aggregates identity verification through single sign-on (SSO), multifactor authentication (MFA), and contextual attributes like IP address and device certificates.
