Overview
Connecting AI agents to Model Context Protocol (MCP) servers traditionally requires weeks of coordination across networking and identity teams—involving firewall rules, ACLs, port forwarding, VPNs, and static API keys that introduce lateral movement and data exfiltration risks. In this demo, NetFoundry Sales Engineer Jerome Mills shows how MCP Connect, powered by the NetFoundry platform, connects local and cloud-hosted AI agents to MCP servers in minutes while keeping those servers completely dark and off the internet.
Using a live setup with a local Claude instance and a cloud-hosted n8n chatbot, Jerome walks through enrolling an MCP server that listens only on localhost, mapping identity provider (IdP) groups to specific servers, authenticating agents over outbound port 443, and instantly revoking client access at the edge with a single click.
3 Key Takeaways
- Keep MCP Servers Completely Dark: By running the NetFoundry Ziti Edge Tunnel on the MCP server, the server only needs to listen on localhost and connects outbound over port 443—eliminating inbound ports, VPNs, and public exposure even on your local network.
- Deploy Across Local and Cloud Agents in Minutes: Instead of waiting days or weeks for firewall and ACL updates, teams can enroll an MCP server, map IdP groups to specific tools, and authenticate agents like Claude and n8n in minutes using X.509 cryptographic identities.
- Enforce Continuous Authorization with Instant Revocation: Every connection is authenticated before reaching the server and tracked at the user level, allowing administrators to immediately block suspicious agents at the edge with a single click.
FAQs
How does MCP Connect keep MCP servers off the internet? The NetFoundry Ziti agent on the MCP server makes an outbound-only connection to the NetFoundry fabric over port 443. Because the agent runs on the server itself, the MCP server only needs to listen on localhost, keeping it completely dark with zero inbound ports.
Which types of AI agents can connect through MCP Connect? Local, cloud-hosted, and third-party agents can all connect to the same NetFoundry fabric over outbound port 443. In the demo, Jerome connects both a local Claude instance and a cloud-hosted n8n chatbot.
How does MCP Connect handle authentication and access control? MCP Connect uses a cryptographic identity policy based on X.509 certificates and integrates with your existing identity provider (IdP). Administrators map IdP groups to specific MCP servers, ensuring clients authenticate before connecting and only see the tools they are authorized to use.
What happens if an agent exhibits suspicious activity? Because authorization and authentication are continuous, administrators can view active clients at the user level and block a specific agent with one click. Once blocked, the agent’s authorization fails immediately at the edge.
Full Transcription
Hello, my name is Jerome Mills. I’m a sales engineer with NetFoundry, and today I’ll be showcasing just how easy it is to connect different agents to your MCP servers using MCP Connect while keeping them dark and off the internet.
Current connectivity solutions require a host of different tools and different teams. Networking teams require firewall rules, ACLs, port forwarding, or just standard VPNs. That accounts for lateral movement; bad misconfigurations mean open ports, and unnecessary data exfiltration may be possible. IdP teams also need to manage keys, which can be stolen and require ongoing monitoring and management.
Now ultimately, this means that platform teams can expect time to connectivity in days and weeks. Any misconfiguration can at best mean a couple days of troubleshooting and at worst can expose your critical data to bad actors with their own agents.
Using MCP Connect, powered by the NetFoundry platform, means that your agents from outside the network get connected in minutes. The NetFoundry Ziti agent makes an outbound connection to the NetFoundry fabric on the MCP server side that allows the connections to the tools available.
Agents—whether they be local, cloud, or third-party—connect to the same fabric via outgoing port 443, gain access through your IdP, and the groups that they belong to will give them the specific servers that you want them to have access to. Authorization and authentication is ongoing, so any suspicious activity that you see from a specific agent can be blocked immediately.
Now in the demo, I’ll be going over two of them on the left. The first one is the local Claude instance, as well as a cloud-hosted environment, specifically n8n. On the right side, I’ll first enroll an MCP server, and you can see just how easy it is to get it set up.
First here in the MCP Connect overview page, we can see the network name and the identity provider we already have configured. Here are the groups and accesses that we have seen. Anytime a group has a UUID like this, we can put a human-readable slug. This is also a place that allows us to specify which specific MCP servers these groups will have access to.
Here in the MCP servers page, we see that nobody is hosting one, so I’ll go ahead and set this up. You’ll note here the backend address and port configuration. Using this, if the agent runs on the MCP server itself, that means that the MCP server only has to listen on the localhost, thereby keeping it completely dark even on your local network.
First thing I’m going to do is delete this old one, give it the exact same name, and you’ll see I have the ability to download the token. Now that I’ve downloaded the file, I’ll go ahead and open it here off-screen, add a couple quick commands to it, which allows me to go right onto the server, execute the command, and because the NetFoundry Ziti Edge Tunnel is already installed here, this will get done in minutes. And installing it is a simple one-line command that adds the binaries.
So I’ll go ahead and add the identity, and that’s it. The MCP server is now configured and able to take inbound requests via the outbound port 443. Do a quick refresh, we see that it’s online and it is hosting.
So now what I’ll do is hop back out to the MCP servers, copy the client URL, and hop into my free Claude account. Come into the plugins, add a custom connector, give it a name, click continue.
Now, this is going to open up a new window to allow for that authentication. First come in using my NetFoundry account. Because that account belongs to those specific groups, it’ll have access to the tools. In a few moments, we can see all of the tools that are available. It shows here that we are connected. And again, that’s it—just a couple seconds, and we’re already authorized, authenticated, and ready to go.
The same is true here. Here we have a very simple chatbot. Go ahead and edit the MCP server; you’ll notice that it’s got the same address here as the endpoint. I’m going to go ahead and disconnect and then reconnect. Again, the same thing happens: pop-up shows up, I select my account for authorization, and now we’re in. I can then in turn go to select the tools, and we see all the tools that are available. And that’s it—a couple seconds and we’re done again.
Now, if I come over here into the client section, we’ll see that Claude and n8n are active from my user account. There’s the redirect URI that we’ve been given, and I can go ahead and block it here. Now that I’ve blocked it, let’s head back into the account and try to see what selected tools we have. We’ll see that it is unable to because the authorization has failed at the edge.
Once again, with NetFoundry’s identity-first connectivity solution, the MCP server has a cryptographic identity policy that’s based on your X.509 certificate, and all clients—whether they’re local, in a third-party cloud, or hosted in your own cloud—have to authenticate before connecting. Because there’s no inbound ports, no VPNs, the complexity is removed because of the less network friction.
As we saw, it was easy to set up in a matter of minutes. Your IdP team can have your application configured in a short amount of time, compared to the weeks that it may sometimes take for the network firewall team to update their ACLs or any kind of routing. And we saw that every agent shows exactly who it’s connecting to and who it’s connecting from at the user level, and we were able to very quickly remove that access at the click of a button.
Thank you very much for your time. Have a wonderful day.