
π―Basically, Cloudflare is improving how companies use AI safely and cheaply.
What Happened
Cloudflare has embraced the Model Context Protocol (MCP) as a crucial element of its AI strategy. This initiative extends beyond engineering, influencing various departments like sales and marketing. However, with this widespread adoption come security challenges, including authorization sprawl and supply chain risks. To tackle these issues, Cloudflare has implemented a robust security architecture that integrates multiple tools from its Cloudflare One platform and Developer platform.
Key Innovations
Cloudflare introduced two significant concepts to enhance MCP deployments:
- Code Mode: This feature drastically reduces token costs associated with MCP usage.
- Shadow MCP Detection: This function helps identify unauthorized remote MCP servers, ensuring that only approved resources are utilized.
Remote MCP Servers Provide Better Visibility and Control
MCP allows developers to create a two-way connection between AI applications and essential data sources. By separating MCP clients from MCP servers, Cloudflare ensures that AI agents can operate autonomously while maintaining secure boundaries. The company recognized that locally-hosted MCP servers posed significant security risks, often relying on unverified software. Therefore, they centralized MCP server management, enabling a streamlined deployment process that incorporates security governance from the start.
Cloudflare Access Provides Authentication
For MCP servers that interface with sensitive corporate resources, Cloudflare utilizes Cloudflare Access to enforce user authentication. This ensures that only authorized employees can access private resources, leveraging OAuth for secure login flows and multi-factor authentication.
MCP Server Portals Centralize Discovery and Governance
To facilitate easy access to MCP servers, Cloudflare developed MCP server portals. These portals streamline the discovery process for employees, allowing them to connect their MCP clients and access all authorized servers. The portals also provide centralized logging and data loss prevention measures, ensuring that sensitive data is protected.
Code Mode with MCP Server Portals Reduces Costs
Cloudflare's experience with high-volume MCP deployments led to the realization that traditional approaches could be inefficient. By implementing Code Mode, they allow models to dynamically discover tools rather than preloading every tool definition. This innovative approach reduces token usage significantly, making MCP deployments more cost-effective.
Conclusion
Cloudflare's strategic approach to MCP adoption emphasizes security and efficiency. By centralizing control and implementing innovative features like Code Mode and Shadow MCP detection, the company is setting a standard for safe AI integration in enterprise environments. As MCP continues to evolve, organizations can look to Cloudflare's practices as a model for their own deployments.
π Pro insight: Cloudflare's centralized MCP governance model could serve as a blueprint for enterprises looking to secure AI workflows effectively.




