Access Control
Making an MCP server available on the internet is a security risk. Most MCP servers are stdio and therefore not designed to be exposed to the internet. We recommend that you start with HTTP Authorization and only explore other options if you have specific needs.
Following are some of the ways to secure your MCP server:
HTTP Authorization
Shows how to add HTTP authorization to an MCP proxy
Wireguard tunnels and Flycast
Shows how to use a wireguard tunnel and flycast to access a proxy
Reverse Proxy
Shows how to use a reverse proxy to access your application