~/talk

Securing MCP Servers with Spring AI

TalkinFrenchat Devoxx France 2026 · 2026-04-22..04-24· [ai-assisted-development, security]
slides:none on file

How to build a secure MCP (Model Context Protocol) server using Spring AI and the MCP SDK, with a practical demonstration of adding OAuth2-based access control. Covers OAuth2 integration choices (which grant types to use) and how to restrict feature-level access (e.g., admin-only actions), plus implications for client apps and the OAuth2 authorization server.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25MCP protocol and use cases
  3. 6:20Spring AI app demo
  4. 7:47Turning app into MCP server
  5. 9:13Exposing MCP tools via annotations
  6. 12:23MCP server with LLM client
  7. 14:31Secure MCP tool scheduling
  8. 19:15Secure MCP dependencies
  9. 20:23MCP security challenges
  10. 28:07MCP auth spec evolution
  11. 30:14MCP-compatible auth server setup
  12. 33:01Securing MCP with Spring Security
  13. 36:14Auth and permissions demo
  14. 39:09MCP clients integration
  15. 41:13Developer resources
  16. 42:37Q&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.