Red Hat details how Connectivity Link inspects MCP tool calls with NeMo Guardrails
An engineering walkthrough shows how platform teams can screen tool arguments before execution and redact results before they reach an agent.
Red Hat Developer’s Dec. 2 walkthrough shows where NeMo Guardrails fits in the Model Context Protocol (MCP) gateway in Red Hat Connectivity Link. The integration inspects tool-call arguments on the way to a backend and tool results on the way back. It addresses a different problem from authorization: an agent can be allowed to use a tool without every argument it supplies being acceptable.
Where inspection happens
The gateway first authenticates and authorizes the caller. The MCP router then identifies the tool and backend and sends the tool name and arguments to NeMo Guardrails for inspection. A call blocked at that point does not reach the MCP server. If a call proceeds, the gateway inspects its result before returning it to the client. Depending on the configured checks, the result can be returned unchanged, discarded or returned with sensitive data masked.
Red Hat identifies the integration with OpenShift Container Platform 5 and OpenShift AI 3.6. That is separate from the availability of NeMo Guardrails itself, which the walkthrough says was generally available starting with OpenShift AI 3.4. The post also points to a Dec. 9 event for the unveiling of Red Hat AI 3.6; the walkthrough is not itself a general-availability announcement for that release.
What platform teams can configure
The walkthrough starts with a global configuration referenced by the gateway extension. A per-server registration can add checks for backends that handle more sensitive information. Global guardrails run first; the server-specific rules supplement rather than replace them. The example uses failMode: deny, which makes an unavailable guardrail check stop traffic rather than letting it through unchecked.
For teams evaluating the integration, a useful first test is to confirm separately that a disallowed request does not reach the backend, that a sensitive test response is masked before reaching the client, and that an unavailable guardrail service produces the intended failure behavior. Keep authorization and rate limits in place: the gateway’s content checks do not decide who is entitled to use a tool or how often.
sources
- Red Hat Developer: Securing AI agent tool calls at the gateway with NeMo Guardrailsdevelopers.redhat.com
comments · 0