Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideIntegration & Security5 min read

MCP gateway on premises: placement, network, identity and logging checklist

Placement, network, identity and logging

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: API Management & Integration
On this page
  1. Placement
  2. Network
  3. Identity
  4. Logging
  5. Go-live checklist
  6. Common mistakes
  7. Capacity and upgrades
  8. Questions we hear

To run an MCP gateway on premises, place it between your agents and every MCP server, put it in a network zone that can reach both but is not open to the internet, tie it to your own identity provider, and send its logs to your own store. The gateway then becomes the one place where policy applies, so size it, secure it and make it redundant like any other control point.

This checklist is general practice built on the MCP specification. Products differ, and your network standards come first.

Placement

  1. One path: agents reach MCP servers only through the gateway. Block direct routes with network rules, or the gateway is optional.
  2. Zone: put the gateway in an internal application zone, with the MCP servers in the zones their data requires.
  3. Close to the servers: keep latency low and traffic inside your network where data must not leave.
  4. Model calls: if agents call external models, separate that path. It is a different control, covered by an AI gateway.
  5. Redundancy: run at least two instances behind a load balancer, since a gateway outage stops every agent.
  6. Environments: separate gateways, or at least separate policy sets, for dev, test and prod.
  7. Residency: if data must stay in a region or site, check where logs and caches live as well. See the data residency checklist.

Network

CheckDetail
InboundOnly from agent hosts and approved clients, over TLS
OutboundOnly to registered MCP servers and your identity provider
TLSUse it on every hop; the specification requires HTTPS for authorization endpoints
Internal certificatesIssue from your own certificate authority and plan renewal
Egress to the internetDenied by default, with exceptions for approved remote servers
Private rangesBlock discovery requests to internal address ranges unless required, to limit request forgery
Firewall rulesDocumented and reviewed
Health checksSeparate from user traffic

Remote MCP servers run by third parties are the exception. Decide whether they are allowed at all. If so, route them through a controlled egress path and list each in the registry. See our governance model.

Identity

The specification treats an MCP server as an OAuth resource server. It must accept only tokens issued for it and must not pass a client's token on to other services.

  1. Use your existing identity provider, such as Microsoft Entra ID or a corporate OIDC provider, as the authorization server.
  2. Use the user's identity and groups to decide which tools each agent may call.
  3. Give the gateway its own credentials for downstream systems. Do not forward the client's token.
  4. Keep tokens short-lived, and store secrets in a vault.
  5. Require strong authentication for administrators of the gateway.
  6. Give each agent its own identity so it can be revoked on its own.

See MCP authentication with OAuth for the flow and common mistakes.

Logging

  • Log every call: user, agent, server, tool, arguments, result status and time.
  • Send logs to your own store, with time sync across hosts.
  • Protect the logs from change, and limit who can read them, since arguments may hold sensitive data.
  • Decide what to redact before it is stored. See the audit logging runbook.
  • Alert on denied calls, new servers and unusual volume.
  • Test that you can answer "what did this agent do for this user last Tuesday".

Go-live checklist

  1. All agent traffic is forced through the gateway.
  2. At least two gateway instances run and failover was tested.
  3. TLS on all hops.
  4. Identity provider connected and token audience checks tested.
  5. Registry holds every server, with owners.
  6. Logs arrive in your store and a search works.
  7. Admin access is restricted and logged.
  8. A rollback plan exists.
  9. The first review date is set.

For the service, see MCP gateway. For a scenario, see MCP security review before go-live.

Common mistakes

  • Leaving a direct route from agents to servers "for testing", then forgetting it.
  • Running a single gateway instance and discovering the dependency during an outage.
  • Using the internal network as the only trust boundary.
  • Sending logs to a store the gateway's administrators can edit.
  • Forgetting upgrades. A gateway is software you patch, so assign an owner and a window.

Capacity and upgrades

Estimate load from the number of agents, calls per task and peak concurrency, then test at twice that figure. A gateway adds a hop to every tool call, so measure the added latency with real tools. Schedule patching with the same care as for any security control, and rehearse a rollback. Keep a copy of the gateway configuration in version control, with reviews, so changes to policy leave a trail.

Questions we hear

Can we run an MCP gateway fully offline? Yes if every server and the identity provider are inside your network. Remote servers need controlled egress.

Do we need a gateway per environment? At minimum separate policy and credentials per environment. Separate instances are cleaner.

Where should the gateway run? In an internal zone that reaches agents and servers, with no direct internet exposure.

Sources checked November 27, 2026:

Related: MCP gateway · MCP data residency checklist

Frequently asked questions

Can we run an MCP gateway fully offline?

Yes if every server and the identity provider are inside your network. Remote servers need controlled egress.

Do we need a gateway per environment?

At minimum separate policy and credentials per environment. Separate instances are cleaner.

Where should the gateway run?

In an internal zone that reaches agents and servers, with no direct internet exposure.

Does on premises remove the need for authentication?

No. Internal networks are not a control. Validate tokens and log users.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote