Skip to main content

Mint Guard

Turn on built-in threat and data protection for every MCP gateway tool call. Mint Guard is a detection policy that MintMCP maintains and updates centrally, so you get prompt-injection and sensitive-data screening without writing your own rules or middleware.

Mint Guard page with the protection mode toggle and a 7-day summary: tool calls scanned, flagged calls, and findings by category (prompt injection, credentials/secrets, PII, harmful content)

Access Mint Guard at app.mintmcp.com/guardrails/mint-guard. Mint Guard is available on the Enterprise plan.

Every MCP tool call through the gateway is screened on both sides: the tool arguments the agent sends and the tool result the connector returns.

How Mint Guard fits with rules and middleware

Rules, middleware, and Mint Guard coexist on the same tool traffic, and any of them can block a call. They solve different problems:

UseWhen
Mint GuardYou want strong prompt-injection and sensitive-data screening out of the box, maintained by MintMCP, with one control and nothing to author.
RulesYou want to match specific tool names, argument patterns, or content with regex and pick an action.
MiddlewareYou want your own logic: call an external classifier, enforce a resource allowlist, or connect the DLP service your security team already runs.

Mint Guard only blocks and logs; it never rewrites or redacts a call, so if you need a call to proceed with sensitive values masked, use middleware. All three run together: Mint Guard as the managed baseline, with Rules and middleware on top for per-server policy, per-category decisions, and masking.

What Mint Guard detects

CategoryWhat it detectsCurrent action
Prompt injectionInstructions hidden in tool arguments or tool results that try to hijack the agentBlocks at high confidence
Credentials & secretsAPI keys, tokens, and passwords moving through tool callsLog only
PIIPersonal data such as contact details and identifiersLog only
Harmful contentUnsafe or abusive content in tool arguments and resultsLog only

Prompt injection blocks only at high confidence, so lower-confidence matches are recorded without stopping the call.

Choose how it applies

ModeEffect on tool calls
OffTool calls are not screened.
MonitoringEvery call is screened and detections are recorded, without changing any call. Detections the policy would block are recorded as would-block, so you can see the impact of enforcement before turning it on.
EnforcingCalls with a detection the policy blocks are stopped and return an error to the calling agent. Every other detection is recorded only.

Start in Monitoring to see what Mint Guard finds on your real traffic, review the flagged calls in MCP Activity, then move to Enforcing once you are confident in the impact.

This mode is the organization-wide default. To screen a specific connector differently, set a per-connector override.

What a blocked call looks like

In Enforcing mode, a blocked call never reaches the upstream connector on the request side, and on the response side the upstream result is withheld from the agent. The calling agent receives a terse error naming the category that triggered the block, for example Blocked by Mint Guard: prompt injection detected. Blocked calls appear in MCP Activity with the blocking category.

Detail view of a blocked call: the response scan is marked Blocked with a high-confidence prompt-injection finding, and the agent receives a terse error

Performance and large results

Mint Guard screens calls inline, bounded by a per-call timeout. If screening would exceed that timeout, the call is allowed through rather than delayed.

Very large tool results are scanned only in their leading portion, and when a result is too large to scan in full, Mint Guard flags the scan as incomplete in the response.

Review detections

Every scanned call records its Mint Guard result in MCP Activity. To see only flagged calls, use the Mint Guard hit filter under More filters. The Mint Guard page also summarizes the last 7 days: tool calls scanned, calls flagged to block, and findings by category.

What gets recorded

Mint Guard records the category, a confidence band, and for sensitive-data categories the kind of data matched (for example EMAIL_ADDRESS or PASSWORD). The matched value is never stored. These findings are retained even when full tool-call logging is turned off.

Detail view of a flagged call: the response scan lists PII findings by kind and confidence band (street address, medium; email, high), with the matched values not shown

Permissions

Changing the Mint Guard mode requires guardrails manage access (org:guardrails:manage). Members without it see the current state and the detection policy but cannot change the mode.

Set per-connector overrides

The mode you pick applies to every connector by default. Override it for a single connector when Mint Guard is too strict, or not strict enough, for that connector's traffic: a connector whose own boilerplate keeps tripping prompt-injection detection, or a CRM connector whose responses always carry PII you don't want screened.

Each connector is set separately for each scan direction:

  • Request — the tool call the agent sends, screened before it runs.
  • Response — what the connector returns, screened before it reaches the agent.

Set each direction to Inherit (follow the organization mode), Off, Monitoring, or Enforcing. A connector can be stricter than the organization default (Enforcing while the organization monitors) or looser (Off on one direction), so you can leave Request screening on while turning the Response direction off for a PII-heavy connector, or turn a connector off entirely by setting both directions to Off.

Overrides never turn screening on while Mint Guard is off for the organization, because the organization mode is the master switch.

Connector overrides card on the Mint Guard page: a table listing each overridden connector with its Request and Response settings (for example Inherit (Monitoring) and Off), and a New override button

Add or change an override

Overrides are managed on the Mint Guard page:

  1. Open app.mintmcp.com/guardrails/mint-guard and find the Connector overrides card, which lists every connector whose setting differs from the organization default.
  2. Select New override, pick the connector, and set the Request and Response directions.
  3. Save. To return a connector to the organization default, set both directions back to Inherit, or remove the override.
Connector override dialog: the connector name, and Request and Response directions each set to Inherit, Off, Monitoring, or Enforcing

Each connector's page also shows its effective Mint Guard setting under Mint Guard override, with a link back to manage it. Changing an override requires guardrails manage access (org:guardrails:manage); the setting is visible to anyone with guardrails view access.

When a direction is set to Off, calls still appear in MCP Activity marked Skipped — connector override, so the audit trail shows the direction was intentionally not screened rather than showing nothing.

Mint Guard section of a call detail: both the Request scan and Response scan are marked Skipped — connector override, noting Mint Guard is off for this connector in this direction

FAQ

Can I enable Mint Guard for only some MCP servers? Yes, by exception. Turn Mint Guard on for the organization, then override the connectors that should differ, including setting a connector to Off so it isn't screened at all. Overrides can't turn screening on while Mint Guard is off for the organization, since the organization mode is the master switch, so you set the organization default and carve out the exceptions. Any server you add later inherits the organization default until you give it an override.

Can I keep prompt-injection screening but turn off PII logging? Not per category. The mode (Off, Monitoring, or Enforcing) is the only category lever, so turning a direction off drops all screening in that direction, not just PII. You can, though, screen a connector in one direction only: for a connector whose responses always carry PII, set its Response direction to Off (or Monitoring) and leave Request screening on. Mint Guard records only the category, confidence band, and kind of data matched, never the PII value itself, so detections do not put your data in the logs. To handle a category differently, for example redact PII instead of logging it, use Rules or middleware.

Does Mint Guard mask or redact sensitive data? No. Mint Guard blocks (high-confidence prompt injection) and logs; it never rewrites a call. Masking a value so the call can still proceed is a middleware capability.

Availability

To enable Mint Guard for your organization, contact enterprise@mintmcp.com.