Lightning Talk: Effortlessly Integrating Keycloak Authentication To Your MCP Servers
summary
Shows adding Keycloak OpenID Connect auth the hard way by editing a Python MCP server, rebuilding and redeploying, then demonstrates an alternative: place an agent gateway in front of the unchanged server and enforce auth there. Uses a simple echo MCP tool on port 8000, exposes gateway on port 9000, and tests with MCP inspector. Claims no server code changes or redeploys are required; live demo has token caching glitches but the gateway approach secures multiple MCP instances.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 0:41Simple MCP echo server
- 3:16Keycloak auth for MCP servers
- 5:04Gateway for Keycloak auth
- 8:37Live auth flow demo
- 10:49Summary & Q&A
related talks
25mSecure Your MCP Servers With OAuth, JWT, SPIFFE and More
26mSecure Your MCP Servers with OAuth, JWT, SPIFFE and More
32mAI Agents with Keycloak in MCP
17mSponsored Demo: MCP Auth Demo: CIMD With Keycloak
27mMCPIdentity: Keyless MCP Agent Authentication Patterns on Kubernetes With Keycloak…
26mWho Let the Agent In? Securing MCP Servers in Production
27mSimple Control: Managing Multi-Domain MCP Access Via Keycloak IdP With ID-JAG
45mSecuring MCP Servers with Spring AI
