Refuse MCP tool execution for a tenant that handles PHI

FeatureMCPGatewayService
Shipped
August 25, 2026 at 12:55 AM UTC
Author
Kamo
Commit
2bd0c05

executeTool forwards operator-supplied arguments to an operator-typed URL and can spawn a stdio process, with no allowlist, no SSRF guard and no destination audit — so the set of processors it can reach is unbounded and unknowable. That is why MCP_GATEWAY is BLOCKED_NO_BAA rather than pending work, and it had no enforcement point until now. The guard sits in McpServerManager.executeTool rather than the controller, ahead of the tenancy check and before any transport is touched. Note: **************** was already failing before this change and is unrelated.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing