~/talk

Secure Your MCP Servers with OAuth, JWT, SPIFFE and More

Talkat apidays Paris 2025 · 2025-12-09..12-11· [security, api-design]
name:Lin Sun
links:none on file
slides:none on file

A working MCP setup shows OAuth2 via Keycloak, JWT claims checked for issuer/audience, and SPIFFE mTLS handled at the gateway so no server code changes are needed; an Agent Gateway fronts multiple MCP servers (including the GitHub MCP server) to add rate limiting, request tracing, and per-role authorization (admin sees echo, user only sees get-time). Live demos run locally and in Kubernetes, with tokens decoded and policy-based multiplexing proving the pattern.

AI-written summary · about

  1. 0:00MCP server challenges
  2. 1:08OAuth and JWT for MCP
  3. 3:41OAuth flow for AI agents
  4. 4:52Live demo OAuth MCP
  5. 10:14MCP gateway OAuth setup
  6. 14:09JWT validation gateway
  7. 15:37Role-based access JWT
  8. 18:29Kubernetes SPIFFE MCP
  9. 23:52Key takeaways MCP gateway
  10. 25:22Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.