MetorialDocs

Block destructive MCP tools for everyone in your company

Set Destructive Tools to Reject in the Tool Filters of every integration you share. Rejected tools are never sent to any AI client, so no agent can call them.

To block destructive tools, open each shared integration's Tool Filters and set Destructive Tools to Reject. Rejected tools are removed before the tool list reaches any AI client. The filter is set per integration, so repeat it for every integration you share.

What you'll learn

  • How to reject destructive tools on an integration
  • How to stop instances from widening the filter
  • How to check the result

Before you start

In the dashboard

Open the integration's tool filters

Open Integrations, then Integrations, select the integration, and open Tool Filters. Group by Access.

Reject destructive tools

Set Destructive Tools to Reject. Leave Read-Only Tools on Allow.

Read the Write Tools list

A tool lands in Destructive Tools only when its provider tagged it destructive. Untagged tools land in Write Tools. If one of them deletes data, set Write Tools to Mixed and clear it.

Lock the filter

Open the integration's Settings and turn off Allow tool filter overrides and Allow custom tool filters, so an instance of the integration cannot widen the filter.

With the CLI

The API takes an allowlist. Name the tools to keep, and every other tool is rejected.

# Find the integration and its providers
metorial-admin integrations list --search github
metorial-admin integrations providers list --integration-id <integration-id>

# Keep only the named tools
metorial-admin integrations providers update <integration-provider-id> \
  --body '{"tool_filters":{"type":"tool_keys","keys":["list_issues","get_issue"]}}'

# Stop instances from widening the filter
metorial-admin integrations update <integration-id> \
  --can-override-tool-filters=false \
  --can-attach-custom-tool-filters=false

Check it worked

List the tools a server exposes and confirm no destructive tool is in the output:

metorial-admin magic-mcp servers list --search github
metorial-admin magic-mcp servers tools <server-id>

A person can run metorial tools <integration-id> for their own integration. In an AI client, sign in again and list the tools.

What the filter does not cover

  • Metorial has no step that pauses a call for human approval. Approval prompts are a setting in Claude, ChatGPT, Codex, Claude Code and Cursor.
  • There is no single organization-wide switch. To refuse a tool by name across all integrations, add middleware to an Outpost in your network.
  • Providers add tools in new versions. Review the filters after an update.

A team that needs one destructive tool gets its own integration, shared only with that team's access group, with Destructive Tools set to Mixed and that tool selected.

Next steps