Back to feed
News Story
APriority76
InfoQ AI/ML/Data Eng
1 sources

Cloudflare Introduces WriteGuard for Fine-Grained Security Controls on MCP Servers

Cloudflare has introduced WriteGuard, now in private beta, to provide fine-grained security controls for MCP (Model Context Protocol) servers. The tool aims to make AI agents safer by controlling their access to tools that can modify data or perform actions, rather than simply read information.

SynthePulse Insight · AI deep reading

Cloudflare WriteGuard: Introducing Fine-Grained Security Controls for MCP Servers

Version 1 · 1 source

Cloudflare launches WriteGuard in private beta, aiming to provide fine-grained security controls for MCP servers, addressing risks from AI agent write operations through centralized policy, audit, and attribution.

  • WriteGuard is currently in private beta, designed to provide fine-grained security controls for MCP servers.
  • It acts as a shared policy, attribution, and audit layer, intercepting all incoming MCP requests and deciding to allow or block based on tool-specific policies.
  • Tools are categorized by risk level, from read-only to critical operations such as merging pull requests, triggering production deployments, and bulk deletions.
  • WriteGuard does not require creating separate agent accounts; instead, it uses existing OAuth credentials to identify users and adds MCP client and session context.
  • Audit events are sent asynchronously, including server, tool, risk level, result, user, client, and duration, but omitting sensitive key-value pairs.
Open section navigationBackground: From Read-Only to Actionable

Background: From Read-Only to Actionable

As models improve and teams gain experience, roles such as engineering, product, design, sales, and customer success are beginning to require AI agents to perform actions, not just read information. Cloudflare's WriteGuard is launched in this context, aiming to provide fine-grained security controls for MCP servers.

Core Mechanism of WriteGuard

WriteGuard sits behind Cloudflare's MCP server portal and intercepts all incoming MCP requests. It loads policies associated with the target tool and evaluates the request context to decide whether the request passes through as-is or is blocked. If an allowed request subsequently fails, it is routed to the audit service, and all rejected requests are also routed to the audit service.

According to Cloudflare engineers Scott Roe-Meschke and Kenny Johnson, WriteGuard's advantage lies in its ability to define tool-specific policies without modifying the MCP server itself, and it can serve as a shared security layer for all MCP servers connected through the Cloudflare portal.

Risk Tiers and Policies

Each tool is assigned a risk level, ranging from no-risk read-only to critical operations. For example, completing a merge request, triggering a production deployment, or bulk deleting records are classified as critical operations. Creating a merge request or updating an issue field falls into the controlled write tier, while low-impact actions like marking notifications as read, subscribing to issues, or adding comments are in the minimal impact tier.

Identity and Audit

WriteGuard does not require creating separate agent accounts, as that would create a 'second set of permissions to manage.' Instead, MCP servers use existing OAuth credentials to identify users. To ensure that agent-driven operations are identifiable in centralized audit logs, WriteGuard adds MCP client and session context to the human identity.

WriteGuard classifies each call as success, failure, or blocked, then asynchronously sends sanitized events to an internal audit Worker. Events omit key-value pairs considered secret or sensitive, but include server, tool, risk level, result, user, client, and duration.

Current Status and Future

WriteGuard is currently available as a private beta, allowing Cloudflare to validate its behavior and refine the product before general availability.

Credibility boundary

The information in this article is based on a report from InfoQ and is a secondary source. All facts are derived from that report and have not been independently verified.

Insight takeaway

WriteGuard represents an advancement in MCP security, making AI agent write operations more controllable through centralized policy and audit, but its private beta status indicates that its maturity is yet to be validated.

Primary report

InfoQ AI/ML/Data Eng

Primary source