All posts

MCP gateways: what they mean for your access reviews (on on-prem)

Many assume that placing an MCP gateway on‑prem automatically satisfies access reviews. In reality the gateway merely forwards traffic; it does not record who asked for what, nor does it enforce any policy beyond the static configuration you wrote. Teams often provision an on‑prem MCP gateway, hand a service account token to an AI agent, and let the agent talk directly to databases, Kubernetes clusters, or internal APIs. The token is long‑lived, shared across multiple jobs, and never rotates.

Free White Paper

Access Reviews & Recertification + Single Sign-On (SSO): The Complete Guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free. No spam. Unsubscribe anytime.

Many assume that placing an MCP gateway on‑prem automatically satisfies access reviews.

In reality the gateway merely forwards traffic; it does not record who asked for what, nor does it enforce any policy beyond the static configuration you wrote.

Teams often provision an on‑prem MCP gateway, hand a service account token to an AI agent, and let the agent talk directly to databases, Kubernetes clusters, or internal APIs. The token is long‑lived, shared across multiple jobs, and never rotates. No central log captures the exact commands the agent runs, and no one can prove whether a sensitive field was returned or altered. When auditors ask for evidence, the answer is usually “the gateway was up and the token existed,” which fails any meaningful access‑review process.

The core problem is that access reviews need visibility into each request, but the current setup leaves the request path completely open. Even if you tighten the initial identity, using OIDC or a service account with limited scopes, the request still reaches the target resource directly. There is no checkpoint that can enforce just‑in‑time approval, mask returned data, or block dangerous commands. Consequently, the review team sees only static IAM policies, not the dynamic behavior of each session.

hoop.dev solves this gap by inserting an identity‑aware proxy into the data path of every MCP gateway connection. The gateway becomes a thin forwarder that hands off traffic to hoop.dev, which then inspects the wire‑protocol, applies masking rules, requires just‑in‑time approvals, and records the full session for later replay.

When you register an on‑prem MCP gateway as a connection in hoop.dev, the gateway no longer talks directly to the target. Instead, each client, whether a human operator or an AI‑driven agent, authenticates against an OIDC provider, receives a short‑lived token, and presents that token to hoop.dev. hoop.dev validates the token, checks group membership, and then decides if the request may proceed. If the operation matches a policy that requires review, hoop.dev pauses the request and routes it to an approver before allowing it to continue.

Because hoop.dev sits in the data path, it can enforce every access‑review control you need. It records each session, so reviewers can replay exactly what was typed and what was returned. It masks sensitive fields on the fly, ensuring that downstream logs never contain raw credit‑card numbers or personal identifiers. It blocks commands that are known to be risky, such as dropping a production database, unless a privileged approver explicitly authorizes them. All of these outcomes exist only because hoop.dev is the gatekeeper; the underlying identity setup alone does not provide them.

Continue reading? Get the full guide.

Access Reviews & Recertification + Single Sign-On (SSO): Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.

For access‑review teams, this means a single source of truth that ties identity, intent, and outcome together. Auditors can query the session archive to see who accessed which MCP‑served resource, what commands were run, which fields were masked, and which approvals were required. The evidence is granular enough to satisfy most regulatory frameworks without having to instrument each downstream service individually.

The setup remains straightforward. You configure your OIDC or SAML provider (Okta, Azure AD, Google Workspace, etc.) to issue tokens that hoop.dev can verify. You define least‑privilege service accounts for the agents, and you register each MCP gateway as a connection in hoop.dev’s catalog. The gateway itself does not need to change its code; it simply points to the hoop.dev endpoint. All enforcement logic lives in the data path, keeping the gateway and the target resources untouched.

Getting started is as simple as following the getting‑started guide and reviewing the feature documentation for MCP gateway integration. The open‑source repository contains all the manifests you need to deploy the proxy in your on‑prem environment.

Access reviews and MCP gateways

When an access‑review process looks at static IAM roles, it misses the dynamic context of each request. hoop.dev bridges that gap by providing real‑time visibility and control, turning a passive gateway into an active audit point.

FAQ

Can I use hoop.dev with existing MCP gateways without redeploying them? Yes. hoop.dev acts as a forward proxy, so you only need to reconfigure the gateway’s endpoint to point at hoop.dev. The gateway continues to run its original code.

Does hoop.dev store any credentials? The proxy holds the credentials needed to reach the target resource, but they never appear in client‑side logs or in the agent’s environment. Access is mediated entirely by hoop.dev.

How does this help with compliance audits? Every session is recorded and can be replayed, approvals are logged, and sensitive data is masked before it ever reaches a log sink. This evidence satisfies the audit trails required by most access‑review standards.

Ready to see the code? Explore the hoop.dev repository on GitHub and start securing your on‑prem MCP gateways today.

Open source

Save the open-source gateway for agent data access

Hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.

Star and save the repo →More posts