Latest / Big Iron Radio / Homelab Brief - Hardening MCP Servers: Auth and Transport
Transcript
- 0:02Welcome to the Homelab Brief from Big Iron.
- 0:06Today, hardening MCP servers once they stop being local subprocesses and become real network services.
- 0:14Quick note, this is an AI voice drawn from a Big Iron guide.
- 0:19Links below.
- 0:20Default position first.
- 0:23A SDDO subprocess MCP server is the safe one.
- 0:26The server runs as a child process of the client.
- 0:30Nothing's on the network, nothing to attack.
- 0:33Only move to SSE or streamable HTTP transport when you have a real multi-client, multi-machine need.
- 0:41Don't expose it just because you can.
- 0:43The moment you do go network.
- 0:46Bind to a tailnet or a VLAN scoped interface only never zero, zero, zero, zero, and then enforce that same scoping at the firewall too.
- 0:55Two layers, because a bind setting is one config typo away from wide open.
- 1:00Authenticate regardless of network topology.
- 1:04For variable human identities behind an existing identity provider, use OAuth2, one with PKCE.
- 1:11For a small fixed set of machine identities, use MutualTLS.
- 1:15And a bearer token is an acceptable floor for a single operator setup.
- 1:21Pick per your situation, but pick something.
- 1:24Here's the mental model people get wrong.
- 1:26Being on your tailnet or VLAN is network reachability, not authentication.
- 1:32Both layers are required, and neither substitutes for the other.
- 1:36It's on my private network is not a login.
- 1:38And authentication alone still isn't enough in force per client tool allow lists, ideally at a gateway, so a given client can only call the tools it should.
- 1:49Reachable, authenticated, and scoped all three.
- 1:52The full hardening checklists in the show notes.
- 1:55That's your brief.