Skip to main content
Settings Warning cover — loud label, quiet reality.

What you are seeing

When launching Claude Code, a warning appears:
If your organization enabled MCP restriction, MCP servers — including approved ones — may also fail to load.

What is actually happening

When your organization turns on MCP restriction, AgenShield writes an allowlist of approved MCP servers into Claude Code’s managed settings file. In affected versions, the entries were written in a format Claude Code does not accept, so Claude Code ignored every entry. An ignored allowlist behaves as an empty allowlist — with restriction on, that blocks all MCP servers, not just unapproved ones. The warning is Claude Code reporting the rejected entries; the rest of the file still works. Affected versions: releases before 2026.8.2. Fixed in: 2026.8.2 and later — updating writes the allowlist in the format Claude Code accepts on the next policy sync.

How to recover now

  1. Ask your administrator to briefly turn MCP restriction off and back on in the Frontegg Portal (this recompiles the policy), or simply update AgenShield to the latest version — the corrected format is applied automatically on the next policy sync.
  2. If the warning persists after the policy has updated, remove the stale file and let AgenShield rewrite it:
  3. Relaunch Claude Code. The warning is gone and approved MCP servers load normally.

The fix

AgenShield now writes MCP allowlist and denylist entries in the exact format Claude Code validates, and automatically repairs a settings file that still carries the old format. Update AgenShield to the latest version; no configuration change is needed.

When to escalate

If the warning persists after updating AgenShield and removing the stale file, collect a diagnostics bundle (see Collecting diagnostics) and contact support with the warning text.