Overview
The AI Guardrails recipe sets the default handling for MCP servers and skills that aren’t in your Catalog. Items in the Catalog follow their own access controls instead. The recipe has two settings:
For each setting, choose:
- Allow and Monitor: Formal lets the traffic through and logs it. New items appear in Shadow AI for review.
- Block: Formal blocks the traffic. For unknown MCP servers, the agent receives a list of approved alternatives. For unknown skills, the user sees Formal’s standard block message.
Configure a Guardrail
1
Open AI Guardrails
Go to Recipes and open AI Guardrails.
2
Choose what happens
For unknown MCP servers and unknown skills, select Allow and Monitor or Block.
3
Write the block message (optional)
With Block selected, enter Message shown to blocked users. Formal stores it as the policy’s
reason, which appears in Logs. Users don’t see this text yet: they get the alternatives list or Formal’s standard block message.4
Save
Click Save Changes.
What Formal Creates
Each guardrail set to Block is a generated policy. Selecting Allow removes it.Block Unknown MCPs
The policy blocks MCP tool calls to servers that have no Formal Resource:mcp_suggest_alternatives block tells the agent which approved MCP servers it can use instead. It also explains how to request the blocked server. See Suggest approved MCP alternatives.
Only the Formal Endpoint sees MCP servers that have no Formal Resource. This guardrail applies on devices that run the Endpoint with Transparent Mode.
Block Unknown Skills
The policy blocks LLM requests that load a skill whose name is not in an approved list:approvedSkills holds the names of the managed skills in your Catalog. Formal updates the list when someone with the Policies permission opens the Catalog, Shadow AI, or the AI Guardrails recipe.
Formal detects loaded skills in Claude Code traffic only, so this guardrail doesn’t affect other agents. It names each loaded skill after the folder that holds its SKILL.md.
Troubleshooting
An unknown MCP server isn't blocked
An unknown MCP server isn't blocked
Cause: The traffic doesn’t pass through the Formal Endpoint, or the server has a Formal Resource. Fix: Confirm that a network rule intercepts
mcp traffic on the device. Servers with a Formal Resource follow their Catalog access controls.A managed skill is blocked
A managed skill is blocked
Cause: The skill’s access controls exclude the user. Fix: Open the skill in the Catalog and check Access Controls.
Next Steps
Shadow AI
Review items that people already use
Access Requests
Approve employee requests for blocked MCP servers