How It Works
When hooks are installed, they intercept MCP tool calls before execution:- User invokes a tool — The AI assistant requests a tool call from a shadow MCP
- Hook intercepts — The call is captured before reaching the MCP server
- Policy evaluation — The call is checked against your organization’s policies
- Decision — The call is either:
- Allowed — Proceeds to the MCP server normally
- Blocked — Prevented and logged for security review
- Audit logging — All intercepted calls are logged for visibility
What Gets Intercepted
Hooks intercept tool calls from shadow MCP servers (those configured directly in the client, not through Runlayer). Tool calls to Runlayer-managed MCPs are handled by the Runlayer proxy and are not affected by hooks.Supported Clients
| Client | macOS | Windows |
|---|---|---|
| Cursor | ✓ | Coming soon |
Additional client support is in active development. Check the Runlayer dashboard for the latest supported clients.
Installation
Installation Overview
Manual installation and MDM options
SimpleMDM
Deploy to macOS via SimpleMDM
Jamf Pro
Deploy to macOS via Jamf Pro