Insights

Best network security and access control tools for MCP servers

Compare doxx.net for private access, Kong and Entra for remote MCP policy, and Docker for local isolation. Check each route before switching.

Illustration of tool chest with two-stage latches with outer door open, one tool drawer ajar and the others latched.
On this page

For a Model Context Protocol (MCP) server you run, choose doxx.net if you need a private route for approved devices or agents. If you already use Kong, look at its AI MCP Proxy for rules on who can call each tool. Use Microsoft Entra's preview firewall for supported remote traffic that goes through Global Secure Access, or Docker MCP Gateway to isolate local servers.

In short:

  • Private reachability. Use doxx.net to give approved devices and agents a private route to your server.
  • Remote tool policy. Use Kong for per-tool rules or Entra for supported traffic it can inspect.
  • Local isolation. Use Docker MCP Gateway to run servers in restricted containers.

Pick the control your MCP server needs

Match the tool to the route your clients use and the decision you need it to make.

Tool nameBest fitPlan or accessSkip if
doxx.netPrivate access to a service you runEssentials $6/month, Pro $16/month with custom firewall rulesOnly tool permissions need work
Kong AI MCP ProxyPer-tool rules for callers using Kong GatewayAI Gateway Enterprise, custom pricing billed annuallyRequired calls bypass Kong
Microsoft Entra Global Secure Access MCP firewallPreview policy for supported remote traffic under inspectionMicrosoft Entra Internet Access licenseYou need local coverage or can't inspect traffic
Docker MCP GatewayLocal MCP servers in isolated containersDocker Desktop with MCP Toolkit; gateway access in AI Governance is invite-onlyRequired requests don't use the gateway

What you get with each tool

Treat network reachability, tool permission and access to downstream records as separate decisions. A caller who can reach the server still needs to authenticate and have permission to use the tool. Keep permissions on the underlying records and services in place, too.

doxx.net

Choose doxx.net when approved devices or agents need a private route to an MCP service you run. Pair forwarding with firewall rules and strong authentication, and expose only the service you intend to share. Authorized agents can use the doxx.net application programming interface (API) and MCP tools to manage tunnels and firewall rules within the access you give them. Those controls manage the private network, not the tools on your MCP server.

Count agent seats separately from firewall needs. Free includes no agent seats, Essentials includes one at $6/month, and Pro includes five at $16/month. Choose Pro if you need custom firewall rules, even if you only need one seat. Keep your existing private route if it works and your only gap is tool authorization.

Kong AI MCP Proxy

Choose Kong when authenticated callers already use Kong Gateway and you need to decide which tools they can discover or invoke. The plugin translates between MCP and Hypertext Transfer Protocol (HTTP), so clients can use an existing API or an MCP server through Kong. An access control list (ACL) defines who's allowed or denied.

The plugin requires AI Gateway Enterprise and Kong Gateway 3.12 or later. Tool ACLs need 3.13 or later, so meeting the plugin minimum doesn't get you per-tool rules. Enterprise pricing is custom and billed annually. Keep Kong if the callers you need to govern use that route and its rules fit. Skip it as your sole control if those callers can reach the server directly.

Microsoft Entra Global Secure Access MCP firewall

Choose Entra's preview firewall when you have a Microsoft Entra Internet Access license and your remote MCP traffic goes through Global Secure Access. It inspects streamable HTTP and Server-Sent Events traffic. Transport Layer Security (TLS) inspection is required because Global Secure Access needs to read the encrypted MCP messages to apply policy.

Check the transport your client actually uses before counting on this firewall. A server running on the client device isn't visible to Global Secure Access. Standard input and output (stdio) and other non-HTTP transports aren't supported. Use a separate control for those routes, and skip Entra as your sole MCP control if you can't inspect the remote traffic.

Docker MCP Gateway

Choose Docker MCP Gateway when you want local MCP servers to run in containers with restricted privileges, network access and resource use. With MCP Toolkit enabled in Docker Desktop, the gateway runs in the background. If you use profiles, check which servers each client can use under its profile before deciding what else needs control.

MCP Gateway is an invite-only feature within Docker AI Governance. Its organization MCP policies cover registration and requests the gateway handles. Don't assume a Desktop subscription includes central enforcement. Keep the gateway for local isolation if it meets that need, but don't rely on it alone for clients that connect directly to remote servers.

What to check before you switch

In an approved staging workflow, assume a reporting agent should read a sample record but never edit it. Use a test identity for the agent, a client that shouldn't be able to reach the server, and a separate editor identity if someone should retain edit access.

1. Map the routes and identities. Note the client and transport for each enabled route, including private, gateway, direct and local routes you already use. For each route, name who should reach the endpoint and who should be able to call the read and edit tools. Record which identity the MCP server uses when it asks the underlying service for the record.

2. Check the endpoint, then the tools. Confirm that the approved client can reach and authenticate to the endpoint and that the unapproved client can't reach it on a route you intend to keep private. With the reporting identity, read the sample record, attempt the prohibited edit, then check the record's state. If the read can't connect, check reachability and authentication before blaming tool policy. If the edit succeeds, check which route the call took and which identity the server used downstream.

3. Check who keeps access under Kong's rules. Test who can reach the server directly, separately from who can call the edit tool through Kong. Tools without their own ACL inherit the default allow and deny rules. A tool with its own list uses that list instead of the defaults, so test an approved editor against a disposable record to make sure the tool still allows that caller.

4. Check Docker registration, gateway use and direct access separately. Check whether a new registration is allowed, then test what an already registered server lets the reporting agent do through the gateway. A registration block only affects future registrations. It doesn't remove a saved registration or tell you whether a gateway call will be allowed. For the same remote server, check the direct connection from the sandbox separately. Sandbox network policy decides whether that route is reachable, even when the gateway denies the tool call.

5. Check local isolation and outbound requests. The National Security Agency's MCP security advisory recommends isolating tool execution at the operating system level and filtering external connections by destination and access method. For a local server, check which process restrictions are in force. If outbound policy matters, test that the server can send the required request to an approved destination and can't reach a controlled destination outside that set. If the policy also limits request methods, check an allowed and a prohibited method at the approved destination.

6. Keep the controls that pass on your routes. Compare policy records with the client responses and the resulting record state. The check passes when the read works, the prohibited edit changes nothing and you can tell which control made each decision. Add or replace a control only where you find a gap. The result applies to the clients, identities, routes, actions and destinations you checked.

Where doxx.net fits. Use doxx.net for private access to an MCP server you run. To connect a device or agent to the private network, create a doxx.net account and download the app.

Ask an AI assistant

Share this article

Private Everywhere

Stop giving the internet everything

Keep your browsing, messages, files, and agents private.