Microsoft’s MCP Firewall Preview: Test the Coverage Before You Trust the Policy
Microsoft’s configuration guide describes MCP Firewall as a preview feature of Entra Global Secure Access. Before a pilot, trace the connections from your agent clients to their servers. The firewall can enforce policy on traffic that reaches it.
Our recommendation is to start with a coverage test. Write down the client, server, transport, identity, and expected decision for each connection before treating a policy as protection for an entire agent workflow.
What the preview covers
According to Microsoft’s configuration guide, the firewall inspects remote MCP traffic over Streamable HTTP and Server-Sent Events. Policies can allow or block servers, primitives such as tools, methods, and protocol versions.
The documented exclusions matter: local servers, stdio and other non-HTTP transports, and JSON-RPC batches are not inspected. Setup requires an Entra Internet Access license, a managed Entra-joined or hybrid-joined device with the Global Secure Access client, appropriate administrator roles, and TLS inspection. Traffic must be routed through the service. See the guide’s prerequisites and known limitations before planning a pilot.
We would send a rollout checklist labeled only “MCP secured” back for revision. Require it to name the connections tested and the connections left outside the pilot.
Separate access policy from task approval
Consider an agent assigned to investigate a failed deployment. A sensible task contract might permit reading deployment status and logs while requiring approval before changing infrastructure.
For that pilot, define two separate expectations:
- The connection policy permits the approved server and the intended read operation.
- The application workflow refuses a change until an authorized person approves that specific action.
Have reviewers inspect both results independently and retain evidence for each. A successful connection-policy test leaves the application’s approval behavior untested.
For background, our guides to MCP consent and production authentication provide useful companion reading.
Build a small, falsifiable pilot
We suggest starting with one managed test device, a nonproduction account, and a server whose operations you understand. Use disposable data and avoid destructive production actions.
Write a test sheet before configuring rules:
| Test | Expected result | Evidence to retain |
|---|---|---|
| Approved remote server, permitted read | Allow | Client result and matching policy event |
| Same server, prohibited operation | Block | Denial and confirmation no change occurred |
| Unapproved remote server | Block | Failed connection and policy event |
| Local stdio server | Outside firewall scope | Separate local-control test result |
| Connection excluded from forwarding | Outside pilot coverage | Routing evidence and an assigned remediation owner |
Give the last two rows their own status: “not covered.” A connection that bypasses inspection needs an owner and a separate control test; marking it green would hide unfinished work.
For every attempted write, inspect the target afterward. A client error alone should not satisfy your no-change acceptance criterion. Record the test identity, timestamp, server address, operation, expected outcome, observed outcome, and where the supporting evidence lives.
We have not exercised this preview in a tenant. The table is our proposed test plan.
Inspect the saved rule through Microsoft Graph
Microsoft documents a preview UI limitation: selected tool, resource, and prompt details may not appear when rules are retrieved later. The configuration guide directs administrators to verify those details through Microsoft Graph.
For a pilot, make saved-rule inspection a required review step. Have another administrator compare the retrieved configuration with the approved test sheet. Then repeat the allow and deny tests. Keep the configuration evidence alongside the observed behavior so the next reviewer can reproduce the check.
What to ask when shortlisting servers
Use directory discovery and environment approval as separate steps. GitHub MCP, Azure MCP, and Playwright MCP are useful starting points for repository, infrastructure, and browser workflow research. Their directory entries are not compatibility certifications for this firewall.
For each candidate, ask:
- Which exact implementation and endpoint are we reviewing?
- Will this client use a remote connection or launch a local process?
- Which operations does this task need, and which should be denied?
- Who owns the approval, exceptions, and recurring retest?
Confirm current setup details with the project’s maintained documentation. Do not copy a directory install command into a security exception and assume the reviewed connection is fully specified.
FAQ
Is Microsoft’s MCP Firewall generally available?
The Microsoft Learn configuration guide labels it preview in our November 20, 2026 source review.
Should we move local tools behind a remote endpoint?
Not solely to simplify a compliance report. Compare the proposed architecture with your actual requirements, including credential handling, data exposure, local controls, and operational ownership. Test the chosen design rather than treating a transport change as a security result.
What would count as a successful pilot?
Our suggested bar: intended reads succeed, prohibited operations fail without side effects, reviewers can inspect the saved policy, and every excluded connection has an explicit owner. Publish that coverage statement internally before expanding access.
Keep that coverage statement with the rollout approval. When someone adds a server or changes a client’s transport, use it to identify which tests need to run again.