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.

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.

FAQ

Can I enable Mint Guard for only some MCP servers? No. Mint Guard is all-or-nothing: it screens every MCP tool call through the gateway or none of them, and any server you add later is covered automatically with no per-server opt-in to remember. When you need protection on some servers but not others, use Rules or middleware alongside it.

Can I keep prompt-injection screening but turn off PII logging? No. The mode (Off, Monitoring, or Enforcing) is the only lever, so there is no per-category toggle and turning Mint Guard off drops all screening, not just PII. 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.