What you are seeing
When launching Claude Code, a warning appears: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 before2026.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
- 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.
-
If the warning persists after the policy has updated, remove the stale file
and let AgenShield rewrite it:
- Relaunch Claude Code. The warning is gone and approved MCP servers load normally.