Bartosz Gołębiewski
04/14/2026, 10:55 AMpermit.check() via the Permit SDK and this is answered by Permit's PDP , not a generic OPA query. We've also reviewed the enterprise deployment page but found no mention of external/delegated decision endpoints.
Two questions:
• Does the MCP Gateway support an external decision endpoint (webhook, custom PDP URL or similar) that would let us route authorization decisions to our own OPA?
• If not, can the open-source PDP be configured to load policies from our own OPAL server and Rego bundles instead of Permit's cloud control plane? We'd want to avoid running two parallel OPA+OPAL stacks with two separate policy sources.Ask Inkeep
04/14/2026, 10:55 AMAsk Inkeep
04/14/2026, 10:55 AMpermit.check() on every tool call, and these authorization decisions are evaluated by the Permit PDP (Policy Decision Point) . In the hosted deployment, the cloud PDP handles these evaluations, while customer-controlled deployments can use a local PDP so authorization decisions stay within your network .
*Regarding external decision endpoints:*
The available documentation does not describe support for routing authorization decisions to an external OPA instance or custom decision endpoint. The architecture shows the Gateway is designed to integrate specifically with Permit.io's PDP for all authorization checks .
*Regarding PDP policy source configuration:*
The PDP is configured via environment variables (2) . The critical configuration is PDP_API_KEY, which is required and must be an Environment-level API Key used to authenticate the PDP against Permit.io . The PDP also uses PDP_CONTROL_PLANE (default: <https://api.permit.io>) as the URL of the Permit.io control plane .
The documentation does not describe configuring the PDP to load policies from an external OPAL server or custom Rego bundle source instead of Permit's control plane. The PDP configurations reference Permit.io's control plane endpoints (PDP_CONTROL_PLANE_PDP_DELTAS_API, PDP_CONTROL_PLANE_RELAY_API) with a note that these are "controlled by Permit.io, changing it can cause your PDP to malfunction" .
I don't have information in the available sources about delegating to external OPA instances or using custom policy sources with the MCP Gateway's authorization flow. For your specific use case—integrating with an existing OPA + OPAL stack—I'd recommend reaching out over Email to discuss whether custom integration patterns are available for enterprise deployments.
Would you like a general answer based on my knowledge instead?
**Ask Inkeep
04/14/2026, 10:56 AMOr Weis
04/14/2026, 11:02 AMAsk Inkeep
04/14/2026, 11:02 AMAsk Inkeep
04/14/2026, 11:02 AMpermit.check() evaluations" .
The PDP is described as "bundling together OPA, OPAL and an API Server" (2) , and Permit's PDP orchestration is "powered by OPAL" . However, the architecture documentation consistently shows the Gateway calling permit.check() against Permit's PDP (3) , and each gateway host maps 1:1 to a Permit environment where "MCP servers imported into a host become resource types in the linked Permit environment" (4) .
*What's not documented:*
The available sources don't describe:
• Configuring the self-hosted Gateway to use an external OPA endpoint instead of Permit's PDP
• Loading custom Rego policies from your own OPAL server into the Gateway's authorization flow
• Bypassing the Permit control plane for policy management in self-hosted deployments
For detailed information about custom Rego policy configuration and external OPA integration in self-hosted Gateway deployments, I recommend reaching out over Email to discuss your specific architecture requirements.
Would you like a generalAsk Inkeep
04/14/2026, 11:02 AMOr Weis
04/14/2026, 11:05 AM