Plugins
Plugins attached to an MCP Gateway run on every tool call it serves. Guardrail Rules do not run on tool calls. To check tool traffic, use plugins and the gateway’s own Guardrails. Click + Plugin to attach one. Each listed plugin has a icon to configure it and an overflow menu to remove it.
The create and update requests take a
plugins[] array where each entry carries the plugin id and that plugin’s settings: PII Redaction takes entities, regions, entity_thresholds, threshold, language and on_failure; Trace Scrubbing takes mask.
Plugins enforced at workspace level apply as a floor: an MCP Gateway can add plugins or tighten their settings, but cannot remove or weaken an enforced one.
Guardrails
Guardrails attached to an MCP Gateway check the tool calls it serves. Click + Guardrail to pick a system Guardrail or a guardrail-capable Evaluator, then set where it runs:- Input: checks the tool name and arguments before the call reaches the upstream MCP Server. Resource reads are checked at this stage too.
- Output: checks the tool result before it returns to the client.
- Both: runs at both stages.
PII Redaction is a plugin that masks values in arguments and results. PII Detection is a guardrail that blocks or scores a call when it finds personal data. Use redaction when the upstream call should still run with masked values; use detection when a match should stop the call or record a score.
Guardrails run after PII Redaction, so a judge never sees the unmasked values.

Plugins and Guardrails sections on the MCP Gateway Settings tab
Tool call blocked by input guardrail "<name>"; the tool was not run. for input, or Tool result blocked by output guardrail "<name>"; the result was withheld. for output. If the check cannot be evaluated, the call fails closed with the JSON-RPC error guardrail evaluation failed.
Through the API, set guardrails on create or update. Each entry takes id, execute_on (input, output, or both), and optional sample_rate, is_guardrail, and options. On update, an omitted guardrails field leaves the list unchanged, and a non-empty list replaces it.
Runtime Limits
Caps applied to traffic through the MCP Gateway. Set them on the Create MCP Gateway form or on the Settings tab of an existing gateway: every limit is console-only, and no API field or SDK method sets them. Each field takes a whole number starting at0.
A gateway created through the API starts from the defaults in the table below, not from a blank record, with Max tools / gateway stored as 0. The request and response caps and the two request rates therefore apply immediately; only the tool cap waits to be set.
Exceeding either request rate returns 429 with a JSON-RPC error -32001 and the message rate limit exceeded. The window is rolling: each request counts against the limit for the next 60 seconds, with no reset on a minute boundary. The response carries no Retry-After header, so back off until earlier requests age out of the window.
Hitting a request, response, timeout, or rate limit, or losing the upstream server, answers the call with an error the MCP client displays. Three of them also change the HTTP status; the rest arrive as a
200 response carrying the error.
A tool that runs and reports its own failure is not an error: the gateway returns a normal
tools/call result with isError: true and the upstream content.
A tools/call timeout means the gateway stopped waiting for the upstream response; the tool may already have completed. The gateway does not retry upstream tool calls, so retry a non-idempotent tool only when the tool itself is safe to repeat.
The MCP Gateway errors reference covers the gateway, upstream, guardrail, and management strings, with their causes and fixes.